To reproduce:
- .NET Core version: 3.1
- Visual Studio 2022: Version 17.0.0 Preview 7.0
- Telerik UI for WinForms version: 2021.3.1019-hotfix
1. Create a new Excel-Inspared template project.
2. Select the Review tab and the Properties section try to open the Items collection.
The attached Error.gif illustrates the steps.
Workaround: use the Smart tag (see SmartTag.gif)
The snap layouts window can be opened by using the Win+Z keyboard combination, but when the mouse is over the Maximize button of RadForm, the window is not shown.
MSDN information is available here: https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/apply-snap-layout-menu
Following the guides from MSDN, we need to override the WndProc method of the form, listen to the WM_NCHITTEST message, and return HTMAXBUTTON result when the mouse is over the maximize button.
private const int HTMAXBUTTON = 9;
protected override void WndProc(ref Message m)
{
if (m.Msg == NativeMethods.WM_NCHITTEST)
{
// Get the hit test location from message parameters
Point location = this.ParseIntPtr(m.LParam);
location = this.GetMappedWindowPoint(location);
// Get the hit tested element and check if it is the Maximize button
RadElement element = this.ElementTree.GetElementAtPoint(location);
if (element == this.FormElement.TitleBar.MaximizeButton)
{
m.Result = new IntPtr(HTMAXBUTTON);
return;
}
}
base.WndProc(ref m);
}
private Point ParseIntPtr(IntPtr param)
{
if (IntPtr.Size == 4) //x86
{
return new Point(param.ToInt32());
}
else //x64
{
long intParam = param.ToInt64();
short x = (short)intParam;
short y = (short)(intParam >> 16);
return new Point(x, y);
}
}
protected virtual Point GetMappedWindowPoint(Point screenPoint)
{
NativeMethods.POINT inputPoint = new NativeMethods.POINT();
inputPoint.x = screenPoint.X;
inputPoint.y = screenPoint.Y;
if (this.IsHandleCreated)
{
NativeMethods.MapWindowPoints(new HandleRef(this, IntPtr.Zero), new HandleRef(this, this.Handle), inputPoint, 1);
}
return new Point(
inputPoint.x + this.FormBehavior.ClientMargin.Left,
inputPoint.y + this.FormBehavior.ClientMargin.Top);
}
1. Run Telerik Theme Viewer app
2. Set Office2019Dark theme
3. Navigate to "Item Containers" tab
You will see that radTreeView does not display nodes.
Workaround:
this.radTreeView1.FullRowSelect = false;
1. Set ThemeResolutionService.AllowAnimations = false;
2. Run the attached project and set a filter via the GridFilterButton popup
3. Click "Clear filter" option in the GridFilterButton popup
You will see that the GirdFilterButton visual indication is of an applied filter. However, there is no applied filter.
You will see that GraphicalView doesn't move but TextView loses task position and scrolls to the top.
Note that using mouse Scroll refreshes the correct position of TextView on the selected task.
When we have start position set to center screen:
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
RadForm does not calculate the correct location of the form on HDPI devices.
Hello support,
i use the radBrowseEditor.
Here the code:
private readonly string ActualPath_LiteDB = "";
public F_ApplicationsSettings()
{
InitializeComponent();
//set up actual paths
ActualPath_LiteDB = Settings.PathToLogLiteDB;
radBrowseEditor_db_path.Value = ActualPath_LiteDB;
this.Text = F_Translations.GetTranslationText("settings");
}
When i set the DialogType to FolderBrowseDialog the initial directory the its working:
But if i set it the DialogType to RadOpenFolderDialog its not working. Its always showing the Desktop folder:
This doesn't work in both .NET Framework and .NET 5.
Add a RadForm and set its AutoScroll property to true at design time. When you add any controls that are located outside the form's size a scroll bar appears. However, it seems to be disabled and the user is not allowed to scroll at design time.
Hello Telerik Team,
our Customor works primary on Microsoft Surfaces. These scales on 200 %.
We use AutoScaleMode DPI and all is fine, except the Ribbon Bar. It cuts the ribbon Bar in half, if it's normally collapsed.
We didn't find any solution to fix this.
Interesting is the Resizing of the Bar. if you move it between to monitors
Maybe it's only a configuration we didn't found yet, maybe it's really a bug.
And a second question: If we maximize the Window, the TitleText hides. Is it possible to show the TitleText in maximized mode too.