This question is locked. New answers and comments are not allowed.
Hey!
I found out when using RDBLB in horizontal mode, it's MinHeight is set to 100 somewhere, so you can't easily have smaller than 100 units.
What I see in runtime is that my items are 80 units high, and the control is 100 units high.
XamlSpy shows following: MinHeight is set to 100 units. (see attached image).
Setting MinHeight to lower value makes control high of this value, even if items are taller.
Please advice
I found out when using RDBLB in horizontal mode, it's MinHeight is set to 100 somewhere, so you can't easily have smaller than 100 units.
<
telerikPrimitives:RadDataBoundListBox
ItemsSource
=
"{Binding }"
EmptyContentDisplayMode
=
"DataSourceEmpty"
EmptyContentTemplate
=
"{StaticResource DefaultEmptyContentTemplate}"
ItemLoadingTemplate
=
"{StaticResource EmptyDataTemplate}"
ItemTemplate
=
"{StaticResource ItemTemplate}"
Margin
=
"0"
Background
=
"White"
>
<
telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition
>
<
telerikPrimitives:StackVirtualizationStrategyDefinition
Orientation
=
"Horizontal"
/>
</
telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition
>
<
telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation
>
<
telerik:RadFadeAnimation
StartOpacity
=
"0"
EndOpacity
=
"1"
Duration
=
"0:0:1"
/>
</
telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation
>
</
telerikPrimitives:RadDataBoundListBox
>
What I see in runtime is that my items are 80 units high, and the control is 100 units high.
XamlSpy shows following: MinHeight is set to 100 units. (see attached image).
Setting MinHeight to lower value makes control high of this value, even if items are taller.
Please advice