|
6 | 6 | xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
7 | 7 | xmlns:converters="clr-namespace:MaterialDesignThemes.Wpf.Converters;assembly=MaterialDesignThemes.Wpf"
|
8 | 8 | xmlns:wpfExample="clr-namespace:MaterialDesignColors.WpfExample"
|
9 |
| - TextElement.Foreground="{DynamicResource MaterialDesignBody}" |
10 |
| - Background="{DynamicResource MaterialDesignPaper}" |
11 |
| - FontFamily="{StaticResource MaterialDesignFont}" |
12 | 9 | mc:Ignorable="d"
|
13 | 10 | d:DesignWidth="477" d:DesignHeight="272"
|
14 | 11 | d:DataContext="{d:DesignInstance wpfExample:ProvingGroundViewModel, d:IsDesignTimeCreatable=False}">
|
15 | 12 | <UserControl.Resources>
|
16 | 13 | <ResourceDictionary>
|
17 | 14 | <ResourceDictionary.MergedDictionaries>
|
| 15 | + <!-- |
18 | 16 | <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
|
19 | 17 | <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ProgressBar.xaml" />
|
20 | 18 | <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Slider.xaml" />
|
21 | 19 | <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" />
|
22 | 20 | <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml" />
|
| 21 | + --> |
23 | 22 | </ResourceDictionary.MergedDictionaries>
|
24 | 23 |
|
25 | 24 |
|
|
29 | 28 | </ResourceDictionary>
|
30 | 29 | </UserControl.Resources>
|
31 | 30 |
|
32 |
| - <StackPanel Margin="8"> |
33 |
| - <ListBox Style="{StaticResource MaterialDesignToolToggleListBox}"> |
34 |
| - <ListBoxItem> |
35 |
| - <materialDesign:PackIcon Kind="FormatAlignLeft"/> |
36 |
| - </ListBoxItem> |
37 |
| - <ListBoxItem> |
38 |
| - <materialDesign:PackIcon Kind="FormatAlignCenter"/> |
39 |
| - </ListBoxItem> |
40 |
| - <ListBoxItem> |
41 |
| - <materialDesign:PackIcon Kind="FormatAlignRight"/> |
42 |
| - </ListBoxItem> |
43 |
| - <ListBoxItem> |
44 |
| - <materialDesign:PackIcon Kind="FormatAlignJustify"/> |
45 |
| - </ListBoxItem> |
46 |
| - </ListBox> |
47 |
| - |
48 |
| - <ListBox Style="{StaticResource MaterialDesignToolToggleListBox}" |
49 |
| - SelectionMode="Extended" |
50 |
| - Margin="0 8 0 0"> |
51 |
| - <ListBoxItem> |
52 |
| - <materialDesign:PackIcon Kind="FormatBold"/> |
53 |
| - </ListBoxItem> |
54 |
| - <ListBoxItem> |
55 |
| - <materialDesign:PackIcon Kind="FormatItalic"/> |
56 |
| - </ListBoxItem> |
57 |
| - <ListBoxItem x:Name="UnderlineCheckbox"> |
58 |
| - <materialDesign:PackIcon Kind="FormatUnderline"/> |
59 |
| - </ListBoxItem> |
60 |
| - </ListBox> |
61 |
| - |
62 |
| - <CheckBox IsChecked="{Binding ElementName=UnderlineCheckbox, Path=IsSelected}">Underline?</CheckBox> |
63 |
| - |
64 |
| - <materialDesign:TimePicker Margin="0 16 0 0" SelectedTime="{Binding SelectedTime}" HorizontalAlignment="Left" /> |
65 |
| - |
66 |
| - </StackPanel> |
| 31 | + <Grid> |
| 32 | + <Expander Header="This is My Header" IsExpanded="True" HorizontalContentAlignment="Center"> |
| 33 | + <TextBlock>Hello World</TextBlock> |
| 34 | + </Expander> |
| 35 | + </Grid> |
67 | 36 |
|
68 | 37 | </UserControl>
|
0 commit comments