This question is locked. New answers and comments are not allowed.
1. I use DataBoundListBox
2. I use datatemplate selector in this control.
3. if I use datatemplate selector for items in this, the items aren't 100% screen width (horizontal aligment stretch)
4. Qestion is What I should to do?
In normal ListBox I can:
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
</Style>
</ListBox.ItemContainerStyle>
but code bellow doesn't work
<telerikPrimitives:RadDataBoundListBox.ItemContainerStyle>
<Style TargetType="telerikPrimitives:RadDataBoundListBoxItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
</Style>
</telerikPrimitives:RadDataBoundListBox.ItemContainerStyle>
2. I use datatemplate selector in this control.
3. if I use datatemplate selector for items in this, the items aren't 100% screen width (horizontal aligment stretch)
4. Qestion is What I should to do?
In normal ListBox I can:
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
</Style>
</ListBox.ItemContainerStyle>
but code bellow doesn't work
<telerikPrimitives:RadDataBoundListBox.ItemContainerStyle>
<Style TargetType="telerikPrimitives:RadDataBoundListBoxItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
</Style>
</telerikPrimitives:RadDataBoundListBox.ItemContainerStyle>