The layout on a monitor with 100%:
After moving the form to a monitor with higher than 100% DPI scaling, e.g. 175% or greater:
Once you switch to the first page which contains exactly the same UserControl, the layout is not correct:
How to reproduce: check the attached project: Workaround: when the form is opened in the designer make sure that all pages are made visible at least ones so the controls are initialized, before attempting to access collection editors via properties window
To reproduce: - Add RadpageView to a form and build the application. - Merge the assemblies with .NET Reactor - Run the new exe file.
To reproduce:
- Implement the example from this page http://www.telerik.com/help/winforms/pageview-how-to-editing-page-tabs.html.
- Set the page text to empty string and click on another page.
Workaround:
subscribe to the editor's element RadPropertyChanging event:
void element_RadPropertyChanging(object sender, RadPropertyChangingEventArgs args)
{
if (args.Property == RadElement.ContainsFocusProperty)
{
if (!(bool)args.NewValue)
{
args.Cancel = true;
}
}
}
Add a Visible property to RadPageView Pages for all modes
FIX. RadPageView when color blending is added, the control flickers.
This feature request refers to RadPageView in Strip ViewMode, which supports a multi-line StripElement. Thus StripItems will appear in different lines.
Under specific circumstances and in Windows 2008 Server environment the RadTabStrip internally used in RadDock does not get a proper size.
Workaround:
bool performLayout = false;
protected override void OnSizeChanged(EventArgs e)
{
base.OnSizeChanged(e);
if (this.WindowState == FormWindowState.Minimized)
{
this.performLayout = true;
}
else if (this.performLayout)
{
//reset padding to force bounds update
this.Padding = new Padding(1);
this.Padding = Padding.Empty;
this.performLayout = false;
}
}
Basically, you need to override the OnSizeChanged method of the main form and first set and then reset its Padding when the it goes from Minimized to another state. This will trigger that internal layout mechanisms of our controls and you will get the RadGridView shown as expected.
Add scroll to a PanelBarGroupElement functionality