Is it possible to resize RadListBox items with a GridSplitter?
The following code doesn't work but shows what I want to achieve:
The following code doesn't work but shows what I want to achieve:
<
telerik:RadListBox
ItemsSource
=
"{Binding MyCollection}"
>
<
telerik:RadListBox.ItemsPanel
>
<
ItemsPanelTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
/>
</
ItemsPanelTemplate
>
</
telerik:RadListBox.ItemsPanel
>
<
telerik:RadListBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
>
<
TextBlock
Text
=
"{Binding MyTextProperty}"
Margin
=
"0,0,10,0"
/>
<
GridSplitter
Width
=
"5"
Background
=
"Red"
HorizontalAlignment
=
"Right"
ResizeBehavior
=
"CurrentAndNext"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadListBox.ItemTemplate
>
</
telerik:RadListBox
>