के लिए CornerRadius साथ सीमा संपत्ति को अनुकूलित मैं CornerRadius के साथ सीमा के निम्न लिस्टबॉक्स-प्रदर्शन संपत्ति को अनुकूलित करना चाहते हैं = 5..can किसी को भी मेरी मदद निम्नलिखित Xaml कोड में मौजूदा DataTemplate कोड बदले बिना इसे प्राप्त करने के:ListBox
<ListBox x:Uid="lst_value" Name="lstValues" Background="Wheat" BorderBrush="Black"
HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" Height="100" Width="150"
ItemsSource="{Binding listval}" >
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical" Background="{Binding}">
<TextBlock x:Name="txtblk" Foreground="Black" FontSize="10" TextAlignment="Left"
FontWeight="Black" Text="{Binding}" Background="{Binding}"></TextBlock>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
हाँ, हम लिस्टबॉक्स अंदर एक सीमा हर ListItem ... जहां के रूप में के लिए हो सकता है मुझे पूरे सूची बॉक्स के लिए कॉर्नरेडियस के साथ सीमा संपत्ति की आवश्यकता है .... उम्मीद है कि मेरे प्रश्न के साथ स्पष्ट हो .. –
तो आप 'लिस्टबॉक्स' के कोनों को गोल करना चाहते हैं और 'सीमा' है, क्या यह सही है ? –
'ListBoxItems' –