|
| 1 | +using Microsoft.UI.Xaml; |
| 2 | +using Microsoft.UI.Xaml.Media; |
| 3 | +using Uno.Extensions.Markup.Internals; |
| 4 | +using Windows.Devices.Bluetooth.Advertisement; |
| 5 | + |
| 6 | +namespace Uno.Themes.Markup |
| 7 | +{ |
| 8 | + public static partial class Theme |
| 9 | + { |
| 10 | + public static class PipsPager |
| 11 | + { |
| 12 | + public static class Resources |
| 13 | + { |
| 14 | + public static class Default |
| 15 | + { |
| 16 | + public static class Foreground |
| 17 | + { |
| 18 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForeground")] |
| 19 | + public static ResourceValue<Brush> Default => new("PipsPagerSelectionIndicatorForeground", true); |
| 20 | + |
| 21 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundPointerOver")] |
| 22 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerSelectionIndicatorForegroundPointerOver", true); |
| 23 | + |
| 24 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundPressed")] |
| 25 | + public static ResourceValue<Brush> Pressed => new("PipsPagerSelectionIndicatorForegroundPressed", true); |
| 26 | + |
| 27 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundDisabled")] |
| 28 | + public static ResourceValue<Brush> Disabled => new("PipsPagerSelectionIndicatorForegroundDisabled", true); |
| 29 | + |
| 30 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundFocused")] |
| 31 | + public static ResourceValue<Brush> Focused => new("PipsPagerSelectionIndicatorForegroundFocused", true); |
| 32 | + |
| 33 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorForegroundSelected")] |
| 34 | + public static ResourceValue<Brush> Selected => new("PipsPagerSelectionIndicatorForegroundSelected", true); |
| 35 | + } |
| 36 | + |
| 37 | + public static class Background |
| 38 | + { |
| 39 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackground")] |
| 40 | + public static ResourceValue<Brush> Default => new("PipsPagerSelectionIndicatorBackground", true); |
| 41 | + |
| 42 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackgroundPointerOver")] |
| 43 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerSelectionIndicatorBackgroundPointerOver", true); |
| 44 | + |
| 45 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackgroundPressed")] |
| 46 | + public static ResourceValue<Brush> Pressed => new("PipsPagerSelectionIndicatorBackgroundPressed", true); |
| 47 | + |
| 48 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackgroundSelected")] |
| 49 | + public static ResourceValue<Brush> Selected => new("PipsPagerSelectionIndicatorBackgroundSelected", true); |
| 50 | + |
| 51 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBackgroundDisabled")] |
| 52 | + public static ResourceValue<Brush> Disabled => new("PipsPagerSelectionIndicatorBackgroundDisabled", true); |
| 53 | + } |
| 54 | + |
| 55 | + public static class BorderBrush |
| 56 | + { |
| 57 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrush")] |
| 58 | + public static ResourceValue<Brush> Default => new("PipsPagerSelectionIndicatorBorderBrush", true); |
| 59 | + |
| 60 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrushPointerOver")] |
| 61 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerSelectionIndicatorBorderBrushPointerOver", true); |
| 62 | + |
| 63 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrushPressed")] |
| 64 | + public static ResourceValue<Brush> Pressed => new("PipsPagerSelectionIndicatorBorderBrushPressed", true); |
| 65 | + |
| 66 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrushSelected")] |
| 67 | + public static ResourceValue<Brush> Selected => new("PipsPagerSelectionIndicatorBorderBrushSelected", true); |
| 68 | + |
| 69 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerSelectionIndicatorBorderBrushDisabled")] |
| 70 | + public static ResourceValue<Brush> Disabled => new("PipsPagerSelectionIndicatorBorderBrushDisabled", true); |
| 71 | + } |
| 72 | + |
| 73 | + public static class BorderThickness |
| 74 | + { |
| 75 | + [ResourceKeyDefinition(typeof(Thickness), "PipsPagerButtonBorderThickness")] |
| 76 | + public static ResourceValue<Thickness> Default => new("PipsPagerButtonBorderThickness", true); |
| 77 | + } |
| 78 | + |
| 79 | + public static class Width |
| 80 | + { |
| 81 | + [ResourceKeyDefinition(typeof(double), "PipsPagerHorizontalOrientationButtonWidth")] |
| 82 | + public static ResourceValue<double> HorizontalOrientation => new("PipsPagerHorizontalOrientationButtonWidth", true); |
| 83 | + |
| 84 | + [ResourceKeyDefinition(typeof(double), "PipsPagerVerticalOrientationButtonWidth")] |
| 85 | + public static ResourceValue<double> VerticalOrientation => new("PipsPagerVerticalOrientationButtonWidth", true); |
| 86 | + } |
| 87 | + |
| 88 | + public static class Height |
| 89 | + { |
| 90 | + [ResourceKeyDefinition(typeof(double), "PipsPagerHorizontalOrientationButtonHeight")] |
| 91 | + public static ResourceValue<double> HorizontalOrientation => new("PipsPagerHorizontalOrientationButtonHeight", true); |
| 92 | + |
| 93 | + [ResourceKeyDefinition(typeof(double), "PipsPagerVerticalOrientationButtonHeight")] |
| 94 | + public static ResourceValue<double> VerticalOrientation => new("PipsPagerVerticalOrientationButtonHeight", true); |
| 95 | + } |
| 96 | + |
| 97 | + public static class VisualStateEllipse |
| 98 | + { |
| 99 | + public static class Fill |
| 100 | + { |
| 101 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerVisualStateEllipseFill")] |
| 102 | + public static ResourceValue<Brush> Default => new("MaterialPipsPagerVisualStateEllipseFill", true); |
| 103 | + |
| 104 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerVisualStateEllipseFillPointerOver")] |
| 105 | + public static ResourceValue<Brush> PointerOver => new("MaterialPipsPagerVisualStateEllipseFillPointerOver", true); |
| 106 | + |
| 107 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerVisualStateEllipseFillPressed")] |
| 108 | + public static ResourceValue<Brush> Pressed => new("MaterialPipsPagerVisualStateEllipseFillPressed", true); |
| 109 | + |
| 110 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerVisualStateEllipseFillFocused")] |
| 111 | + public static ResourceValue<Brush> Focused => new("MaterialPipsPagerVisualStateEllipseFillFocused", true); |
| 112 | + } |
| 113 | + |
| 114 | + public static class Size |
| 115 | + { |
| 116 | + [ResourceKeyDefinition(typeof(double), "PipsPagerNormalEllipseSize")] |
| 117 | + public static ResourceValue<double> Normal => new("PipsPagerNormalEllipseSize", true); |
| 118 | + |
| 119 | + [ResourceKeyDefinition(typeof(double), "PipsPagerSelectedEllipseSize")] |
| 120 | + public static ResourceValue<double> Selected => new("PipsPagerSelectedEllipseSize", true); |
| 121 | + } |
| 122 | + |
| 123 | + } |
| 124 | + |
| 125 | + public static class NavigationButton |
| 126 | + { |
| 127 | + public static class Background |
| 128 | + { |
| 129 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBackground")] |
| 130 | + public static ResourceValue<Brush> Default => new("PipsPagerNavigationButtonBackground", true); |
| 131 | + |
| 132 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBackgroundPointerOver")] |
| 133 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerNavigationButtonBackgroundPointerOver", true); |
| 134 | + |
| 135 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBackgroundPressed")] |
| 136 | + public static ResourceValue<Brush> Pressed => new("PipsPagerNavigationButtonBackgroundPressed", true); |
| 137 | + |
| 138 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBackgroundDisabled")] |
| 139 | + public static ResourceValue<Brush> Disabled => new("PipsPagerNavigationButtonBackgroundDisabled", true); |
| 140 | + } |
| 141 | + |
| 142 | + public static class BorderBrush |
| 143 | + { |
| 144 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBorderBrush")] |
| 145 | + public static ResourceValue<Brush> Default => new("PipsPagerNavigationButtonBorderBrush", true); |
| 146 | + |
| 147 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBorderBrushPointerOver")] |
| 148 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerNavigationButtonBorderBrushPointerOver", true); |
| 149 | + |
| 150 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBorderBrushPressed")] |
| 151 | + public static ResourceValue<Brush> Pressed => new("PipsPagerNavigationButtonBorderBrushPressed", true); |
| 152 | + |
| 153 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonBorderBrushDisabled")] |
| 154 | + public static ResourceValue<Brush> Disabled => new("PipsPagerNavigationButtonBorderBrushDisabled", true); |
| 155 | + } |
| 156 | + |
| 157 | + public static class Foreground |
| 158 | + { |
| 159 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonForeground")] |
| 160 | + public static ResourceValue<Brush> Default => new("PipsPagerNavigationButtonForeground", true); |
| 161 | + |
| 162 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonForegroundPointerOver")] |
| 163 | + public static ResourceValue<Brush> PointerOver => new("PipsPagerNavigationButtonForegroundPointerOver", true); |
| 164 | + |
| 165 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonForegroundPressed")] |
| 166 | + public static ResourceValue<Brush> Pressed => new("PipsPagerNavigationButtonForegroundPressed", true); |
| 167 | + |
| 168 | + [ResourceKeyDefinition(typeof(Brush), "PipsPagerNavigationButtonForegroundDisabled")] |
| 169 | + public static ResourceValue<Brush> Disabled => new("PipsPagerNavigationButtonForegroundDisabled", true); |
| 170 | + } |
| 171 | + |
| 172 | + public static class VisualStateEllipse |
| 173 | + { |
| 174 | + public static class Height |
| 175 | + { |
| 176 | + [ResourceKeyDefinition(typeof(double), "MaterialPipsPagerNavigationButtonVisualStateEllipseHeight")] |
| 177 | + public static ResourceValue<double> Default => new("MaterialPipsPagerNavigationButtonVisualStateEllipseHeight", true); |
| 178 | + } |
| 179 | + |
| 180 | + public static class Width |
| 181 | + { |
| 182 | + [ResourceKeyDefinition(typeof(double), "MaterialPipsPagerNavigationButtonVisualStateEllipseWidth")] |
| 183 | + public static ResourceValue<double> Default => new("MaterialPipsPagerNavigationButtonVisualStateEllipseWidth", true); |
| 184 | + } |
| 185 | + |
| 186 | + public static class Fill |
| 187 | + { |
| 188 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFill")] |
| 189 | + public static ResourceValue<Brush> Default => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFill", true); |
| 190 | + |
| 191 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFillPointerOver")] |
| 192 | + public static ResourceValue<Brush> PointerOver => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFillPointerOver", true); |
| 193 | + |
| 194 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFillPressed")] |
| 195 | + public static ResourceValue<Brush> Pressed => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFillPressed", true); |
| 196 | + |
| 197 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFillFocused")] |
| 198 | + public static ResourceValue<Brush> Focused => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFillFocused", true); |
| 199 | + |
| 200 | + [ResourceKeyDefinition(typeof(Brush), "MaterialPipsPagerNavigationButtonVisualStateEllipseFillUnfocused")] |
| 201 | + public static ResourceValue<Brush> Unfocused => new("MaterialPipsPagerNavigationButtonVisualStateEllipseFillUnfocused", true); |
| 202 | + } |
| 203 | + } |
| 204 | + |
| 205 | + public static class PreviousPageData |
| 206 | + { |
| 207 | + [ResourceKeyDefinition(typeof(Geometry), "PipsPagerPreviousPageButtonData")] |
| 208 | + public static ResourceValue<Geometry> Default => new("PipsPagerPreviousPageButtonData", true); |
| 209 | + } |
| 210 | + |
| 211 | + public static class NextPageData |
| 212 | + { |
| 213 | + [ResourceKeyDefinition(typeof(Geometry), "PipsPagerNextPageButtonData")] |
| 214 | + public static ResourceValue<Geometry> Default => new("PipsPagerNextPageButtonData", true); |
| 215 | + } |
| 216 | + |
| 217 | + public static class Height |
| 218 | + { |
| 219 | + [ResourceKeyDefinition(typeof(double), "PipsPagerNavigationButtonHeight")] |
| 220 | + public static ResourceValue<double> Default => new("PipsPagerNavigationButtonHeight", true); |
| 221 | + } |
| 222 | + |
| 223 | + public static class Width |
| 224 | + { |
| 225 | + [ResourceKeyDefinition(typeof(double), "PipsPagerNavigationButtonWidth")] |
| 226 | + public static ResourceValue<double> Default => new("PipsPagerNavigationButtonWidth", true); |
| 227 | + } |
| 228 | + |
| 229 | + public static class BorderThickness |
| 230 | + { |
| 231 | + [ResourceKeyDefinition(typeof(Thickness), "PipsPagerNavigationButtonBorderThickness")] |
| 232 | + public static ResourceValue<Thickness> Default => new("PipsPagerNavigationButtonBorderThickness", true); |
| 233 | + } |
| 234 | + |
| 235 | + public static class Padding |
| 236 | + { |
| 237 | + [ResourceKeyDefinition(typeof(Thickness), "PipsPagerNavigationButtonPadding")] |
| 238 | + public static ResourceValue<Thickness> Default => new("PipsPagerNavigationButtonPadding", true); |
| 239 | + } |
| 240 | + } |
| 241 | + } |
| 242 | + } |
| 243 | + } |
| 244 | + } |
| 245 | +} |
| 246 | + |
| 247 | + |
0 commit comments