XAML Code to work with Expander Control

Abhisek
Posted by Abhisek under WPF category on | Views : 3710
<Window x:Class="Expander.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Expander Use" Height="300" Width="300">
<Grid>
<StackPanel Margin="10,10,11,13" Name="stackPanel1">
<TextBlock>
Use Of WPF
</TextBlock>
<Expander Header="Click To Explore More">
<Border Height="200" Width="200" Background="Green" >
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FlowDirection="LeftToRight" AllowDrop="False" Focusable="False" TextAlignment="Center" TextTrimming="None" TextWrapping="Wrap">
3D,
Animation,
Multimedia Support
</TextBlock>
</Border>
</Expander>
</StackPanel>
</Grid>
</Window>

Comments or Responses

Login to post response