Hello, Im using this code:
<telerik:RadListBox Name="testlv" SelectionChanged="testlv_SelectionChanged" telerik:StyleManager.Theme="Windows8Touch">
<telerik:RadListBox.Resources>
<Style TargetType="ScrollBar">
<Setter Property="telerik:StyleManager.Theme" Value="Windows8Touch" />
<Setter Property="MinWidth" Value="40" />
<Setter Property="MinHeight" Value="40" />
</Style>
</telerik:RadListBox.Resources>
<telerik:RadListBox.ItemTemplate>
<DataTemplate>
<Border BorderBrush="Turquoise" BorderThickness="0,0,0,1" Width="{Binding Path=ActualWidth, ElementName=grdzero}">
<WrapPanel Orientation="Vertical" >
<TextBlock Foreground="Black" Text="{Binding nazwa}" FontSize="16"></TextBlock>
<WrapPanel Orientation="Horizontal">
<TextBlock Foreground="Black" Text="Cena: " FontSize="16"></TextBlock>
<TextBlock Foreground="Black" Text="{Binding cena}" FontSize="16"></TextBlock>
</WrapPanel>
<WrapPanel Orientation="Horizontal">
<TextBlock Foreground="Black" Text="Kod: " FontSize="16"></TextBlock>
<TextBlock Foreground="Black" Text="{Binding kod}" FontSize="16"></TextBlock>
</WrapPanel>
</WrapPanel>
</Border>
</DataTemplate>
</telerik:RadListBox.ItemTemplate>
</telerik:RadListBox>
And I'd like to change width and height of scrollbar to value equal 40. How can I do it? (At this momment scrollbars are too small and cant be really touch by finger and scroll down).
Thanks in advance!
<telerik:RadListBox Name="testlv" SelectionChanged="testlv_SelectionChanged" telerik:StyleManager.Theme="Windows8Touch">
<telerik:RadListBox.Resources>
<Style TargetType="ScrollBar">
<Setter Property="telerik:StyleManager.Theme" Value="Windows8Touch" />
<Setter Property="MinWidth" Value="40" />
<Setter Property="MinHeight" Value="40" />
</Style>
</telerik:RadListBox.Resources>
<telerik:RadListBox.ItemTemplate>
<DataTemplate>
<Border BorderBrush="Turquoise" BorderThickness="0,0,0,1" Width="{Binding Path=ActualWidth, ElementName=grdzero}">
<WrapPanel Orientation="Vertical" >
<TextBlock Foreground="Black" Text="{Binding nazwa}" FontSize="16"></TextBlock>
<WrapPanel Orientation="Horizontal">
<TextBlock Foreground="Black" Text="Cena: " FontSize="16"></TextBlock>
<TextBlock Foreground="Black" Text="{Binding cena}" FontSize="16"></TextBlock>
</WrapPanel>
<WrapPanel Orientation="Horizontal">
<TextBlock Foreground="Black" Text="Kod: " FontSize="16"></TextBlock>
<TextBlock Foreground="Black" Text="{Binding kod}" FontSize="16"></TextBlock>
</WrapPanel>
</WrapPanel>
</Border>
</DataTemplate>
</telerik:RadListBox.ItemTemplate>
</telerik:RadListBox>
And I'd like to change width and height of scrollbar to value equal 40. How can I do it? (At this momment scrollbars are too small and cant be really touch by finger and scroll down).
Thanks in advance!