Completed
Last Updated: 17 Apr 2019 10:50 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 26 Aug 2013 08:12
Category: Form
Type: Bug Report
0
FIX. - Title text of RadForm can not be aligned
Description: Text alignment of the title bar caption can not be changed. 

this.FormElement.TitleBar.TitlePrimitive.Alignment = ContentAlignment.MiddleCenter;
2 comments
ADMIN
Dimitar
Posted on: 17 Apr 2019 10:50
Hello Ashish,

The Crystal theme is using a RightToLeft alignment and this is why you need to set the alignment to MiddleRight.

I hope this helps. Should you have any other questions do not hesitate to ask.
 
Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Ashish
Posted on: 17 Apr 2019 00:48

The following code doesn't work for the RadForm's title-text alignment. I am using the Crystal theme.

 

this.FormElement.TitleBar.TitlePrimitive.StretchHorizontally = true;
this.FormElement.TitleBar.TitlePrimitive.TextAlignment = ContentAlignment.MiddleLeft;