- Jul 31, 2012
- 1
- 0
- 0
<ListBox.ItemTemplate>
<DataTemplate>
<!--<my:dataTemplate />-->
<toolkit:ExpanderView>
<toolkit:ExpanderView.Expander>
<Border BorderThickness="1" >
<Grid Height="65" Width="460">
<TextBlock Text="text"/>
<TextBlock Text="text"/>
<TextBlock Text="text"/>
<Image Margin="344,34,0,0" Name="image1" Width="97" />
</Grid>
</Border>
</toolkit:ExpanderView.Expander>
<toolkit:ExpanderView.Items>
<TextBlock FontSize="20" Text="Expanded Item 1" Foreground="Blue"/>
<TextBlock FontSize="20" Text="Expanded Item 2" Foreground="Red"/>
</toolkit:ExpanderView.Items>
</toolkit:ExpanderView>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
by default im getting an horizontal line as expandable view, please help me in removing the default horizontal line provided by the expandable view, or any alternative which might provide to replace vertical line with an image??
ReplyReply
QuoteQuote
<DataTemplate>
<!--<my:dataTemplate />-->
<toolkit:ExpanderView>
<toolkit:ExpanderView.Expander>
<Border BorderThickness="1" >
<Grid Height="65" Width="460">
<TextBlock Text="text"/>
<TextBlock Text="text"/>
<TextBlock Text="text"/>
<Image Margin="344,34,0,0" Name="image1" Width="97" />
</Grid>
</Border>
</toolkit:ExpanderView.Expander>
<toolkit:ExpanderView.Items>
<TextBlock FontSize="20" Text="Expanded Item 1" Foreground="Blue"/>
<TextBlock FontSize="20" Text="Expanded Item 2" Foreground="Red"/>
</toolkit:ExpanderView.Items>
</toolkit:ExpanderView>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
by default im getting an horizontal line as expandable view, please help me in removing the default horizontal line provided by the expandable view, or any alternative which might provide to replace vertical line with an image??
ReplyReply
QuoteQuote