Hi,
The status is changed to declined as the behavior is not related to the DataForm control.
The correct way to align the text in the group header is as follow:
this.dataForm.GroupGenerated += (sender, eventArgs) =>
{
eventArgs.Group.HeaderLabelStyle = new Style(typeof(Label))
{
Setters =
{
new Setter
{
Property = Label.HorizontalTextAlignmentProperty,
Value = TextAlignment.Center
},
new Setter
{
Property = Label.VerticalTextAlignmentProperty,
Value = TextAlignment.Center
}
}
};
};Regards,
Didi
Progress Telerik
Workaround:
Set the style and groups in xaml
Regards,
Didi
Progress Telerik