diff --git a/src/library/Uno.Material.WinUI.Markup/Uno.Material.WinUI.Markup.csproj b/src/library/Uno.Material.WinUI.Markup/Uno.Material.WinUI.Markup.csproj
index 0507deb9e..bef70c77e 100644
--- a/src/library/Uno.Material.WinUI.Markup/Uno.Material.WinUI.Markup.csproj
+++ b/src/library/Uno.Material.WinUI.Markup/Uno.Material.WinUI.Markup.csproj
@@ -19,7 +19,7 @@
-
+
diff --git a/src/library/Uno.Material/Styles/Controls/v2/CalendarView.xaml b/src/library/Uno.Material/Styles/Controls/v2/CalendarView.xaml
index 55bcd7412..2f01db870 100644
--- a/src/library/Uno.Material/Styles/Controls/v2/CalendarView.xaml
+++ b/src/library/Uno.Material/Styles/Controls/v2/CalendarView.xaml
@@ -7,10 +7,10 @@
mc:Ignorable="not_win">
M0,0L32,0 16,19.745z
-
-
@@ -31,9 +31,9 @@
+ Value="{StaticResource MaterialCalendarViewTodayForeground}" />
+ Value="{StaticResource MaterialCalendarViewBlackoutForeground}" />
+
@@ -82,6 +83,7 @@
+
@@ -106,6 +108,7 @@
+
@@ -127,7 +130,6 @@
-
@@ -202,6 +204,7 @@
+
@@ -219,6 +222,7 @@
+
@@ -243,6 +247,8 @@
+
+
@@ -264,7 +270,6 @@
-
@@ -514,7 +519,9 @@
+
+
@@ -536,7 +543,7 @@
Stretch="Uniform"
Width="{ThemeResource CheckBoxFocusAreaSize}"
Height="{ThemeResource CheckBoxFocusAreaSize}"
- Fill="{ThemeResource CheckBoxStateCircleFillUnchecked}"
+ Fill="Transparent"
Visibility="{Binding IsChecked, RelativeSource={RelativeSource Mode=TemplatedParent}, Converter={StaticResource CheckBoxIsCheckedToFocusStateCircleCollapsed}, TargetNullValue=Collapsed, FallbackValue=Collapsed}"
IsHitTestVisible="False"
Opacity="0" />
@@ -547,7 +554,7 @@
Stretch="Uniform"
Width="{ThemeResource CheckBoxFocusAreaSize}"
Height="{ThemeResource CheckBoxFocusAreaSize}"
- Fill="{ThemeResource CheckBoxStateCircleFillChecked}"
+ Fill="Transparent"
Visibility="{Binding IsChecked, RelativeSource={RelativeSource Mode=TemplatedParent}, Converter={StaticResource CheckBoxIsCheckedToFocusStateCircleVisible}, TargetNullValue=Collapsed, FallbackValue=Collapsed}"
IsHitTestVisible="False"
Opacity="0" />
@@ -558,7 +565,7 @@
Stretch="Uniform"
Width="{ThemeResource CheckBoxFocusAreaSize}"
Height="{ThemeResource CheckBoxFocusAreaSize}"
- Fill="{ThemeResource CheckBoxStateCircleFillChecked}"
+ Fill="Transparent"
IsHitTestVisible="False"
Opacity="0" />
@@ -568,13 +575,13 @@
CornerRadius="{TemplateBinding CornerRadius}">
Default = new("ElevatedButtonBackground");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackground")]
+ public static ThemeResourceKey Default => new("ElevatedButtonBackground");
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundPointerOver")]
- public ThemeResourceKey PointerOver = new("ElevatedButtonBackgroundPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("ElevatedButtonBackgroundPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundPressed")]
- public ThemeResourceKey Pressed = new("ElevatedButtonBackgroundPressed");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("ElevatedButtonBackgroundPressed");
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundDisabled")]
- public ThemeResourceKey Disabled = new("ElevatedButtonBackgroundDisabled");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundDisabled")]
+ public static ThemeResourceKey Disabled => new("ElevatedButtonBackgroundDisabled");
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundFocused")]
- public ThemeResourceKey Focused = new("ElevatedButtonBackgroundFocused");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("ElevatedButtonBackgroundFocused");
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundPointerFocused")]
- public ThemeResourceKey PointerFocused = new("ElevatedButtonBackgroundPointerFocused");
-
- public static implicit operator ThemeResourceKey(BackgroundVSG self) => self.Default;
- }
-
- public static readonly BorderBrushVSG BorderBrush = new();
- public partial class BorderBrushVSG
- {
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrush")]
- public ThemeResourceKey Default = new("ElevatedButtonBorderBrush");
-
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushPointerOver")]
- public ThemeResourceKey PointerOver = new("ElevatedButtonBorderBrushPointerOver");
-
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushPressed")]
- public ThemeResourceKey Pressed = new("ElevatedButtonBorderBrushPressed");
-
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushDisabled")]
- public ThemeResourceKey Disabled = new("ElevatedButtonBorderBrushDisabled");
-
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushFocused")]
- public ThemeResourceKey Focused = new("ElevatedButtonBorderBrushFocused");
-
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushPointerFocused")]
- public ThemeResourceKey PointerFocused = new("ElevatedButtonBorderBrushPointerFocused");
-
- public static implicit operator ThemeResourceKey(BorderBrushVSG self) => self.Default;
- }
-
- public static readonly ElevationVSG Elevation = new();
- public partial class ElevationVSG
- {
- [ResourceKeyDefinition(typeof(double), "ElevatedButtonElevation")]
- public ThemeResourceKey Default = new("ElevatedButtonElevation");
-
- [ResourceKeyDefinition(typeof(double), "ElevatedButtonElevationDisabled")]
- public ThemeResourceKey Disabled = new("ElevatedButtonElevationDisabled");
-
- public static implicit operator ThemeResourceKey(ElevationVSG self) => self.Default;
- }
-
- public static readonly MarginVSG Margin = new();
- public partial class MarginVSG
- {
- [ResourceKeyDefinition(typeof(Thickness), "ElevatedButtonMargin")]
- public ThemeResourceKey Default = new("ElevatedButtonMargin");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("ElevatedButtonBackgroundPointerFocused");
+ }
- [ResourceKeyDefinition(typeof(Thickness), "ElevatedButtonDisabledMargin")]
- public ThemeResourceKey Disabled = new("ElevatedButtonDisabledMargin");
+ public static partial class BorderBrush
+ {
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrush")]
+ public static ThemeResourceKey Default => new("ElevatedButtonBorderBrush");
- public static implicit operator ThemeResourceKey(MarginVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushPointerOver")]
+ public static ThemeResourceKey PointerOver => new("ElevatedButtonBorderBrushPointerOver");
- public static partial class StateLayerBackground
- {
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonStateLayerBackgroundPointerOver")]
- public static ThemeResourceKey PointerOver => new("ElevatedButtonStateLayerBackgroundPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushPressed")]
+ public static ThemeResourceKey Pressed => new("ElevatedButtonBorderBrushPressed");
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonStateLayerBackgroundPressed")]
- public static ThemeResourceKey Pressed => new("ElevatedButtonStateLayerBackgroundPressed");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushDisabled")]
+ public static ThemeResourceKey Disabled => new("ElevatedButtonBorderBrushDisabled");
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonStateLayerBackgroundFocused")]
- public static ThemeResourceKey Focused => new("ElevatedButtonStateLayerBackgroundFocused");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushFocused")]
+ public static ThemeResourceKey Focused => new("ElevatedButtonBorderBrushFocused");
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonStateLayerBackgroundPointerFocused")]
- public static ThemeResourceKey PointerFocused => new("ElevatedButtonStateLayerBackgroundPointerFocused");
- }
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonBorderBrushPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("ElevatedButtonBorderBrushPointerFocused");
+ }
- [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonForeground")]
- public static ThemeResourceKey Foreground => new("ElevatedButtonForeground");
+ public static partial class Elevation
+ {
+ [ResourceKeyDefinition(typeof(double), "ElevatedButtonElevation")]
+ public static ThemeResourceKey Default => new("ElevatedButtonElevation");
- [ResourceKeyDefinition(typeof(bool), "ElevatedButtonIsTintEnabled")]
- public static StaticResourceKey IsTintEnabled => new("ElevatedButtonIsTintEnabled");
+ [ResourceKeyDefinition(typeof(double), "ElevatedButtonElevationDisabled")]
+ public static ThemeResourceKey Disabled => new("ElevatedButtonElevationDisabled");
}
- public static partial class Filled
+ public static partial class Margin
{
- public static readonly BackgroundVSG Background = new();
- public partial class BackgroundVSG
- {
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackground")]
- public ThemeResourceKey Default = new("FilledButtonBackground");
+ [ResourceKeyDefinition(typeof(Thickness), "ElevatedButtonMargin")]
+ public static ThemeResourceKey Default => new("ElevatedButtonMargin");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundPointerOver")]
- public ThemeResourceKey PointerOver = new("FilledButtonBackgroundPointerOver");
-
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundPressed")]
- public ThemeResourceKey Pressed = new("FilledButtonBackgroundPressed");
+ [ResourceKeyDefinition(typeof(Thickness), "ElevatedButtonDisabledMargin")]
+ public static ThemeResourceKey Disabled => new("ElevatedButtonDisabledMargin");
+ }
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundDisabled")]
- public ThemeResourceKey Disabled = new("FilledButtonBackgroundDisabled");
+ public static partial class StateLayerBackground
+ {
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonStateLayerBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("ElevatedButtonStateLayerBackgroundPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundFocused")]
- public ThemeResourceKey Focused = new("FilledButtonBackgroundFocused");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonStateLayerBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("ElevatedButtonStateLayerBackgroundPressed");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundPointerFocused")]
- public ThemeResourceKey PointerFocused = new("FilledButtonBackgroundPointerFocused");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonStateLayerBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("ElevatedButtonStateLayerBackgroundFocused");
- public static implicit operator ThemeResourceKey(BackgroundVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonStateLayerBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("ElevatedButtonStateLayerBackgroundPointerFocused");
+ }
- public static readonly BorderBrushVSG BorderBrush = new();
- public partial class BorderBrushVSG
- {
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrush")]
- public ThemeResourceKey Default = new("FilledButtonBorderBrush");
+ [ResourceKeyDefinition(typeof(Brush), "ElevatedButtonForeground")]
+ public static ThemeResourceKey Foreground => new("ElevatedButtonForeground");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushPointerOver")]
- public ThemeResourceKey PointerOver = new("FilledButtonBorderBrushPointerOver");
+ [ResourceKeyDefinition(typeof(bool), "ElevatedButtonIsTintEnabled")]
+ public static StaticResourceKey IsTintEnabled => new("ElevatedButtonIsTintEnabled");
+ }
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushPressed")]
- public ThemeResourceKey Pressed = new("FilledButtonBorderBrushPressed");
+ public static partial class Filled
+ {
+ public static partial class Background
+ {
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackground")]
+ public static ThemeResourceKey Default => new("FilledButtonBackground");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushDisabled")]
- public ThemeResourceKey Disabled = new("FilledButtonBorderBrushDisabled");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("FilledButtonBackgroundPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushFocused")]
- public ThemeResourceKey Focused = new("FilledButtonBorderBrushFocused");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("FilledButtonBackgroundPressed");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushPointerFocused")]
- public ThemeResourceKey PointerFocused = new("FilledButtonBorderBrushPointerFocused");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundDisabled")]
+ public static ThemeResourceKey Disabled => new("FilledButtonBackgroundDisabled");
- public static implicit operator ThemeResourceKey(BorderBrushVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("FilledButtonBackgroundFocused");
- public static partial class StateLayerBackground
- {
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonStateLayerBackgroundPointerOver")]
- public static ThemeResourceKey PointerOver => new("FilledButtonStateLayerBackgroundPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("FilledButtonBackgroundPointerFocused");
+ }
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonStateLayerBackgroundPressed")]
- public static ThemeResourceKey Pressed => new("FilledButtonStateLayerBackgroundPressed");
+ public static partial class BorderBrush
+ {
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrush")]
+ public static ThemeResourceKey Default => new("FilledButtonBorderBrush");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonStateLayerBackgroundFocused")]
- public static ThemeResourceKey Focused => new("FilledButtonStateLayerBackgroundFocused");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushPointerOver")]
+ public static ThemeResourceKey PointerOver => new("FilledButtonBorderBrushPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonStateLayerBackgroundPointerFocused")]
- public static ThemeResourceKey PointerFocused => new("FilledButtonStateLayerBackgroundPointerFocused");
- }
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushPressed")]
+ public static ThemeResourceKey Pressed => new("FilledButtonBorderBrushPressed");
- [ResourceKeyDefinition(typeof(double), "ButtonElevation")]
- public static ThemeResourceKey Elevation => new("ButtonElevation");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushDisabled")]
+ public static ThemeResourceKey Disabled => new("FilledButtonBorderBrushDisabled");
- [ResourceKeyDefinition(typeof(Brush), "FilledButtonForeground")]
- public static ThemeResourceKey Foreground => new("FilledButtonForeground");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushFocused")]
+ public static ThemeResourceKey Focused => new("FilledButtonBorderBrushFocused");
- [ResourceKeyDefinition(typeof(Thickness), "ButtonMargin")]
- public static ThemeResourceKey Margin => new("ButtonMargin");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonBorderBrushPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("FilledButtonBorderBrushPointerFocused");
}
- public static partial class FilledTonal
+ public static partial class StateLayerBackground
{
- public static readonly BackgroundVSG Background = new();
- public partial class BackgroundVSG
- {
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackground")]
- public ThemeResourceKey Default = new("FilledTonalButtonBackground");
-
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundPointerOver")]
- public ThemeResourceKey PointerOver = new("FilledTonalButtonBackgroundPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonStateLayerBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("FilledButtonStateLayerBackgroundPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundPressed")]
- public ThemeResourceKey Pressed = new("FilledTonalButtonBackgroundPressed");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonStateLayerBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("FilledButtonStateLayerBackgroundPressed");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundDisabled")]
- public ThemeResourceKey Disabled = new("FilledTonalButtonBackgroundDisabled");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonStateLayerBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("FilledButtonStateLayerBackgroundFocused");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundFocused")]
- public ThemeResourceKey Focused = new("FilledTonalButtonBackgroundFocused");
-
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundPointerFocused")]
- public ThemeResourceKey PointerFocused = new("FilledTonalButtonBackgroundPointerFocused");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonStateLayerBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("FilledButtonStateLayerBackgroundPointerFocused");
+ }
- public static implicit operator ThemeResourceKey(BackgroundVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(double), "ButtonElevation")]
+ public static ThemeResourceKey Elevation => new("ButtonElevation");
- public static readonly BorderBrushVSG BorderBrush = new();
- public partial class BorderBrushVSG
- {
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrush")]
- public ThemeResourceKey Default = new("FilledTonalButtonBorderBrush");
+ [ResourceKeyDefinition(typeof(Brush), "FilledButtonForeground")]
+ public static ThemeResourceKey Foreground => new("FilledButtonForeground");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushPointerOver")]
- public ThemeResourceKey PointerOver = new("FilledTonalButtonBorderBrushPointerOver");
+ [ResourceKeyDefinition(typeof(Thickness), "ButtonMargin")]
+ public static ThemeResourceKey Margin => new("ButtonMargin");
+ }
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushPressed")]
- public ThemeResourceKey Pressed = new("FilledTonalButtonBorderBrushPressed");
+ public static partial class FilledTonal
+ {
+ public static partial class Background
+ {
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackground")]
+ public static ThemeResourceKey Default => new("FilledTonalButtonBackground");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushDisabled")]
- public ThemeResourceKey Disabled = new("FilledTonalButtonBorderBrushDisabled");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("FilledTonalButtonBackgroundPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushFocused")]
- public ThemeResourceKey Focused = new("FilledTonalButtonBorderBrushFocused");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("FilledTonalButtonBackgroundPressed");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushPointerFocused")]
- public ThemeResourceKey PointerFocused = new("FilledTonalButtonBorderBrushPointerFocused");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundDisabled")]
+ public static ThemeResourceKey Disabled => new("FilledTonalButtonBackgroundDisabled");
- public static implicit operator ThemeResourceKey(BorderBrushVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("FilledTonalButtonBackgroundFocused");
- public static partial class StateLayerBackground
- {
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonStateLayerBackgroundPointerOver")]
- public static ThemeResourceKey PointerOver => new("FilledTonalButtonStateLayerBackgroundPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("FilledTonalButtonBackgroundPointerFocused");
+ }
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonStateLayerBackgroundPressed")]
- public static ThemeResourceKey Pressed => new("FilledTonalButtonStateLayerBackgroundPressed");
+ public static partial class BorderBrush
+ {
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrush")]
+ public static ThemeResourceKey Default => new("FilledTonalButtonBorderBrush");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonStateLayerBackgroundFocused")]
- public static ThemeResourceKey Focused => new("FilledTonalButtonStateLayerBackgroundFocused");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushPointerOver")]
+ public static ThemeResourceKey PointerOver => new("FilledTonalButtonBorderBrushPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonStateLayerBackgroundPointerFocused")]
- public static ThemeResourceKey PointerFocused => new("FilledTonalButtonStateLayerBackgroundPointerFocused");
- }
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushPressed")]
+ public static ThemeResourceKey Pressed => new("FilledTonalButtonBorderBrushPressed");
- [ResourceKeyDefinition(typeof(double), "ButtonElevation")]
- public static ThemeResourceKey Elevation => new("ButtonElevation");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushDisabled")]
+ public static ThemeResourceKey Disabled => new("FilledTonalButtonBorderBrushDisabled");
- [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonForeground")]
- public static ThemeResourceKey Foreground => new("FilledTonalButtonForeground");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushFocused")]
+ public static ThemeResourceKey Focused => new("FilledTonalButtonBorderBrushFocused");
- [ResourceKeyDefinition(typeof(Thickness), "ButtonMargin")]
- public static ThemeResourceKey Margin => new("ButtonMargin");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonBorderBrushPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("FilledTonalButtonBorderBrushPointerFocused");
}
- public static partial class Icon
+ public static partial class StateLayerBackground
{
- public static partial class Ellipse
- {
- [ResourceKeyDefinition(typeof(string), "IconButtonEllipseHorizontalAlignment")]
- public static StaticResourceKey HorizontalAlignment => new("IconButtonEllipseHorizontalAlignment");
-
- [ResourceKeyDefinition(typeof(string), "IconButtonEllipseVerticalAlignment")]
- public static StaticResourceKey VerticalAlignment => new("IconButtonEllipseVerticalAlignment");
- }
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonStateLayerBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("FilledTonalButtonStateLayerBackgroundPointerOver");
- public static readonly OpacityHiddenStateVSG OpacityHiddenState = new();
- public partial class OpacityHiddenStateVSG
- {
- [ResourceKeyDefinition(typeof(double), "IconButtonOpacityHiddenState")]
- public ThemeResourceKey Default = new("IconButtonOpacityHiddenState");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonStateLayerBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("FilledTonalButtonStateLayerBackgroundPressed");
- [ResourceKeyDefinition(typeof(double), "IconButtonOpacityVisibleState")]
- public ThemeResourceKey PointerOver = new("IconButtonOpacityVisibleState");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonStateLayerBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("FilledTonalButtonStateLayerBackgroundFocused");
- public static implicit operator ThemeResourceKey(OpacityHiddenStateVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonStateLayerBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("FilledTonalButtonStateLayerBackgroundPointerFocused");
+ }
- [ResourceKeyDefinition(typeof(Brush), "IconButtonEllipseFillFocused")]
- public static ThemeResourceKey EllipseFillFocused => new("IconButtonEllipseFillFocused");
+ [ResourceKeyDefinition(typeof(double), "ButtonElevation")]
+ public static ThemeResourceKey Elevation => new("ButtonElevation");
- [ResourceKeyDefinition(typeof(Brush), "IconButtonEllipseFillPointerOver")]
- public static ThemeResourceKey EllipseFillPointerOver => new("IconButtonEllipseFillPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "FilledTonalButtonForeground")]
+ public static ThemeResourceKey Foreground => new("FilledTonalButtonForeground");
- [ResourceKeyDefinition(typeof(Brush), "IconButtonEllipseFillPressed")]
- public static ThemeResourceKey EllipseFillPressed => new("IconButtonEllipseFillPressed");
+ [ResourceKeyDefinition(typeof(Thickness), "ButtonMargin")]
+ public static ThemeResourceKey Margin => new("ButtonMargin");
+ }
- [ResourceKeyDefinition(typeof(Brush), "IconButtonForeground")]
- public static ThemeResourceKey Foreground => new("IconButtonForeground");
+ public static partial class Icon
+ {
+ public static partial class Ellipse
+ {
+ [ResourceKeyDefinition(typeof(string), "IconButtonEllipseHorizontalAlignment")]
+ public static StaticResourceKey HorizontalAlignment => new("IconButtonEllipseHorizontalAlignment");
- [ResourceKeyDefinition(typeof(Brush), "IconButtonForegroundDisabled")]
- public static ThemeResourceKey ForegroundDisabled => new("IconButtonForegroundDisabled");
+ [ResourceKeyDefinition(typeof(string), "IconButtonEllipseVerticalAlignment")]
+ public static StaticResourceKey VerticalAlignment => new("IconButtonEllipseVerticalAlignment");
}
- public static partial class Outlined
+ public static partial class OpacityHiddenState
{
- public static readonly BackgroundVSG Background = new();
- public partial class BackgroundVSG
- {
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackground")]
- public ThemeResourceKey Default = new("OutlinedButtonBackground");
+ [ResourceKeyDefinition(typeof(double), "IconButtonOpacityHiddenState")]
+ public static ThemeResourceKey Default => new("IconButtonOpacityHiddenState");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundPointerOver")]
- public ThemeResourceKey PointerOver = new("OutlinedButtonBackgroundPointerOver");
-
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundPressed")]
- public ThemeResourceKey Pressed = new("OutlinedButtonBackgroundPressed");
+ [ResourceKeyDefinition(typeof(double), "IconButtonOpacityVisibleState")]
+ public static ThemeResourceKey PointerOver => new("IconButtonOpacityVisibleState");
+ }
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundFocused")]
- public ThemeResourceKey Focused = new("OutlinedButtonBackgroundFocused");
+ [ResourceKeyDefinition(typeof(Brush), "IconButtonEllipseFillFocused")]
+ public static ThemeResourceKey EllipseFillFocused => new("IconButtonEllipseFillFocused");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundPointerFocused")]
- public ThemeResourceKey PointerFocused = new("OutlinedButtonBackgroundPointerFocused");
+ [ResourceKeyDefinition(typeof(Brush), "IconButtonEllipseFillPointerOver")]
+ public static ThemeResourceKey EllipseFillPointerOver => new("IconButtonEllipseFillPointerOver");
- public static implicit operator ThemeResourceKey(BackgroundVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(Brush), "IconButtonEllipseFillPressed")]
+ public static ThemeResourceKey EllipseFillPressed => new("IconButtonEllipseFillPressed");
- public static readonly BorderBrushVSG BorderBrush = new();
- public partial class BorderBrushVSG
- {
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrush")]
- public ThemeResourceKey Default = new("OutlinedButtonBorderBrush");
+ [ResourceKeyDefinition(typeof(Brush), "IconButtonForeground")]
+ public static ThemeResourceKey Foreground => new("IconButtonForeground");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrushPointerOver")]
- public ThemeResourceKey PointerOver = new("OutlinedButtonBorderBrushPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "IconButtonForegroundDisabled")]
+ public static ThemeResourceKey ForegroundDisabled => new("IconButtonForegroundDisabled");
+ }
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrushPressed")]
- public ThemeResourceKey Pressed = new("OutlinedButtonBorderBrushPressed");
+ public static partial class Outlined
+ {
+ public static partial class Background
+ {
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackground")]
+ public static ThemeResourceKey Default => new("OutlinedButtonBackground");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundDisabled")]
- public ThemeResourceKey Disabled = new("OutlinedButtonBackgroundDisabled");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("OutlinedButtonBackgroundPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrushFocused")]
- public ThemeResourceKey Focused = new("OutlinedButtonBorderBrushFocused");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("OutlinedButtonBackgroundPressed");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrushPointerFocused")]
- public ThemeResourceKey PointerFocused = new("OutlinedButtonBorderBrushPointerFocused");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("OutlinedButtonBackgroundFocused");
- public static implicit operator ThemeResourceKey(BorderBrushVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("OutlinedButtonBackgroundPointerFocused");
+ }
- public static partial class StateLayerBackground
- {
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonStateLayerBackgroundPointerOver")]
- public static ThemeResourceKey PointerOver => new("OutlinedButtonStateLayerBackgroundPointerOver");
+ public static partial class BorderBrush
+ {
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrush")]
+ public static ThemeResourceKey Default => new("OutlinedButtonBorderBrush");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonStateLayerBackgroundPressed")]
- public static ThemeResourceKey Pressed => new("OutlinedButtonStateLayerBackgroundPressed");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrushPointerOver")]
+ public static ThemeResourceKey PointerOver => new("OutlinedButtonBorderBrushPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonStateLayerBackgroundFocused")]
- public static ThemeResourceKey Focused => new("OutlinedButtonStateLayerBackgroundFocused");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrushPressed")]
+ public static ThemeResourceKey Pressed => new("OutlinedButtonBorderBrushPressed");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonStateLayerBackgroundPointerFocused")]
- public static ThemeResourceKey PointerFocused => new("OutlinedButtonStateLayerBackgroundPointerFocused");
- }
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBackgroundDisabled")]
+ public static ThemeResourceKey Disabled => new("OutlinedButtonBackgroundDisabled");
- [ResourceKeyDefinition(typeof(Thickness), "OutlinedButtonBorderThickness")]
- public static ThemeResourceKey BorderThickness => new("OutlinedButtonBorderThickness");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrushFocused")]
+ public static ThemeResourceKey Focused => new("OutlinedButtonBorderBrushFocused");
- [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonForeground")]
- public static ThemeResourceKey Foreground => new("OutlinedButtonForeground");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonBorderBrushPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("OutlinedButtonBorderBrushPointerFocused");
}
- public static partial class Text
+ public static partial class StateLayerBackground
{
- public static readonly BackgroundVSG Background = new();
- public partial class BackgroundVSG
- {
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBackground")]
- public ThemeResourceKey Default = new("TextButtonBackground");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonStateLayerBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("OutlinedButtonStateLayerBackgroundPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBackgroundPointerOver")]
- public ThemeResourceKey PointerOver = new("TextButtonBackgroundPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonStateLayerBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("OutlinedButtonStateLayerBackgroundPressed");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBackgroundPressed")]
- public ThemeResourceKey Pressed = new("TextButtonBackgroundPressed");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonStateLayerBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("OutlinedButtonStateLayerBackgroundFocused");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBackgroundFocused")]
- public ThemeResourceKey Focused = new("TextButtonBackgroundFocused");
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonStateLayerBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("OutlinedButtonStateLayerBackgroundPointerFocused");
+ }
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBackgroundPointerFocused")]
- public ThemeResourceKey PointerFocused = new("TextButtonBackgroundPointerFocused");
+ [ResourceKeyDefinition(typeof(Thickness), "OutlinedButtonBorderThickness")]
+ public static ThemeResourceKey BorderThickness => new("OutlinedButtonBorderThickness");
- public static implicit operator ThemeResourceKey(BackgroundVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(Brush), "OutlinedButtonForeground")]
+ public static ThemeResourceKey Foreground => new("OutlinedButtonForeground");
+ }
- public static readonly BorderBrushVSG BorderBrush = new();
- public partial class BorderBrushVSG
- {
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrush")]
- public ThemeResourceKey Default = new("TextButtonBorderBrush");
+ public static partial class Text
+ {
+ public static partial class Background
+ {
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBackground")]
+ public static ThemeResourceKey Default => new("TextButtonBackground");
+
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("TextButtonBackgroundPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushPointerOver")]
- public ThemeResourceKey PointerOver = new("TextButtonBorderBrushPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("TextButtonBackgroundPressed");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushPressed")]
- public ThemeResourceKey Pressed = new("TextButtonBorderBrushPressed");
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("TextButtonBackgroundFocused");
+
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("TextButtonBackgroundPointerFocused");
+ }
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushDisabled")]
- public ThemeResourceKey Disabled = new("TextButtonBorderBrushDisabled");
+ public static partial class BorderBrush
+ {
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrush")]
+ public static ThemeResourceKey Default => new("TextButtonBorderBrush");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushFocused")]
- public ThemeResourceKey Focused = new("TextButtonBorderBrushFocused");
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushPointerOver")]
+ public static ThemeResourceKey PointerOver => new("TextButtonBorderBrushPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushPointerFocused")]
- public ThemeResourceKey PointerFocused = new("TextButtonBorderBrushPointerFocused");
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushPressed")]
+ public static ThemeResourceKey Pressed => new("TextButtonBorderBrushPressed");
- public static implicit operator ThemeResourceKey(BorderBrushVSG self) => self.Default;
- }
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushDisabled")]
+ public static ThemeResourceKey Disabled => new("TextButtonBorderBrushDisabled");
- public static partial class StateLayerBackground
- {
- [ResourceKeyDefinition(typeof(Brush), "TextButtonStateLayerBackgroundPointerOver")]
- public static ThemeResourceKey PointerOver => new("TextButtonStateLayerBackgroundPointerOver");
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushFocused")]
+ public static ThemeResourceKey Focused => new("TextButtonBorderBrushFocused");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonStateLayerBackgroundPressed")]
- public static ThemeResourceKey Pressed => new("TextButtonStateLayerBackgroundPressed");
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonBorderBrushPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("TextButtonBorderBrushPointerFocused");
+ }
- [ResourceKeyDefinition(typeof(Brush), "TextButtonStateLayerBackgroundFocused")]
- public static ThemeResourceKey Focused => new("TextButtonStateLayerBackgroundFocused");
+ public static partial class StateLayerBackground
+ {
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonStateLayerBackgroundPointerOver")]
+ public static ThemeResourceKey PointerOver => new("TextButtonStateLayerBackgroundPointerOver");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonStateLayerBackgroundPointerFocused")]
- public static ThemeResourceKey PointerFocused => new("TextButtonStateLayerBackgroundPointerFocused");
- }
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonStateLayerBackgroundPressed")]
+ public static ThemeResourceKey Pressed => new("TextButtonStateLayerBackgroundPressed");
- [ResourceKeyDefinition(typeof(Brush), "TextButtonForeground")]
- public static ThemeResourceKey Foreground => new("TextButtonForeground");
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonStateLayerBackgroundFocused")]
+ public static ThemeResourceKey Focused => new("TextButtonStateLayerBackgroundFocused");
- [ResourceKeyDefinition(typeof(Thickness), "TextButtonPadding")]
- public static ThemeResourceKey Padding => new("TextButtonPadding");
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonStateLayerBackgroundPointerFocused")]
+ public static ThemeResourceKey PointerFocused => new("TextButtonStateLayerBackgroundPointerFocused");
}
- [ResourceKeyDefinition(typeof(Thickness), "ButtonBorderThickness")]
- public static ThemeResourceKey BorderThickness => new("ButtonBorderThickness");
+ [ResourceKeyDefinition(typeof(Brush), "TextButtonForeground")]
+ public static ThemeResourceKey Foreground => new("TextButtonForeground");
- [ResourceKeyDefinition(typeof(CornerRadius), "ButtonCornerRadius")]
- public static ThemeResourceKey CornerRadius => new("ButtonCornerRadius");
+ [ResourceKeyDefinition(typeof(Thickness), "TextButtonPadding")]
+ public static ThemeResourceKey Padding => new("TextButtonPadding");
+ }
- [ResourceKeyDefinition(typeof(string), "ButtonHorizontalContentAlignment")]
- public static StaticResourceKey HorizontalContentAlignment => new("ButtonHorizontalContentAlignment");
+ [ResourceKeyDefinition(typeof(Thickness), "ButtonBorderThickness")]
+ public static ThemeResourceKey BorderThickness => new("ButtonBorderThickness");
- [ResourceKeyDefinition(typeof(double), "ButtonMinHeight")]
- public static ThemeResourceKey MinHeight => new("ButtonMinHeight");
+ [ResourceKeyDefinition(typeof(CornerRadius), "ButtonCornerRadius")]
+ public static ThemeResourceKey CornerRadius => new("ButtonCornerRadius");
- [ResourceKeyDefinition(typeof(double), "ButtonMinWidth")]
- public static ThemeResourceKey MinWidth => new("ButtonMinWidth");
+ [ResourceKeyDefinition(typeof(string), "ButtonHorizontalContentAlignment")]
+ public static StaticResourceKey HorizontalContentAlignment => new("ButtonHorizontalContentAlignment");
- [ResourceKeyDefinition(typeof(Thickness), "ButtonPadding")]
- public static ThemeResourceKey Padding => new("ButtonPadding");
+ [ResourceKeyDefinition(typeof(double), "ButtonMinHeight")]
+ public static ThemeResourceKey MinHeight => new("ButtonMinHeight");
- [ResourceKeyDefinition(typeof(string), "ButtonVerticalContentAlignment")]
- public static StaticResourceKey VerticalContentAlignment => new("ButtonVerticalContentAlignment");
- }
+ [ResourceKeyDefinition(typeof(double), "ButtonMinWidth")]
+ public static ThemeResourceKey MinWidth => new("ButtonMinWidth");
- public static partial class Styles
- {
- [ResourceKeyDefinition(typeof(Style), "MaterialElevatedButtonStyle", TargetType = typeof(global::Microsoft.UI.Xaml.Controls.Button))]
- public static StaticResourceKey