|
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
5 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
6 |
| - xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf" |
7 |
| - xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters;assembly=MaterialDesignThemes.Wpf" |
8 |
| - xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2" |
9 | 6 | x:Class="MaterialDesignColors.WpfExample.ProvingGround"
|
| 7 | + TextElement.Foreground="{DynamicResource MaterialDesignBody}" |
| 8 | + Background="{DynamicResource MaterialDesignPaper}" |
10 | 9 | FontFamily="pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto"
|
11 | 10 | mc:Ignorable="d"
|
12 |
| - Background="{DynamicResource MaterialDesignPaper}" d:DesignWidth="340" d:DesignHeight="635"> |
| 11 | + d:DesignWidth="340" d:DesignHeight="635"> |
13 | 12 | <UserControl.Resources>
|
14 | 13 | <ResourceDictionary>
|
15 | 14 | <ResourceDictionary.MergedDictionaries>
|
|
49 | 48 | <SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent700Foreground}"/>
|
50 | 49 | </ResourceDictionary>
|
51 | 50 | </ResourceDictionary.MergedDictionaries>
|
| 51 | + |
52 | 52 |
|
53 | 53 | </ResourceDictionary>
|
54 | 54 |
|
55 | 55 | </UserControl.Resources>
|
56 | 56 |
|
57 |
| - <!-- |
58 |
| - <wpf:ListSortDirectionIndicator Width="24" Height="24" Style="{DynamicResource MaterialDesignListSortDirectionIndicator}" ListSortDirection="Descending" /> |
59 |
| - --> |
60 |
| - <DataGrid ItemsSource="{Binding Items}" CanUserAddRows="False" CanUserSortColumns="True"> |
61 |
| - |
62 |
| - </DataGrid> |
63 |
| - |
64 |
| - |
| 57 | + <Grid> |
| 58 | + <Grid.ColumnDefinitions> |
| 59 | + <ColumnDefinition Width="1*" /> |
| 60 | + <ColumnDefinition Width="1*" /> |
| 61 | + </Grid.ColumnDefinitions> |
| 62 | + <ScrollBar Orientation="Vertical" Style="{DynamicResource MaterialDesignScrollBar}" |
| 63 | + Grid.Column="0" |
| 64 | + HorizontalAlignment="Left" |
| 65 | + /> |
| 66 | + <ScrollBar Orientation="Vertical" Style="{DynamicResource MaterialDesignScrollBar}" |
| 67 | + IsEnabled="False" |
| 68 | + Grid.Column="0" |
| 69 | + HorizontalAlignment="Right" |
| 70 | + /> |
| 71 | + <ScrollBar Orientation="Horizontal" Style="{DynamicResource MaterialDesignScrollBar}" |
| 72 | + Grid.Column="1" |
| 73 | + VerticalAlignment="Top" |
| 74 | + /> |
| 75 | + <ScrollBar Orientation="Horizontal" Style="{DynamicResource MaterialDesignScrollBar}" |
| 76 | + IsEnabled="False" |
| 77 | + Grid.Column="1" |
| 78 | + VerticalAlignment="Bottom" |
| 79 | + /> |
| 80 | + </Grid> |
| 81 | + |
65 | 82 | </UserControl>
|
0 commit comments