|
21 | 21 | <system:String x:Key="PageCsharpUrl">https://github.com/lepoco/wpfui/blob/development/src/Wpf.Ui/Controls/Expander.cs</system:String>
|
22 | 22 | </Page.Resources>
|
23 | 23 | <Grid>
|
24 |
| - <ui:DynamicScrollViewer |
25 |
| - x:Name="PageScrollViewer" |
26 |
| - HorizontalAlignment="Stretch" |
27 |
| - VerticalAlignment="Stretch"> |
28 |
| - <Grid> |
29 |
| - <Grid.ColumnDefinitions> |
30 |
| - <ColumnDefinition Width="*" /> |
31 |
| - <ColumnDefinition Width="280" /> |
32 |
| - </Grid.ColumnDefinitions> |
33 |
| - <Grid Grid.Column="0" Margin="42"> |
34 |
| - <Grid.RowDefinitions> |
35 |
| - <RowDefinition Height="Auto" /> |
36 |
| - </Grid.RowDefinitions> |
| 24 | + <Grid.ColumnDefinitions> |
| 25 | + <ColumnDefinition Width="*" /> |
| 26 | + <ColumnDefinition Width="280" /> |
| 27 | + </Grid.ColumnDefinitions> |
37 | 28 |
|
38 |
| - <controls:GalleryControlPresenter |
39 |
| - Grid.Row="0" |
40 |
| - Margin="0" |
41 |
| - CodeText="<Expander Header="This text is in the header" Content="This is in the content" />" |
42 |
| - HeaderText="An Expander with text in the header and content areas"> |
43 |
| - <Grid> |
44 |
| - <Grid.ColumnDefinitions> |
45 |
| - <ColumnDefinition Width="*" /> |
46 |
| - <ColumnDefinition Width="Auto" /> |
47 |
| - </Grid.ColumnDefinitions> |
48 |
| - <Expander |
49 |
| - Grid.Column="0" |
50 |
| - Content="This is in the content" |
51 |
| - Header="This text is in the header" /> |
| 29 | + <Grid Grid.Column="0"> |
| 30 | + <Grid.RowDefinitions> |
| 31 | + <RowDefinition Height="Auto" /> |
| 32 | + </Grid.RowDefinitions> |
52 | 33 |
|
53 |
| - <!-- TODO: ExpandDirection --> |
54 |
| - </Grid> |
55 |
| - </controls:GalleryControlPresenter> |
| 34 | + <controls:GalleryControlPresenter |
| 35 | + Grid.Row="0" |
| 36 | + Margin="0" |
| 37 | + CodeText="<Expander Header="This text is in the header" Content="This is in the content" />" |
| 38 | + HeaderText="An Expander with text in the header and content areas"> |
| 39 | + <Grid> |
| 40 | + <Grid.ColumnDefinitions> |
| 41 | + <ColumnDefinition Width="*" /> |
| 42 | + <ColumnDefinition Width="Auto" /> |
| 43 | + </Grid.ColumnDefinitions> |
| 44 | + <Expander |
| 45 | + Grid.Column="0" |
| 46 | + Content="This is in the content" |
| 47 | + Header="This text is in the header" /> |
| 48 | + |
| 49 | + <!-- TODO: ExpandDirection --> |
56 | 50 | </Grid>
|
57 |
| - </Grid> |
58 |
| - </ui:DynamicScrollViewer> |
59 |
| - <controls:ControlDocumentationSummary CsharpUrl="{StaticResource PageCsharpUrl}" XamlUrl="{StaticResource PageXamlUrl}" /> |
| 51 | + </controls:GalleryControlPresenter> |
| 52 | + </Grid> |
| 53 | + |
| 54 | + <controls:ControlDocumentationSummary |
| 55 | + Grid.Column="1" |
| 56 | + Margin="42,0,0,0" |
| 57 | + CsharpUrl="{StaticResource PageCsharpUrl}" |
| 58 | + XamlUrl="{StaticResource PageXamlUrl}" /> |
60 | 59 | </Grid>
|
61 | 60 | </Page>
|
0 commit comments