Thank you for writing.
The text element responsible for the caption is located in a panel which is stretched horizontally. This way the caption starts always from the left and the buttons are located on the other end to the right.
You can access the caption element and adjust its location by setting its PositionOffset
.radDesktopAlert1.Popup.PopupOpened += Popup_PopupOpened;
sender, EventArgs args)
AlertWindowTextAndSystemButtonsElement captionParent =
TextPrimitive captionElement = captionParent.TextElement;
offset = captionParent.Size.Width / 2 - captionElement.Size.Width / 2;
I hope this helps. Should you have further questions please do not hesitate to write back.
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post
and share your thoughts.