File tree Expand file tree Collapse file tree 2 files changed +22
-18
lines changed Expand file tree Collapse file tree 2 files changed +22
-18
lines changed Original file line number Diff line number Diff line change 46
46
</ResourceDictionary >
47
47
</UserControl .Resources>
48
48
<Grid >
49
- <StackPanel Margin =" 16" Orientation =" Horizontal" >
50
- <materialDesign : PackIcon Kind =" Information" VerticalAlignment =" Center" />
51
- <TextBlock Margin =" 8 0 0 0" VerticalAlignment =" Center" >Information Links:</TextBlock >
52
- <ItemsControl Margin =" 16 0 0 0" ItemsSource =" {Binding Documentation}" >
53
- <ItemsControl .ItemsPanel>
54
- <ItemsPanelTemplate >
55
- <StackPanel Orientation =" Horizontal" />
56
- </ItemsPanelTemplate >
57
- </ItemsControl .ItemsPanel>
58
- <ItemsControl .ItemContainerStyle>
59
- <Style TargetType =" ContentPresenter" >
60
- <Setter Property =" Margin" Value =" 0 0 32 0" ></Setter >
61
- </Style >
62
- </ItemsControl .ItemContainerStyle>
63
- </ItemsControl >
64
- </StackPanel >
49
+ <ScrollViewer HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" HorizontalScrollBarVisibility =" Auto" VerticalScrollBarVisibility =" Disabled" >
50
+ <StackPanel Margin =" 16" Orientation =" Horizontal" >
51
+ <materialDesign : PackIcon Kind =" Information" VerticalAlignment =" Center" />
52
+ <TextBlock Margin =" 8 0 0 0" VerticalAlignment =" Center" >Information Links:</TextBlock >
53
+ <ItemsControl Margin =" 16 0 0 0" ItemsSource =" {Binding Documentation}" >
54
+ <ItemsControl .ItemsPanel>
55
+ <ItemsPanelTemplate >
56
+ <StackPanel Orientation =" Horizontal" />
57
+ </ItemsPanelTemplate >
58
+ </ItemsControl .ItemsPanel>
59
+ <ItemsControl .ItemContainerStyle>
60
+ <Style TargetType =" ContentPresenter" >
61
+ <Setter Property =" Margin" Value =" 0 0 32 0" ></Setter >
62
+ </Style >
63
+ </ItemsControl .ItemContainerStyle>
64
+ </ItemsControl >
65
+ </StackPanel >
66
+ </ScrollViewer >
65
67
<Border BorderBrush =" {DynamicResource MaterialDesignDivider}" BorderThickness =" 0 0 0 1" />
66
68
</Grid >
67
69
</UserControl >
Original file line number Diff line number Diff line change 80
80
<domain1 : DocumentationLinks DataContext =" {Binding ElementName=DemoItemsListBox, Path=SelectedItem}"
81
81
Margin =" 0 0 0 16"
82
82
/>
83
- <ContentControl Margin =" 16" Content =" {Binding ElementName=DemoItemsListBox, Path=SelectedItem.Content}"
84
- Grid.Row=" 1" />
83
+ <ScrollViewer Grid.Row=" 1" HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" Padding =" 16"
84
+ HorizontalScrollBarVisibility =" Auto" VerticalScrollBarVisibility =" Auto" >
85
+ <ContentControl Content =" {Binding ElementName=DemoItemsListBox, Path=SelectedItem.Content}" />
86
+ </ScrollViewer >
85
87
<materialDesign : Snackbar MessageQueue =" {materialDesign:MessageQueue}" x : Name =" MainSnackbar"
86
88
Grid.Row=" 1" />
87
89
</Grid >
You can’t perform that action at this time.
0 commit comments