1) Is there anyway to make the label appear on the right hand side?
2) The label does not use all the available space. The label and the box seems to only occupy half the width. For example, I have a Grid inside DataTemplate. The width of a column is 400. However, if I try to put DataFormCheckBoxField with label "Appointment Contact", the second word "Contact" will actually wrap down despite plenty of space available. I have to increase the width of the column to 450 to have it working, but then now I have lots of wasted space.
2) The label does not use all the available space. The label and the box seems to only occupy half the width. For example, I have a Grid inside DataTemplate. The width of a column is 400. However, if I try to put DataFormCheckBoxField with label "Appointment Contact", the second word "Contact" will actually wrap down despite plenty of space available. I have to increase the width of the column to 450 to have it working, but then now I have lots of wasted space.
<
telerik:RadDataForm
AutoGenerateFields
=
"False"
>
<
telerik:RadDataForm.ReadOnlyTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"450"
/>
</
Grid.ColumnDefinitions
>
<
StackPanel
Orientation
=
"Vertical"
>
<
telerik:DataFormDataField
Label
=
"Last Name:"
IsEnabled
=
"False"
/>
<
telerik:DataFormDataField
Label
=
"First Name:"
IsEnabled
=
"False"
/>
<
telerik:DataFormDataField
Label
=
"Birthdate:"
IsEnabled
=
"False"
/>
<
telerik:DataFormDataField
Label
=
"Gender:"
IsEnabled
=
"False"
/>
</
StackPanel
>
<
StackPanel
Orientation
=
"Vertical"
Grid.Column
=
"1"
>
<
telerik:DataFormCheckBoxField
IsEnabled
=
"False"
Label
=
"Appointment Contact"
FlowDirection
=
"RightToLeft"
HorizontalAlignment
=
"Left"
HorizontalContentAlignment
=
"Left"
/>
<
telerik:DataFormCheckBoxField
IsEnabled
=
"False"
Label
=
"Do not Call"
FlowDirection
=
"RightToLeft"
HorizontalAlignment
=
"Left"
/>
</
StackPanel
>
</
Grid
>
</
DataTemplate
>
</
telerik:RadDataForm.ReadOnlyTemplate
>
</
telerik:RadDataForm
>