Hello,
when I use a column bound to a Boolean value, the TextAlignment property has no effect, even when the Boolean value is converted to a string using a converter.
Patrick
3 Answers, 1 is accepted
0
Nick
Telerik team
answered on 20 Mar 2013, 03:05 PM
Hello Patrick,
This is a known issue that has a trivial solution. You can create a style for the GridViewCell in that Column and set the ContentHorizontalAlignment instead.
The problem is that the TextAlignment property is used when the column is bound to a text property and that isn't the case with the boolean values.
Nik,
first, if I use a converter to convert the Boolean value to a String, the type of the column is a String, not a Boolean.
Second, it would be much more interesting to have a ContentHorizontalAlignment property instead of a TextAlignment property. Such a property could be use for any column type...
Patrick
0
Nick
Telerik team
answered on 03 Apr 2013, 11:28 AM
Hi Patrick,
Thank you for your feedback. We will consider the suggestion for our future releases.