1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| <ScrollViewer CanContentScroll="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" VerticalAlignment="Stretch">
<Grid x:Name="root" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="10" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Expander IsExpanded="True" Name="Expander_Splitter" Margin="0" BorderBrush="#FF707070" Background="#FFDFDFDF">
<Expander.Header>
<TextBlock FontWeight="Bold">Splitter</TextBlock>
</Expander.Header>
<Grid Background="White">
<Button Content="Browse" Height="23" HorizontalAlignment="Left" Margin="6,35,0,4" VerticalAlignment="Top" Width="50" />
<Button Content="Generate" HorizontalAlignment="Right" Margin="0,35,6,4" Width="77" FontWeight="Bold" Height="23" VerticalAlignment="Top" />
<TextBox Margin="6,6,6,0" Height="23" VerticalAlignment="Top" />
</Grid>
</Expander>
<GridSplitter Grid.Row="1" Height="4" Background="LightGray" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ResizeBehavior="PreviousAndNext" />
<Expander IsExpanded="True" Grid.Row="2" Margin="0" Name="Expander_SongName" BorderBrush="#FF707070" Background="#FFDFDFDF">
<Expander.Header>
<TextBlock FontWeight="Bold">Song Name</TextBlock>
</Expander.Header>
<Grid Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="62" />
<RowDefinition Height="*" />
<RowDefinition Height="29" />
</Grid.RowDefinitions>
<Button Content="Browse" Height="23" HorizontalAlignment="Left" Margin="6,35,0,0" VerticalAlignment="Top" Width="50" />
<TextBox Margin="6,6,0,0" Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="133" />
<ListBox Name="listBox1" Margin="4,0,4,0" Grid.Row="1" MinHeight="160" >
</ListBox>
<Button Content="RENAME" Grid.Row="2" HorizontalAlignment="Left" Margin="6,0,0,4" Height="23" Name="button1" Width="75" />
</Grid>
</Expander>
</Grid>
</ScrollViewer> |
Partager