I want to display checkbox with text next to each other. But the solution below does not work. Only Checkbox is displayed. What is wrong?
<
telerik:GridViewCheckBoxColumn
DataMemberBinding
=
"{Binding IsChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
IsReadOnlyBinding
=
"{Binding Unavailable}"
EditTriggers
=
"CellClick"
Header
=
"Check"
Width
=
"Auto"
>
<
telerik:GridViewCheckBoxColumn.CellTemplate
>
<
DataTemplate
DataType
=
"{x:Type views:ItemList}"
>
<
Grid
>
<
CheckBox
IsChecked
=
"{Binding IsChecked}"
IsEnabled
=
"{Binding Unavailable, Converter={StaticResource InverseBooleanConverter}}"
Command
=
"{.....}, Path=Data}"
CommandParameter
=
"{...}"
>
<
CheckBox.Content
>
<
TextBlock
Text
=
"{Binding Status, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
TextAlignment
=
"Right"
></
TextBlock
>
</
CheckBox.Content
>
</
CheckBox
>
</
Grid
>
</
DataTemplate
>
....