committed by
GitHub
197 changed files with 9527 additions and 571 deletions
@ -1,6 +1,7 @@ |
|||
<Project> |
|||
<PropertyGroup> |
|||
<IsPackable>false</IsPackable> |
|||
<AvaloniaPreviewerNetCoreToolPath>$(MSBuildThisFileDirectory)..\src\tools\Avalonia.Designer.HostApp\bin\Debug\netcoreapp2.0\Avalonia.Designer.HostApp.dll</AvaloniaPreviewerNetCoreToolPath> |
|||
</PropertyGroup> |
|||
<Import Project="..\build\SharedVersion.props" /> |
|||
</Project> |
|||
|
|||
@ -0,0 +1,37 @@ |
|||
using Avalonia.Interactivity; |
|||
using Avalonia.Input; |
|||
|
|||
namespace Avalonia.Controls.Mixins |
|||
{ |
|||
/// <summary>
|
|||
/// Adds pressed functionality to control classes.
|
|||
///
|
|||
/// Adds the ':pressed' class when the item is pressed.
|
|||
/// </summary>
|
|||
public static class PressedMixin |
|||
{ |
|||
/// <summary>
|
|||
/// Initializes a new instance of the <see cref="PressedMixin"/> class.
|
|||
/// </summary>
|
|||
/// <typeparam name="TControl">The control type.</typeparam>
|
|||
public static void Attach<TControl>() where TControl : Control |
|||
{ |
|||
InputElement.PointerPressedEvent.AddClassHandler<TControl>((x, e) => HandlePointerPressed(x, e), RoutingStrategies.Tunnel); |
|||
InputElement.PointerReleasedEvent.AddClassHandler<TControl>((x, e) => HandlePointerReleased(x), RoutingStrategies.Tunnel); |
|||
InputElement.PointerCaptureLostEvent.AddClassHandler<TControl>((x, e) => HandlePointerReleased(x), RoutingStrategies.Tunnel); |
|||
} |
|||
|
|||
private static void HandlePointerPressed<TControl>(TControl sender, PointerPressedEventArgs e) where TControl : Control |
|||
{ |
|||
if (e.GetCurrentPoint(sender).Properties.IsLeftButtonPressed) |
|||
{ |
|||
((IPseudoClasses)sender.Classes).Set(":pressed", true); |
|||
} |
|||
} |
|||
|
|||
private static void HandlePointerReleased<TControl>(TControl sender) where TControl : Control |
|||
{ |
|||
((IPseudoClasses)sender.Classes).Set(":pressed", false); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,416 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using Avalonia.Controls.Primitives; |
|||
using Avalonia.Data; |
|||
using Avalonia.Data.Converters; |
|||
using Avalonia.Layout; |
|||
using Avalonia.Media; |
|||
using Avalonia.Utilities; |
|||
|
|||
namespace Avalonia.Controls |
|||
{ |
|||
/// <summary>
|
|||
/// Enum which describes how to position the TickBar.
|
|||
/// </summary>
|
|||
public enum TickBarPlacement |
|||
{ |
|||
/// <summary>
|
|||
/// Position this tick at the left of target element.
|
|||
/// </summary>
|
|||
Left, |
|||
|
|||
/// <summary>
|
|||
/// Position this tick at the top of target element.
|
|||
/// </summary>
|
|||
Top, |
|||
|
|||
/// <summary>
|
|||
/// Position this tick at the right of target element.
|
|||
/// </summary>
|
|||
Right, |
|||
|
|||
/// <summary>
|
|||
/// Position this tick at the bottom of target element.
|
|||
/// </summary>
|
|||
Bottom, |
|||
} |
|||
|
|||
|
|||
/// <summary>
|
|||
/// An element that is used for drawing <see cref="Slider"/>'s Ticks.
|
|||
/// </summary>
|
|||
public class TickBar : Control |
|||
{ |
|||
static TickBar() |
|||
{ |
|||
AffectsRender<TickBar>(ReservedSpaceProperty, |
|||
MaximumProperty, |
|||
MinimumProperty, |
|||
OrientationProperty, |
|||
TickFrequencyProperty); |
|||
} |
|||
|
|||
public TickBar() : base() |
|||
{ |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Defines the <see cref="Fill"/> property.
|
|||
/// </summary>
|
|||
public static readonly StyledProperty<IBrush> FillProperty = |
|||
AvaloniaProperty.Register<TickBar, IBrush>(nameof(Fill)); |
|||
|
|||
/// <summary>
|
|||
/// Brush used to fill the TickBar's Ticks.
|
|||
/// </summary>
|
|||
public IBrush Fill |
|||
{ |
|||
get { return GetValue(FillProperty); } |
|||
set { SetValue(FillProperty, value); } |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Defines the <see cref="Minimum"/> property.
|
|||
/// </summary>
|
|||
public static readonly StyledProperty<double> MinimumProperty = |
|||
AvaloniaProperty.Register<TickBar, double>(nameof(Minimum), 0d); |
|||
|
|||
/// <summary>
|
|||
/// Logical position where the Minimum Tick will be drawn
|
|||
/// </summary>
|
|||
public double Minimum |
|||
{ |
|||
get { return GetValue(MinimumProperty); } |
|||
set |
|||
{ |
|||
SetValue(MinimumProperty, value); |
|||
} |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Defines the <see cref="Maximum"/> property.
|
|||
/// </summary>
|
|||
public static readonly StyledProperty<double> MaximumProperty = |
|||
AvaloniaProperty.Register<TickBar, double>(nameof(Maximum), 0d); |
|||
|
|||
/// <summary>
|
|||
/// Logical position where the Maximum Tick will be drawn
|
|||
/// </summary>
|
|||
public double Maximum |
|||
{ |
|||
get { return GetValue(MaximumProperty); } |
|||
set { SetValue(MaximumProperty, value); } |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Defines the <see cref="TickFrequency"/> property.
|
|||
/// </summary>
|
|||
public static readonly StyledProperty<double> TickFrequencyProperty = |
|||
AvaloniaProperty.Register<TickBar, double>(nameof(TickFrequency), 0d); |
|||
|
|||
/// <summary>
|
|||
/// TickFrequency property defines how the tick will be drawn.
|
|||
/// </summary>
|
|||
public double TickFrequency |
|||
{ |
|||
get { return GetValue(TickFrequencyProperty); } |
|||
set { SetValue(TickFrequencyProperty, value); } |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Defines the <see cref="Orientation"/> property.
|
|||
/// </summary>
|
|||
public static readonly StyledProperty<Orientation> OrientationProperty = |
|||
AvaloniaProperty.Register<TickBar, Orientation>(nameof(Orientation)); |
|||
|
|||
/// <summary>
|
|||
/// TickBar parent's orientation.
|
|||
/// </summary>
|
|||
public Orientation Orientation |
|||
{ |
|||
get { return GetValue(OrientationProperty); } |
|||
set { SetValue(OrientationProperty, value); } |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Defines the <see cref="Ticks"/> property.
|
|||
/// </summary>
|
|||
public static readonly StyledProperty<List<double>> TicksProperty = |
|||
AvaloniaProperty.Register<TickBar, List<double>>(nameof(Ticks)); |
|||
|
|||
/// <summary>
|
|||
/// The Ticks property contains collection of value of type Double which
|
|||
/// are the logical positions use to draw the ticks.
|
|||
/// The property value is a <see cref="DoubleCollection" />.
|
|||
/// </summary>
|
|||
public List<double> Ticks |
|||
{ |
|||
get { return GetValue(TicksProperty); } |
|||
set { SetValue(TicksProperty, value); } |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Defines the <see cref="IsDirectionReversed"/> property.
|
|||
/// </summary>
|
|||
public static readonly StyledProperty<bool> IsDirectionReversedProperty = |
|||
AvaloniaProperty.Register<TickBar, bool>(nameof(IsDirectionReversed), false); |
|||
|
|||
/// <summary>
|
|||
/// The IsDirectionReversed property defines the direction of value incrementation.
|
|||
/// By default, if Tick's orientation is Horizontal, ticks will be drawn from left to right.
|
|||
/// (And, bottom to top for Vertical orientation).
|
|||
/// If IsDirectionReversed is 'true' the direction of the drawing will be in opposite direction.
|
|||
/// </summary>
|
|||
public bool IsDirectionReversed |
|||
{ |
|||
get { return GetValue(IsDirectionReversedProperty); } |
|||
set { SetValue(IsDirectionReversedProperty, value); } |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Defines the <see cref="Placement"/> property.
|
|||
/// </summary>
|
|||
public static readonly StyledProperty<TickBarPlacement> PlacementProperty = |
|||
AvaloniaProperty.Register<TickBar, TickBarPlacement>(nameof(Placement), 0d); |
|||
|
|||
|
|||
/// <summary>
|
|||
/// Placement property specified how the Tick will be placed.
|
|||
/// This property affects the way ticks are drawn.
|
|||
/// This property has type of <see cref="TickBarPlacement" />.
|
|||
/// </summary>
|
|||
public TickBarPlacement Placement |
|||
{ |
|||
get { return GetValue(PlacementProperty); } |
|||
set { SetValue(PlacementProperty, value); } |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Defines the <see cref="ReservedSpace"/> property.
|
|||
/// </summary>
|
|||
public static readonly StyledProperty<Rect> ReservedSpaceProperty = |
|||
AvaloniaProperty.Register<TickBar, Rect>(nameof(ReservedSpace)); |
|||
|
|||
/// <summary>
|
|||
/// TickBar will use ReservedSpaceProperty for left and right spacing (for horizontal orientation) or
|
|||
/// tob and bottom spacing (for vertical orienation).
|
|||
/// The space on both sides of TickBar is half of specified ReservedSpace.
|
|||
/// This property has type of <see cref="Rect" />.
|
|||
/// </summary>
|
|||
public Rect ReservedSpace |
|||
{ |
|||
get { return GetValue(ReservedSpaceProperty); } |
|||
set { SetValue(ReservedSpaceProperty, value); } |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Draw ticks.
|
|||
/// Ticks can be draw in 8 diffrent ways depends on Placment property and IsDirectionReversed property.
|
|||
///
|
|||
/// This function also draw selection-tick(s) if IsSelectionRangeEnabled is 'true' and
|
|||
/// SelectionStart and SelectionEnd are valid.
|
|||
///
|
|||
/// The primary ticks (for Mininum and Maximum value) height will be 100% of TickBar's render size (use Width or Height
|
|||
/// depends on Placement property).
|
|||
///
|
|||
/// The secondary ticks (all other ticks, including selection-tics) height will be 75% of TickBar's render size.
|
|||
///
|
|||
/// Brush that use to fill ticks is specified by Shape.Fill property.
|
|||
///
|
|||
/// Pen that use to draw ticks is specified by Shape.Pen property.
|
|||
/// </summary>
|
|||
public override void Render(DrawingContext dc) |
|||
{ |
|||
var size = new Size(Bounds.Width, Bounds.Height); |
|||
var range = Maximum - Minimum; |
|||
var tickLen = 0.0d; // Height for Primary Tick (for Mininum and Maximum value)
|
|||
var tickLen2 = 0.0d; // Height for Secondary Tick
|
|||
var logicalToPhysical = 1.0; |
|||
var progression = 1.0d; |
|||
var startPoint = new Point(); |
|||
var endPoint = new Point(); |
|||
var rSpace = Orientation == Orientation.Horizontal ? ReservedSpace.Width : ReservedSpace.Height; |
|||
|
|||
// Take Thumb size in to account
|
|||
double halfReservedSpace = rSpace * 0.5; |
|||
|
|||
switch (Placement) |
|||
{ |
|||
case TickBarPlacement.Top: |
|||
if (MathUtilities.GreaterThanOrClose(rSpace, size.Width)) |
|||
{ |
|||
return; |
|||
} |
|||
size = new Size(size.Width - rSpace, size.Height); |
|||
tickLen = -size.Height; |
|||
startPoint = new Point(halfReservedSpace, size.Height); |
|||
endPoint = new Point(halfReservedSpace + size.Width, size.Height); |
|||
logicalToPhysical = size.Width / range; |
|||
progression = 1; |
|||
break; |
|||
|
|||
case TickBarPlacement.Bottom: |
|||
if (MathUtilities.GreaterThanOrClose(rSpace, size.Width)) |
|||
{ |
|||
return; |
|||
} |
|||
size = new Size(size.Width - rSpace, size.Height); |
|||
tickLen = size.Height; |
|||
startPoint = new Point(halfReservedSpace, 0d); |
|||
endPoint = new Point(halfReservedSpace + size.Width, 0d); |
|||
logicalToPhysical = size.Width / range; |
|||
progression = 1; |
|||
break; |
|||
|
|||
case TickBarPlacement.Left: |
|||
if (MathUtilities.GreaterThanOrClose(rSpace, size.Height)) |
|||
{ |
|||
return; |
|||
} |
|||
size = new Size(size.Width, size.Height - rSpace); |
|||
|
|||
tickLen = -size.Width; |
|||
startPoint = new Point(size.Width, size.Height + halfReservedSpace); |
|||
endPoint = new Point(size.Width, halfReservedSpace); |
|||
logicalToPhysical = size.Height / range * -1; |
|||
progression = -1; |
|||
break; |
|||
|
|||
case TickBarPlacement.Right: |
|||
if (MathUtilities.GreaterThanOrClose(rSpace, size.Height)) |
|||
{ |
|||
return; |
|||
} |
|||
size = new Size(size.Width, size.Height - rSpace); |
|||
tickLen = size.Width; |
|||
startPoint = new Point(0d, size.Height + halfReservedSpace); |
|||
endPoint = new Point(0d, halfReservedSpace); |
|||
logicalToPhysical = size.Height / range * -1; |
|||
progression = -1; |
|||
break; |
|||
}; |
|||
|
|||
tickLen2 = tickLen * 0.75; |
|||
|
|||
// Invert direciton of the ticks
|
|||
if (IsDirectionReversed) |
|||
{ |
|||
progression *= -progression; |
|||
logicalToPhysical *= -1; |
|||
|
|||
// swap startPoint & endPoint
|
|||
var pt = startPoint; |
|||
startPoint = endPoint; |
|||
endPoint = pt; |
|||
} |
|||
|
|||
var pen = new Pen(Fill, 1.0d); |
|||
|
|||
// Is it Vertical?
|
|||
if (Placement == TickBarPlacement.Left || Placement == TickBarPlacement.Right) |
|||
{ |
|||
// Reduce tick interval if it is more than would be visible on the screen
|
|||
double interval = TickFrequency; |
|||
if (interval > 0.0) |
|||
{ |
|||
double minInterval = (Maximum - Minimum) / size.Height; |
|||
if (interval < minInterval) |
|||
{ |
|||
interval = minInterval; |
|||
} |
|||
} |
|||
|
|||
// Draw Min & Max tick
|
|||
dc.DrawLine(pen, startPoint, new Point(startPoint.X + tickLen, startPoint.Y)); |
|||
dc.DrawLine(pen, new Point(startPoint.X, endPoint.Y), |
|||
new Point(startPoint.X + tickLen, endPoint.Y)); |
|||
|
|||
// This property is rarely set so let's try to avoid the GetValue
|
|||
// caching of the mutable default value
|
|||
var ticks = Ticks ?? null; |
|||
|
|||
// Draw ticks using specified Ticks collection
|
|||
if (ticks?.Count > 0) |
|||
{ |
|||
for (int i = 0; i < ticks.Count; i++) |
|||
{ |
|||
if (MathUtilities.LessThanOrClose(ticks[i], Minimum) || MathUtilities.GreaterThanOrClose(ticks[i], Maximum)) |
|||
{ |
|||
continue; |
|||
} |
|||
|
|||
double adjustedTick = ticks[i] - Minimum; |
|||
|
|||
double y = adjustedTick * logicalToPhysical + startPoint.Y; |
|||
dc.DrawLine(pen, |
|||
new Point(startPoint.X, y), |
|||
new Point(startPoint.X + tickLen2, y)); |
|||
} |
|||
} |
|||
// Draw ticks using specified TickFrequency
|
|||
else if (interval > 0.0) |
|||
{ |
|||
for (double i = interval; i < range; i += interval) |
|||
{ |
|||
double y = i * logicalToPhysical + startPoint.Y; |
|||
|
|||
dc.DrawLine(pen, |
|||
new Point(startPoint.X, y), |
|||
new Point(startPoint.X + tickLen2, y)); |
|||
} |
|||
} |
|||
} |
|||
else // Placement == Top || Placement == Bottom
|
|||
{ |
|||
// Reduce tick interval if it is more than would be visible on the screen
|
|||
double interval = TickFrequency; |
|||
if (interval > 0.0) |
|||
{ |
|||
double minInterval = (Maximum - Minimum) / size.Width; |
|||
if (interval < minInterval) |
|||
{ |
|||
interval = minInterval; |
|||
} |
|||
} |
|||
|
|||
// Draw Min & Max tick
|
|||
dc.DrawLine(pen, startPoint, new Point(startPoint.X, startPoint.Y + tickLen)); |
|||
dc.DrawLine(pen, new Point(endPoint.X, startPoint.Y), |
|||
new Point(endPoint.X, startPoint.Y + tickLen)); |
|||
|
|||
// This property is rarely set so let's try to avoid the GetValue
|
|||
// caching of the mutable default value
|
|||
var ticks = Ticks ?? null; |
|||
|
|||
// Draw ticks using specified Ticks collection
|
|||
if (ticks?.Count > 0) |
|||
{ |
|||
for (int i = 0; i < ticks.Count; i++) |
|||
{ |
|||
if (MathUtilities.LessThanOrClose(ticks[i], Minimum) || MathUtilities.GreaterThanOrClose(ticks[i], Maximum)) |
|||
{ |
|||
continue; |
|||
} |
|||
double adjustedTick = ticks[i] - Minimum; |
|||
|
|||
double x = adjustedTick * logicalToPhysical + startPoint.X; |
|||
dc.DrawLine(pen, |
|||
new Point(x, startPoint.Y), |
|||
new Point(x, startPoint.Y + tickLen2)); |
|||
} |
|||
} |
|||
// Draw ticks using specified TickFrequency
|
|||
else if (interval > 0.0) |
|||
{ |
|||
for (double i = interval; i < range; i += interval) |
|||
{ |
|||
double x = i * logicalToPhysical + startPoint.X; |
|||
dc.DrawLine(pen, |
|||
new Point(x, startPoint.Y), |
|||
new Point(x, startPoint.Y + tickLen2)); |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,25 @@ |
|||
namespace Avalonia.Controls |
|||
{ |
|||
public enum WindowTransparencyLevel |
|||
{ |
|||
/// <summary>
|
|||
/// The window background is Black where nothing is drawn in the window.
|
|||
/// </summary>
|
|||
None, |
|||
|
|||
/// <summary>
|
|||
/// The window background is Transparent where nothing is drawn in the window.
|
|||
/// </summary>
|
|||
Transparent, |
|||
|
|||
/// <summary>
|
|||
/// The window background is a blur-behind where nothing is drawn in the window.
|
|||
/// </summary>
|
|||
Blur, |
|||
|
|||
/// <summary>
|
|||
/// The window background is a blur-behind with a high blur radius. This level may fallback to Blur.
|
|||
/// </summary>
|
|||
AcrylicBlur |
|||
} |
|||
} |
|||
@ -0,0 +1,24 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<Style.Resources> |
|||
<!-- https://docs.microsoft.com/en-us/previous-versions/windows/apps/dn518235(v=win.10)?redirectedfrom=MSDN --> |
|||
<!-- SystemColor Color Resources (Reflect OS High Contrast Settings) --> |
|||
<Color x:Key="SystemColorButtonFaceColor">#FFF0F0F0</Color> |
|||
<Color x:Key="SystemColorButtonTextColor">#FF000000</Color> |
|||
<Color x:Key="SystemColorGrayText">#FF6D6D6D</Color> |
|||
<Color x:Key="SystemColorHighlight">#FF3399FF</Color> |
|||
<Color x:Key="SystemColorHighlightText">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemColorHotlight">#FF0066CC</Color> |
|||
<Color x:Key="SystemColorWindow">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemColorWindowText">#FF000000</Color> |
|||
<FontFamily x:Key="ContentControlThemeFontFamily">Segoe UI</FontFamily> |
|||
<sys:Double x:Key="ControlContentThemeFontSize">14</sys:Double> |
|||
|
|||
<SolidColorBrush x:Key="SystemControlTransparentBrush" Color="Transparent" /> |
|||
<x:Boolean x:Key="UseSystemFocusVisuals">True</x:Boolean> |
|||
<Thickness x:Key="TextControlBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="TextControlBorderThemeThicknessFocused">2</Thickness> |
|||
<Thickness x:Key="TextControlThemePadding">10,6,6,5</Thickness> |
|||
</Style.Resources> |
|||
</Style> |
|||
@ -0,0 +1,352 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<Style.Resources> |
|||
<!-- Accent Colours --> |
|||
<!-- TODO pull accents from system... algorithm to generate shades --> |
|||
<Color x:Key="SystemAccentColor">#FF0078D7</Color> |
|||
<Color x:Key="SystemAccentColorDark1">#FF005A9E</Color> |
|||
<Color x:Key="SystemAccentColorDark2">#FF004275</Color> |
|||
<Color x:Key="SystemAccentColorDark3">#FF002642</Color> |
|||
<Color x:Key="SystemAccentColorLight1">#FF429CE3</Color> |
|||
<Color x:Key="SystemAccentColorLight2">#FF76B9ED</Color> |
|||
<Color x:Key="SystemAccentColorLight3">#FFA6D8FF</Color> |
|||
|
|||
<!-- System Control Colors --> |
|||
<Color x:Key="SystemAltHighColor">#FF000000</Color> |
|||
<Color x:Key="SystemAltLowColor">#33000000</Color> |
|||
<Color x:Key="SystemAltMediumColor">#99000000</Color> |
|||
<Color x:Key="SystemAltMediumHighColor">#CC000000</Color> |
|||
<Color x:Key="SystemAltMediumLowColor">#66000000</Color> |
|||
<Color x:Key="SystemBaseHighColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemBaseLowColor">#33FFFFFF</Color> |
|||
<Color x:Key="SystemBaseMediumColor">#99FFFFFF</Color> |
|||
<Color x:Key="SystemBaseMediumHighColor">#CCFFFFFF</Color> |
|||
<Color x:Key="SystemBaseMediumLowColor">#66FFFFFF</Color> |
|||
<Color x:Key="SystemChromeAltLowColor">#FFF2F2F2</Color> |
|||
<Color x:Key="SystemChromeBlackHighColor">#FF000000</Color> |
|||
<Color x:Key="SystemChromeBlackLowColor">#33000000</Color> |
|||
<Color x:Key="SystemChromeBlackMediumLowColor">#66000000</Color> |
|||
<Color x:Key="SystemChromeBlackMediumColor">#CC000000</Color> |
|||
<Color x:Key="SystemChromeDisabledHighColor">#FF333333</Color> |
|||
<Color x:Key="SystemChromeDisabledLowColor">#FF858585</Color> |
|||
<Color x:Key="SystemChromeHighColor">#FF767676</Color> |
|||
<Color x:Key="SystemChromeLowColor">#FF171717</Color> |
|||
<Color x:Key="SystemChromeMediumColor">#FF1F1F1F</Color> |
|||
<Color x:Key="SystemChromeMediumLowColor">#FF2B2B2B</Color> |
|||
<Color x:Key="SystemChromeWhiteColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemChromeGrayColor">#FF767676</Color> |
|||
<Color x:Key="SystemListLowColor">#19FFFFFF</Color> |
|||
<Color x:Key="SystemListMediumColor">#33FFFFFF</Color> |
|||
<Color x:Key="SystemErrorTextColor">#FFF000</Color> |
|||
|
|||
<SolidColorBrush x:Key="SystemControlBackgroundAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundAltHighBrush" Color="{StaticResource SystemAltHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundAltMediumHighBrush" Color="{StaticResource SystemAltMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundAltMediumBrush" Color="{StaticResource SystemAltMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundAltMediumLowBrush" Color="{StaticResource SystemAltMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeBlackHighBrush" Color="{StaticResource SystemChromeBlackHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeBlackMediumBrush" Color="{StaticResource SystemChromeBlackMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeBlackLowBrush" Color="{StaticResource SystemChromeBlackLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeBlackMediumLowBrush" Color="{StaticResource SystemChromeBlackMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeMediumBrush" Color="{StaticResource SystemChromeMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeMediumLowBrush" Color="{StaticResource SystemChromeMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeWhiteBrush" Color="{StaticResource SystemChromeWhiteColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundListLowBrush" Color="{StaticResource SystemListLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundListMediumBrush" Color="{StaticResource SystemListMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledChromeDisabledHighBrush" Color="{StaticResource SystemChromeDisabledHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledChromeDisabledLowBrush" Color="{StaticResource SystemChromeDisabledLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledChromeHighBrush" Color="{StaticResource SystemChromeHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledChromeMediumLowBrush" Color="{StaticResource SystemChromeMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledListMediumBrush" Color="{StaticResource SystemListMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlFocusVisualPrimaryBrush" Color="{DynamicResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlFocusVisualSecondaryBrush" Color="{DynamicResource SystemAltMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlRevealFocusVisualBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundAltHighBrush" Color="{StaticResource SystemAltHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundAltMediumHighBrush" Color="{StaticResource SystemAltMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeBlackHighBrush" Color="{StaticResource SystemChromeBlackHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeHighBrush" Color="{StaticResource SystemChromeHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeMediumBrush" Color="{StaticResource SystemChromeMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeWhiteBrush" Color="{StaticResource SystemChromeWhiteColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeDisabledLowBrush" Color="{StaticResource SystemChromeDisabledLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeGrayBrush" Color="{StaticResource SystemChromeGrayColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundListLowBrush" Color="{StaticResource SystemListLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundListMediumBrush" Color="{StaticResource SystemListMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeBlackMediumBrush" Color="{StaticResource SystemChromeBlackMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeBlackMediumLowBrush" Color="{StaticResource SystemChromeBlackMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltAltHighBrush" Color="{StaticResource SystemAltHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltAltMediumHighBrush" Color="{StaticResource SystemAltMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltListAccentHighBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.9" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltListAccentLowBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.6" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltListAccentMediumBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.8" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltChromeWhiteBrush" Color="{StaticResource SystemChromeWhiteColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightChromeAltLowBrush" Color="{StaticResource SystemChromeAltLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightChromeHighBrush" Color="{StaticResource SystemChromeHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListAccentHighBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.9" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListAccentLowBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.6" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListAccentMediumBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.8" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListMediumBrush" Color="{StaticResource SystemListMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListLowBrush" Color="{StaticResource SystemListLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightChromeWhiteBrush" Color="{StaticResource SystemChromeWhiteColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlHyperlinkTextBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHyperlinkBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHyperlinkBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHyperlinkBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundAltMediumBrush" Color="{StaticResource SystemAltMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundAltHighBrush" Color="{StaticResource SystemAltHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundMediumAltMediumBrush" Color="{StaticResource SystemAltMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundListLowBrush" Color="{StaticResource SystemListLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundChromeLowBrush" Color="{StaticResource SystemChromeLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundChromeMediumLowBrush" Color="{StaticResource SystemChromeMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlPageTextBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageTextBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageTextChromeBlackMediumLowBrush" Color="{StaticResource SystemChromeBlackMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlErrorTextForegroundBrush" Color="{StaticResource SystemErrorTextColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlTransientBorderBrush" Color="#000000" Opacity="0.36" /> |
|||
<!-- TODO implement AcrylicBrush --> |
|||
<!--<AcrylicBrush x:Key="SystemControlTransientBackgroundBrush" BackgroundSource="HostBackdrop" TintColor="{StaticResource SystemChromeAltHighColor}" TintOpacity="0.8" FallbackColor="{StaticResource SystemChromeMediumLowColor}" />--> |
|||
<SolidColorBrush x:Key="SystemControlTransientBackgroundBrush" Color="{StaticResource SystemChromeMediumLowColor}" /> |
|||
<StaticResource x:Key="SystemControlDescriptionTextForegroundBrush" ResourceKey="SystemControlPageTextBaseMediumBrush" /> |
|||
<x:Boolean x:Key="IsApplicationFocusVisualKindReveal">False</x:Boolean> |
|||
|
|||
|
|||
<!-- Default Control Settings --> |
|||
<FontFamily x:Key="ContentControlThemeFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="MTCMediaFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="PhoneFontFamilyNormal">Segoe WP</FontFamily> |
|||
<FontFamily x:Key="PhoneFontFamilySemiLight">Segoe WP SemiLight</FontFamily> |
|||
<FontFamily x:Key="PivotHeaderItemFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="PivotTitleFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="SettingsFlyoutHeaderThemeFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="SymbolThemeFontFamily">Segoe MDL2 Assets</FontFamily> |
|||
<FontFamily x:Key="KeyTipFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<x:Double x:Key="AppBarExpandButtonThemeHeight">24</x:Double> |
|||
<x:Double x:Key="AppBarExpandButtonThemeWidth">48</x:Double> |
|||
<x:Double x:Key="AppBarThemeMinHeight">56</x:Double> |
|||
<x:Double x:Key="AppBarThemeMinimalHeight">24</x:Double> |
|||
<x:Double x:Key="AppBarThemeCompactHeight">40</x:Double> |
|||
<x:Double x:Key="AppBarExpandButtonCircleDiameter">3</x:Double> |
|||
<x:Double x:Key="AutoCompleteListMaxHeight">374</x:Double> |
|||
<x:Double x:Key="AutoCompleteListBorderOpacity">0</x:Double> |
|||
<Thickness x:Key="CheckBoxBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="CheckBoxCheckedStrokeThickness">0</Thickness> |
|||
<x:Double x:Key="ComboBoxArrowThemeFontSize">21</x:Double> |
|||
<x:Double x:Key="ComboBoxThemeMinWidth">64</x:Double> |
|||
<x:Double x:Key="ComboBoxPopupThemeMinWidth">80</x:Double> |
|||
<x:Double x:Key="ComboBoxPopupThemeTouchMinWidth">240</x:Double> |
|||
<x:Double x:Key="ControlContentThemeFontSize">14</x:Double> |
|||
<x:Double x:Key="ContentControlFontSize">14</x:Double> |
|||
<x:Double x:Key="ContentDialogMinWidth">320</x:Double> |
|||
<x:Double x:Key="ContentDialogMaxWidth">548</x:Double> |
|||
<x:Double x:Key="ContentDialogMinHeight">184</x:Double> |
|||
<x:Double x:Key="ContentDialogMaxHeight">756</x:Double> |
|||
<x:Double x:Key="ContentDialogButtonMinWidth">130</x:Double> |
|||
<x:Double x:Key="ContentDialogButtonMaxWidth">202</x:Double> |
|||
<x:Double x:Key="ContentDialogButtonMinHeight">32</x:Double> |
|||
<x:Double x:Key="ContentDialogButtonHeight">32</x:Double> |
|||
<x:Double x:Key="ContentDialogTitleMaxHeight">56</x:Double> |
|||
<x:Double x:Key="DatePickerSelectorThemeMinWidth">80</x:Double> |
|||
<x:Double x:Key="DatePickerSpacingThemeWidth">20</x:Double> |
|||
<x:Double x:Key="DatePickerSpacingThemeHeight">20</x:Double> |
|||
<x:Double x:Key="FlyoutThemeMaxHeight">758</x:Double> |
|||
<x:Double x:Key="FlyoutThemeMaxWidth">456</x:Double> |
|||
<x:Double x:Key="FlyoutThemeMinHeight">40</x:Double> |
|||
<x:Double x:Key="FlyoutThemeMinWidth">96</x:Double> |
|||
<x:Double x:Key="FlyoutThemeTouchMinWidth">240</x:Double> |
|||
<x:Double x:Key="GridViewItemSelectedBorderThemeThickness">4</x:Double> |
|||
<x:Double x:Key="HubHeaderThemeFontSize">34</x:Double> |
|||
<x:Double x:Key="HubSectionHeaderThemeFontSize">20</x:Double> |
|||
<x:Double x:Key="HubSectionHeaderSeeMoreThemeFontSize">14</x:Double> |
|||
<x:Double x:Key="ListPickerFlyoutFooterThemeHeight">80</x:Double> |
|||
<x:Double x:Key="GridViewItemReorderHintThemeOffset">16.0</x:Double> |
|||
<x:Double x:Key="MTCControlPanelHeight">42</x:Double> |
|||
<x:Double x:Key="MTCHorizontalVolumeSliderWidth">180</x:Double> |
|||
<x:Double x:Key="MTCMediaFontSize">12</x:Double> |
|||
<x:Double x:Key="MTCMediaButtonHeight">48</x:Double> |
|||
<x:Double x:Key="MTCMediaButtonWidth">48</x:Double> |
|||
<x:Double x:Key="MTCPositionSliderMinimumWidth">96</x:Double> |
|||
<x:Double x:Key="MTCSideMargins">16</x:Double> |
|||
<x:Double x:Key="MTCTimeButtonHeight">21</x:Double> |
|||
<x:Double x:Key="MTCTimeButtonWidth">62</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeHostVerticalOffset">-112</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeHostWidth">42</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeSliderMaxHeight">289</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeSliderMinHeight">96</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeSliderTopGap">8</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeSliderTopPadding">16</x:Double> |
|||
<x:Double x:Key="PivotHeaderItemFontSize">24</x:Double> |
|||
<x:Double x:Key="PivotHeaderItemLockedTranslation">40</x:Double> |
|||
<x:Double x:Key="PivotTitleFontSize">14</x:Double> |
|||
<x:Double x:Key="ProgressBarIndicatorPauseOpacity">0.6</x:Double> |
|||
<x:Double x:Key="ProgressBarThemeMinHeight">4</x:Double> |
|||
<x:Double x:Key="RadioButtonBorderThemeThickness">2</x:Double> |
|||
<x:Double x:Key="ScrollBarTrackBorderThemeThickness">0</x:Double> |
|||
<x:Double x:Key="SearchBoxContentThemeFontSize">14</x:Double> |
|||
<x:Double x:Key="SearchBoxResultSuggestionImageThemeWidth">32</x:Double> |
|||
<x:Double x:Key="SearchBoxResultSuggestionImageThemeHeight">32</x:Double> |
|||
<x:Double x:Key="SearchBoxSuggestionPopupThemeMinWidth">270</x:Double> |
|||
<x:Double x:Key="SearchBoxSuggestionPopupThemeMaxHeight">300</x:Double> |
|||
<x:Double x:Key="SearchBoxTextBoxThemeMinHeight">28</x:Double> |
|||
<x:Double x:Key="SemanticZoomButtonFontSize">4</x:Double> |
|||
<x:Double x:Key="SettingsFlyoutHeaderThemeFontSize">26.667</x:Double> |
|||
|
|||
<x:Double x:Key="SliderOutsideTickBarThemeHeight">4</x:Double> |
|||
<x:Double x:Key="SliderTrackThemeHeight">2</x:Double> |
|||
<x:Double x:Key="SplitViewOpenPaneThemeLength">320</x:Double> |
|||
<x:Double x:Key="SplitViewCompactPaneThemeLength">48</x:Double> |
|||
<x:Double x:Key="TextControlBackgroundThemeOpacity">0.8</x:Double> |
|||
<x:Double x:Key="TextControlBorderThemeOpacity">0.8</x:Double> |
|||
<x:Double x:Key="TextControlBorderThemeBrushOpacity">1</x:Double> |
|||
<x:Double x:Key="TextControlPointerOverBackgroundThemeOpacity">0.87</x:Double> |
|||
<x:Double x:Key="TextControlPointerOverBorderThemeOpacity">0.87</x:Double> |
|||
<x:Double x:Key="TextControlPointerOverBorderThemeBrushOpacity">1</x:Double> |
|||
<x:Double x:Key="TextControlBackgroundRestOpacity">0.4</x:Double> |
|||
<x:Double x:Key="TextControlBackgroundHoverOpacity">0.6</x:Double> |
|||
<x:Double x:Key="TextControlBackgroundFocusedOpacity">1</x:Double> |
|||
<x:Double x:Key="TextControlThemeMinHeight">32</x:Double> |
|||
<x:Double x:Key="TextControlThemeMinWidth">64</x:Double> |
|||
<x:Double x:Key="TextStyleLargeFontSize">18.14</x:Double> |
|||
<x:Double x:Key="TextStyleExtraLargeFontSize">25.5</x:Double> |
|||
|
|||
<x:Double x:Key="TimePickerSelectorThemeMinWidth">80</x:Double> |
|||
<x:Double x:Key="ToolTipContentThemeFontSize">12</x:Double> |
|||
<x:Double x:Key="ListViewHeaderItemMinHeight">44</x:Double> |
|||
<x:Double x:Key="GridViewHeaderItemMinHeight">44</x:Double> |
|||
<x:Double x:Key="ListViewHeaderItemThemeFontSize">20</x:Double> |
|||
<x:Double x:Key="GridViewHeaderItemThemeFontSize">20</x:Double> |
|||
|
|||
<x:Double x:Key="ToggleSwitchOnStrokeThickness">0</x:Double> |
|||
<x:Double x:Key="GridViewItemMinWidth">44</x:Double> |
|||
<x:Double x:Key="GridViewItemMinHeight">44</x:Double> |
|||
<x:Double x:Key="KeyTipContentThemeFontSize">12</x:Double> |
|||
<x:Int32 x:Key="PivotHeaderItemCharacterSpacing">-25</x:Int32> |
|||
<Thickness x:Key="AppBarBottomBorderThemeThickness">0,0,0,0</Thickness> |
|||
<Thickness x:Key="AppBarBottomThemePadding">0,0,0,0</Thickness> |
|||
<Thickness x:Key="AppBarTopBorderThemeThickness">0,0,0,0</Thickness> |
|||
<Thickness x:Key="AppBarTopThemePadding">0,0,0,0</Thickness> |
|||
<Thickness x:Key="AppBarExpandButtonCircleInnerPadding">3,0,3,0</Thickness> |
|||
<Thickness x:Key="AutoCompleteListBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="AutoCompleteListMargin">0,2,0,2</Thickness> |
|||
<Thickness x:Key="AutoCompleteListPadding">-1,0,-1,0</Thickness> |
|||
<Thickness x:Key="AutoCompleteListViewItemMargin">12,11,0,13</Thickness> |
|||
<Thickness x:Key="ButtonBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="CalendarDatePickerBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="ComboBoxBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownBorderThickness">1</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownBorderPadding">0</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownContentMargin">0,4,0,4</Thickness> |
|||
<Thickness x:Key="ComboBoxHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="ComboBoxPopupBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemePadding">11,5,11,7</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemeTouchPadding">11,11,11,13</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemeGameControllerPadding">11,11,11,13</Thickness> |
|||
<Thickness x:Key="ContentDialogBorderWidth">1</Thickness> |
|||
<Thickness x:Key="ContentDialogButton1HostMargin">0,0,4,0</Thickness> |
|||
<Thickness x:Key="ContentDialogButton2HostMargin">0,0,0,0</Thickness> |
|||
<Thickness x:Key="ContentDialogContentMargin">0,0,0,0</Thickness> |
|||
<Thickness x:Key="ContentDialogContentScrollViewerMargin">0,0,0,0</Thickness> |
|||
<Thickness x:Key="ContentDialogCommandSpaceMargin">0,24,0,0</Thickness> |
|||
<Thickness x:Key="ContentDialogTitleMargin">0,0,0,12</Thickness> |
|||
<Thickness x:Key="ContentDialogPadding">24,18,24,24</Thickness> |
|||
<Thickness x:Key="DatePickerHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutBorderThickness">1</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutBorderPadding">0</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutButtonBorderThickness">0</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutContentPanelPortraitThemeMargin">0,37,0,0</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutContentPanelLandscapeThemeMargin">0,19,0,0</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutTitleThemeMargin">19,0,19,17.5</Thickness> |
|||
<Thickness x:Key="FlipViewButtonBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="FlyoutContentThemeMargin">0,0,0,0</Thickness> |
|||
<Thickness x:Key="FlyoutContentThemePadding">12,11,12,12</Thickness> |
|||
<Thickness x:Key="GridViewItemCompactSelectedBorderThemeThickness">4</Thickness> |
|||
<Thickness x:Key="GridViewItemMultiselectBorderThickness">2.5</Thickness> |
|||
<Thickness x:Key="HandwritingViewExpandedButtonMargin">5,6,5,6</Thickness> |
|||
<Thickness x:Key="HubSectionHeaderThemeMargin">0,0,0,9</Thickness> |
|||
<Thickness x:Key="HubSectionHeaderSeeMoreThemeMargin">24,0,0,11</Thickness> |
|||
<Thickness x:Key="HyperlinkButtonBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="ListPickerFlyoutPresenterMultiselectCheckBoxMargin">0,9.5,0,0</Thickness> |
|||
<Thickness x:Key="ListPickerFlyoutPresenterItemMargin">0,0,0,19</Thickness> |
|||
<Thickness x:Key="PickerFlyoutContentPanelLandscapeThemeMargin">19,19,19,0</Thickness> |
|||
<Thickness x:Key="PickerFlyoutContentPanelPortraitThemeMargin">19,37,19,0</Thickness> |
|||
<Thickness x:Key="PickerFlyoutTitleThemeMargin">0,0,0,32.5</Thickness> |
|||
<Thickness x:Key="PivotHeaderItemMargin">12,0,12,0</Thickness> |
|||
<Thickness x:Key="PivotItemMargin">12,0,12,0</Thickness> |
|||
<Thickness x:Key="PivotLandscapeThemePadding">12,14,0,13</Thickness> |
|||
<Thickness x:Key="PivotNavButtonBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="PivotNavButtonMargin">0,6,0,0</Thickness> |
|||
<Thickness x:Key="PivotPortraitThemePadding">12,14,0,13</Thickness> |
|||
<Thickness x:Key="ProgressBarBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="RepeatButtonBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="ScrollBarPanningBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="SearchBoxQuerySuggestionThemeMargin">12,11,8,13</Thickness> |
|||
<Thickness x:Key="SearchBoxResultSuggestionThemeMargin">12,11,8,13</Thickness> |
|||
<Thickness x:Key="SearchBoxSeparatorSuggestionThemeMargin">12,11,8,13</Thickness> |
|||
<Thickness x:Key="SearchBoxSuggestionSubcomponentThemeMargin">0,0,12,0</Thickness> |
|||
<Thickness x:Key="SearchBoxThemePadding">12,4,8,4</Thickness> |
|||
<Thickness x:Key="SearchBoxIMECandidateListSeparatorThemeThickness">0,2,0,0</Thickness> |
|||
<Thickness x:Key="SearchBoxBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="SliderBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="SliderHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="SplitViewLeftBorderThemeThickness">0,0,1,0</Thickness> |
|||
<Thickness x:Key="SplitViewRightBorderThemeThickness">1,0,0,0</Thickness> |
|||
<Thickness x:Key="TextControlBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="TextControlMarginThemeThickness">0,9.5,0,9.5</Thickness> |
|||
<Thickness x:Key="TextControlThemePadding">10,3,6,6</Thickness> |
|||
<Thickness x:Key="HelperButtonThemePadding">0,0,-2,0</Thickness> |
|||
<Thickness x:Key="TextControlPlaceholderThemePadding">12,5,10,5</Thickness> |
|||
<Thickness x:Key="TimePickerHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="TimePickerFirstHostThemeMargin">0,0,20,0</Thickness> |
|||
<Thickness x:Key="TimePickerThirdHostThemeMargin">20,0,0,0</Thickness> |
|||
<Thickness x:Key="ToggleButtonBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="KeyTipBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="KeyTipThemePadding">4</Thickness> |
|||
<FontWeight x:Key="ComboBoxHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="ComboBoxPlaceholderTextThemeFontWeight">SemiLight</FontWeight> |
|||
<FontWeight x:Key="DatePickerHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="PivotHeaderItemThemeFontWeight">SemiLight</FontWeight> |
|||
<FontWeight x:Key="PivotTitleThemeFontWeight">Bold</FontWeight> |
|||
<FontWeight x:Key="SearchBoxButtonThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="SearchBoxContentThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="TimePickerHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="SliderHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="HubHeaderThemeFontWeight">Light</FontWeight> |
|||
<FontWeight x:Key="HubSectionHeaderThemeFontWeight">Normal</FontWeight> |
|||
<GridLength x:Key="AppBarExpandButtonThemeWidthGridLength">48</GridLength> |
|||
<Thickness x:Key="MediaTransportControlsTitleSafeBounds">48,0,48,27</Thickness> |
|||
</Style.Resources> |
|||
</Style> |
|||
@ -0,0 +1,351 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<Style.Resources> |
|||
<!-- Accent Colours --> |
|||
<!-- TODO pull accents from system... algorithm to generate shades --> |
|||
<Color x:Key="SystemAccentColor">#FF0078D7</Color> |
|||
<Color x:Key="SystemAccentColorDark1">#FF005A9E</Color> |
|||
<Color x:Key="SystemAccentColorDark2">#FF004275</Color> |
|||
<Color x:Key="SystemAccentColorDark3">#FF002642</Color> |
|||
<Color x:Key="SystemAccentColorLight1">#FF429CE3</Color> |
|||
<Color x:Key="SystemAccentColorLight2">#FF76B9ED</Color> |
|||
<Color x:Key="SystemAccentColorLight3">#FFA6D8FF</Color> |
|||
|
|||
<!-- System Control Colors --> |
|||
<Color x:Key="SystemAltHighColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemAltLowColor">#33FFFFFF</Color> |
|||
<Color x:Key="SystemAltMediumColor">#99FFFFFF</Color> |
|||
<Color x:Key="SystemAltMediumHighColor">#CCFFFFFF</Color> |
|||
<Color x:Key="SystemAltMediumLowColor">#66FFFFFF</Color> |
|||
<Color x:Key="SystemBaseHighColor">#FF000000</Color> |
|||
<Color x:Key="SystemBaseLowColor">#33000000</Color> |
|||
<Color x:Key="SystemBaseMediumColor">#99000000</Color> |
|||
<Color x:Key="SystemBaseMediumHighColor">#CC000000</Color> |
|||
<Color x:Key="SystemBaseMediumLowColor">#66000000</Color> |
|||
<Color x:Key="SystemChromeAltLowColor">#FF171717</Color> |
|||
<Color x:Key="SystemChromeBlackHighColor">#FF000000</Color> |
|||
<Color x:Key="SystemChromeBlackLowColor">#33000000</Color> |
|||
<Color x:Key="SystemChromeBlackMediumLowColor">#66000000</Color> |
|||
<Color x:Key="SystemChromeBlackMediumColor">#CC000000</Color> |
|||
<Color x:Key="SystemChromeDisabledHighColor">#FFCCCCCC</Color> |
|||
<Color x:Key="SystemChromeDisabledLowColor">#FF7A7A7A</Color> |
|||
<Color x:Key="SystemChromeHighColor">#FFCCCCCC</Color> |
|||
<Color x:Key="SystemChromeLowColor">#FFF2F2F2</Color> |
|||
<Color x:Key="SystemChromeMediumColor">#FFE6E6E6</Color> |
|||
<Color x:Key="SystemChromeMediumLowColor">#FFF2F2F2</Color> |
|||
<Color x:Key="SystemChromeWhiteColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemChromeGrayColor">#FF767676</Color> |
|||
<Color x:Key="SystemListLowColor">#19000000</Color> |
|||
<Color x:Key="SystemListMediumColor">#33000000</Color> |
|||
<Color x:Key="SystemErrorTextColor">#C50500</Color> |
|||
|
|||
<SolidColorBrush x:Key="SystemControlBackgroundAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundAltHighBrush" Color="{StaticResource SystemAltHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundAltMediumHighBrush" Color="{StaticResource SystemAltMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundAltMediumBrush" Color="{StaticResource SystemAltMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundAltMediumLowBrush" Color="{StaticResource SystemAltMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeBlackHighBrush" Color="{StaticResource SystemChromeBlackHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeBlackMediumBrush" Color="{StaticResource SystemChromeBlackMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeBlackLowBrush" Color="{StaticResource SystemChromeBlackLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeBlackMediumLowBrush" Color="{StaticResource SystemChromeBlackMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeMediumBrush" Color="{StaticResource SystemChromeMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeMediumLowBrush" Color="{StaticResource SystemChromeMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundChromeWhiteBrush" Color="{StaticResource SystemChromeWhiteColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundListLowBrush" Color="{StaticResource SystemListLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlBackgroundListMediumBrush" Color="{StaticResource SystemListMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledChromeDisabledHighBrush" Color="{StaticResource SystemChromeDisabledHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledChromeDisabledLowBrush" Color="{StaticResource SystemChromeDisabledLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledChromeHighBrush" Color="{StaticResource SystemChromeHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledChromeMediumLowBrush" Color="{StaticResource SystemChromeMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledListMediumBrush" Color="{StaticResource SystemListMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlDisabledTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlFocusVisualPrimaryBrush" Color="{DynamicResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlFocusVisualSecondaryBrush" Color="{DynamicResource SystemAltMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlRevealFocusVisualBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundAltHighBrush" Color="{StaticResource SystemAltHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundAltMediumHighBrush" Color="{StaticResource SystemAltMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeBlackHighBrush" Color="{StaticResource SystemChromeBlackHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeHighBrush" Color="{StaticResource SystemChromeHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeMediumBrush" Color="{StaticResource SystemChromeMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeDisabledLowBrush" Color="{StaticResource SystemChromeDisabledLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeWhiteBrush" Color="{StaticResource SystemChromeWhiteColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeBlackMediumBrush" Color="{StaticResource SystemChromeBlackMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeBlackMediumLowBrush" Color="{StaticResource SystemChromeBlackMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundChromeGrayBrush" Color="{StaticResource SystemChromeGrayColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundListLowBrush" Color="{StaticResource SystemListLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundListMediumBrush" Color="{StaticResource SystemListMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlForegroundTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltAccentBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltAltHighBrush" Color="{StaticResource SystemAltHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltAltMediumHighBrush" Color="{StaticResource SystemAltMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltListAccentHighBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.7" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltListAccentLowBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.4" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltListAccentMediumBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.6" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltChromeWhiteBrush" Color="{StaticResource SystemChromeWhiteColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightAltTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightBaseMediumLowBrush" Color="{StaticResource SystemBaseMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightChromeAltLowBrush" Color="{StaticResource SystemChromeAltLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightChromeHighBrush" Color="{StaticResource SystemChromeHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListAccentHighBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.7" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListAccentLowBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.4" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListAccentMediumBrush" Color="{DynamicResource SystemAccentColor}" Opacity="0.6" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListMediumBrush" Color="{StaticResource SystemListMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightListLowBrush" Color="{StaticResource SystemListLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightChromeWhiteBrush" Color="{StaticResource SystemChromeWhiteColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHighlightTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlHyperlinkTextBrush" Color="{DynamicResource SystemAccentColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHyperlinkBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHyperlinkBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlHyperlinkBaseMediumHighBrush" Color="{StaticResource SystemBaseMediumHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundAltMediumBrush" Color="{StaticResource SystemAltMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundAltHighBrush" Color="{StaticResource SystemAltHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundMediumAltMediumBrush" Color="{StaticResource SystemAltMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundBaseLowBrush" Color="{StaticResource SystemBaseLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundListLowBrush" Color="{StaticResource SystemListLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundChromeLowBrush" Color="{StaticResource SystemChromeLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundChromeMediumLowBrush" Color="{StaticResource SystemChromeMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageBackgroundTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlPageTextBaseHighBrush" Color="{StaticResource SystemBaseHighColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageTextBaseMediumBrush" Color="{StaticResource SystemBaseMediumColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlPageTextChromeBlackMediumLowBrush" Color="{StaticResource SystemChromeBlackMediumLowColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlTransparentBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SystemControlErrorTextForegroundBrush" Color="{StaticResource SystemErrorTextColor}" /> |
|||
<SolidColorBrush x:Key="SystemControlTransientBorderBrush" Color="#000000" Opacity="0.14" /> |
|||
<!-- TODO implement AcrylicBrush --> |
|||
<!--<AcrylicBrush x:Key="SystemControlTransientBackgroundBrush" BackgroundSource="HostBackdrop" TintColor="{StaticResource SystemChromeAltHighColor}" TintOpacity="0.8" FallbackColor="{StaticResource SystemChromeMediumLowColor}" />--> |
|||
<SolidColorBrush x:Key="SystemControlTransientBackgroundBrush" Color="{StaticResource SystemChromeMediumLowColor}" /> |
|||
<StaticResource x:Key="SystemControlDescriptionTextForegroundBrush" ResourceKey="SystemControlPageTextBaseMediumBrush" /> |
|||
<x:Boolean x:Key="IsApplicationFocusVisualKindReveal">False</x:Boolean> |
|||
|
|||
<!-- Default Control Settings --> |
|||
<FontFamily x:Key="ContentControlThemeFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="MTCMediaFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="PhoneFontFamilyNormal">Segoe WP</FontFamily> |
|||
<FontFamily x:Key="PhoneFontFamilySemiLight">Segoe WP SemiLight</FontFamily> |
|||
<FontFamily x:Key="PivotHeaderItemFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="PivotTitleFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="SettingsFlyoutHeaderThemeFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<FontFamily x:Key="SymbolThemeFontFamily">Segoe MDL2 Assets</FontFamily> |
|||
<FontFamily x:Key="KeyTipFontFamily">XamlAutoFontFamily</FontFamily> |
|||
<x:Double x:Key="AppBarExpandButtonThemeHeight">24</x:Double> |
|||
<x:Double x:Key="AppBarExpandButtonThemeWidth">48</x:Double> |
|||
<x:Double x:Key="AppBarThemeMinHeight">56</x:Double> |
|||
<x:Double x:Key="AppBarThemeMinimalHeight">24</x:Double> |
|||
<x:Double x:Key="AppBarThemeCompactHeight">40</x:Double> |
|||
<x:Double x:Key="AppBarExpandButtonCircleDiameter">3</x:Double> |
|||
<x:Double x:Key="AutoCompleteListMaxHeight">374</x:Double> |
|||
<x:Double x:Key="AutoCompleteListBorderOpacity">0</x:Double> |
|||
<Thickness x:Key="CheckBoxBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="CheckBoxCheckedStrokeThickness">0</Thickness> |
|||
<x:Double x:Key="ComboBoxArrowThemeFontSize">21</x:Double> |
|||
<x:Double x:Key="ComboBoxThemeMinWidth">64</x:Double> |
|||
<x:Double x:Key="ComboBoxPopupThemeMinWidth">80</x:Double> |
|||
<x:Double x:Key="ComboBoxPopupThemeTouchMinWidth">240</x:Double> |
|||
<x:Double x:Key="ControlContentThemeFontSize">14</x:Double> |
|||
<x:Double x:Key="ContentControlFontSize">14</x:Double> |
|||
<x:Double x:Key="ContentDialogMinWidth">320</x:Double> |
|||
<x:Double x:Key="ContentDialogMaxWidth">548</x:Double> |
|||
<x:Double x:Key="ContentDialogMinHeight">184</x:Double> |
|||
<x:Double x:Key="ContentDialogMaxHeight">756</x:Double> |
|||
<x:Double x:Key="ContentDialogButtonMinWidth">130</x:Double> |
|||
<x:Double x:Key="ContentDialogButtonMaxWidth">202</x:Double> |
|||
<x:Double x:Key="ContentDialogButtonMinHeight">32</x:Double> |
|||
<x:Double x:Key="ContentDialogButtonHeight">32</x:Double> |
|||
<x:Double x:Key="ContentDialogTitleMaxHeight">56</x:Double> |
|||
<x:Double x:Key="DatePickerSelectorThemeMinWidth">80</x:Double> |
|||
<x:Double x:Key="DatePickerSpacingThemeWidth">20</x:Double> |
|||
<x:Double x:Key="DatePickerSpacingThemeHeight">20</x:Double> |
|||
<x:Double x:Key="FlyoutThemeMaxHeight">758</x:Double> |
|||
<x:Double x:Key="FlyoutThemeMaxWidth">456</x:Double> |
|||
<x:Double x:Key="FlyoutThemeMinHeight">40</x:Double> |
|||
<x:Double x:Key="FlyoutThemeMinWidth">96</x:Double> |
|||
<x:Double x:Key="FlyoutThemeTouchMinWidth">240</x:Double> |
|||
<x:Double x:Key="GridViewItemSelectedBorderThemeThickness">4</x:Double> |
|||
<x:Double x:Key="HubHeaderThemeFontSize">34</x:Double> |
|||
<x:Double x:Key="HubSectionHeaderThemeFontSize">20</x:Double> |
|||
<x:Double x:Key="HubSectionHeaderSeeMoreThemeFontSize">14</x:Double> |
|||
<x:Double x:Key="ListPickerFlyoutFooterThemeHeight">80</x:Double> |
|||
<x:Double x:Key="GridViewItemReorderHintThemeOffset">16.0</x:Double> |
|||
<x:Double x:Key="MTCControlPanelHeight">42</x:Double> |
|||
<x:Double x:Key="MTCHorizontalVolumeSliderWidth">180</x:Double> |
|||
<x:Double x:Key="MTCMediaFontSize">12</x:Double> |
|||
<x:Double x:Key="MTCMediaButtonHeight">48</x:Double> |
|||
<x:Double x:Key="MTCMediaButtonWidth">48</x:Double> |
|||
<x:Double x:Key="MTCPositionSliderMinimumWidth">96</x:Double> |
|||
<x:Double x:Key="MTCSideMargins">16</x:Double> |
|||
<x:Double x:Key="MTCTimeButtonHeight">21</x:Double> |
|||
<x:Double x:Key="MTCTimeButtonWidth">62</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeHostVerticalOffset">-112</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeHostWidth">42</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeSliderMaxHeight">289</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeSliderMinHeight">96</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeSliderTopGap">8</x:Double> |
|||
<x:Double x:Key="MTCVerticalVolumeSliderTopPadding">16</x:Double> |
|||
<x:Double x:Key="PivotHeaderItemFontSize">24</x:Double> |
|||
<x:Double x:Key="PivotHeaderItemLockedTranslation">40</x:Double> |
|||
<x:Double x:Key="PivotTitleFontSize">14</x:Double> |
|||
<x:Double x:Key="ProgressBarIndicatorPauseOpacity">0.6</x:Double> |
|||
<x:Double x:Key="ProgressBarThemeMinHeight">4</x:Double> |
|||
<x:Double x:Key="RadioButtonBorderThemeThickness">2</x:Double> |
|||
<x:Double x:Key="ScrollBarTrackBorderThemeThickness">0</x:Double> |
|||
<x:Double x:Key="SearchBoxContentThemeFontSize">14</x:Double> |
|||
<x:Double x:Key="SearchBoxResultSuggestionImageThemeWidth">32</x:Double> |
|||
<x:Double x:Key="SearchBoxResultSuggestionImageThemeHeight">32</x:Double> |
|||
<x:Double x:Key="SearchBoxSuggestionPopupThemeMinWidth">270</x:Double> |
|||
<x:Double x:Key="SearchBoxSuggestionPopupThemeMaxHeight">300</x:Double> |
|||
<x:Double x:Key="SearchBoxTextBoxThemeMinHeight">28</x:Double> |
|||
<x:Double x:Key="SemanticZoomButtonFontSize">4</x:Double> |
|||
<x:Double x:Key="SettingsFlyoutHeaderThemeFontSize">26.667</x:Double> |
|||
|
|||
<x:Double x:Key="SliderOutsideTickBarThemeHeight">4</x:Double> |
|||
<x:Double x:Key="SliderTrackThemeHeight">2</x:Double> |
|||
<x:Double x:Key="SplitViewOpenPaneThemeLength">320</x:Double> |
|||
<x:Double x:Key="SplitViewCompactPaneThemeLength">48</x:Double> |
|||
<x:Double x:Key="TextControlBackgroundThemeOpacity">0.8</x:Double> |
|||
<x:Double x:Key="TextControlBorderThemeOpacity">0.45</x:Double> |
|||
<x:Double x:Key="TextControlBorderThemeBrushOpacity">0.5625</x:Double> |
|||
<x:Double x:Key="TextControlPointerOverBackgroundThemeOpacity">0.87</x:Double> |
|||
<x:Double x:Key="TextControlPointerOverBorderThemeOpacity">0.73</x:Double> |
|||
<x:Double x:Key="TextControlPointerOverBorderThemeBrushOpacity">0.839</x:Double> |
|||
<x:Double x:Key="TextControlBackgroundRestOpacity">0.4</x:Double> |
|||
<x:Double x:Key="TextControlBackgroundHoverOpacity">0.6</x:Double> |
|||
<x:Double x:Key="TextControlBackgroundFocusedOpacity">1</x:Double> |
|||
<x:Double x:Key="TextControlThemeMinHeight">32</x:Double> |
|||
<x:Double x:Key="TextControlThemeMinWidth">64</x:Double> |
|||
<x:Double x:Key="TextStyleLargeFontSize">18.14</x:Double> |
|||
<x:Double x:Key="TextStyleExtraLargeFontSize">25.5</x:Double> |
|||
|
|||
<x:Double x:Key="TimePickerSelectorThemeMinWidth">80</x:Double> |
|||
<x:Double x:Key="ToolTipContentThemeFontSize">12</x:Double> |
|||
<x:Double x:Key="ListViewHeaderItemMinHeight">44</x:Double> |
|||
<x:Double x:Key="GridViewHeaderItemMinHeight">44</x:Double> |
|||
<x:Double x:Key="ListViewHeaderItemThemeFontSize">20</x:Double> |
|||
<x:Double x:Key="GridViewHeaderItemThemeFontSize">20</x:Double> |
|||
|
|||
<x:Double x:Key="ToggleSwitchOnStrokeThickness">0</x:Double> |
|||
<x:Double x:Key="GridViewItemMinWidth">44</x:Double> |
|||
<x:Double x:Key="GridViewItemMinHeight">44</x:Double> |
|||
<x:Double x:Key="KeyTipContentThemeFontSize">12</x:Double> |
|||
<x:Int32 x:Key="PivotHeaderItemCharacterSpacing">-25</x:Int32> |
|||
<Thickness x:Key="AppBarBottomBorderThemeThickness">0,0,0,0</Thickness> |
|||
<Thickness x:Key="AppBarBottomThemePadding">0,0,0,0</Thickness> |
|||
<Thickness x:Key="AppBarTopBorderThemeThickness">0,0,0,0</Thickness> |
|||
<Thickness x:Key="AppBarTopThemePadding">0,0,0,0</Thickness> |
|||
<Thickness x:Key="AppBarExpandButtonCircleInnerPadding">3,0,3,0</Thickness> |
|||
<Thickness x:Key="AutoCompleteListBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="AutoCompleteListMargin">0,2,0,2</Thickness> |
|||
<Thickness x:Key="AutoCompleteListPadding">-1,0,-1,0</Thickness> |
|||
<Thickness x:Key="AutoCompleteListViewItemMargin">12,11,0,13</Thickness> |
|||
<Thickness x:Key="ButtonBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="CalendarDatePickerBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="ComboBoxBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownBorderThickness">1</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownBorderPadding">0</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownContentMargin">0,4,0,4</Thickness> |
|||
<Thickness x:Key="ComboBoxHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="ComboBoxPopupBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemePadding">11,5,11,7</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemeTouchPadding">11,11,11,13</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemeGameControllerPadding">11,11,11,13</Thickness> |
|||
<Thickness x:Key="ContentDialogBorderWidth">1</Thickness> |
|||
<Thickness x:Key="ContentDialogButton1HostMargin">0,0,4,0</Thickness> |
|||
<Thickness x:Key="ContentDialogButton2HostMargin">0,0,0,0</Thickness> |
|||
<Thickness x:Key="ContentDialogContentMargin">0,0,0,0</Thickness> |
|||
<Thickness x:Key="ContentDialogContentScrollViewerMargin">0,0,0,0</Thickness> |
|||
<Thickness x:Key="ContentDialogCommandSpaceMargin">0,24,0,0</Thickness> |
|||
<Thickness x:Key="ContentDialogTitleMargin">0,0,0,12</Thickness> |
|||
<Thickness x:Key="ContentDialogPadding">24,18,24,24</Thickness> |
|||
<Thickness x:Key="DatePickerHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutBorderThickness">1</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutBorderPadding">0</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutButtonBorderThickness">0</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutContentPanelPortraitThemeMargin">0,37,0,0</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutContentPanelLandscapeThemeMargin">0,19,0,0</Thickness> |
|||
<Thickness x:Key="DateTimeFlyoutTitleThemeMargin">19,0,19,17.5</Thickness> |
|||
<Thickness x:Key="FlipViewButtonBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="FlyoutContentThemeMargin">0,0,0,0</Thickness> |
|||
<Thickness x:Key="FlyoutContentThemePadding">12,11,12,12</Thickness> |
|||
<Thickness x:Key="GridViewItemCompactSelectedBorderThemeThickness">4</Thickness> |
|||
<Thickness x:Key="GridViewItemMultiselectBorderThickness">2.5</Thickness> |
|||
<Thickness x:Key="HandwritingViewExpandedButtonMargin">5,6,5,6</Thickness> |
|||
<Thickness x:Key="HubSectionHeaderThemeMargin">0,0,0,9</Thickness> |
|||
<Thickness x:Key="HubSectionHeaderSeeMoreThemeMargin">24,0,0,11</Thickness> |
|||
<Thickness x:Key="HyperlinkButtonBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="ListPickerFlyoutPresenterMultiselectCheckBoxMargin">0,9.5,0,0</Thickness> |
|||
<Thickness x:Key="ListPickerFlyoutPresenterItemMargin">0,0,0,19</Thickness> |
|||
<Thickness x:Key="PickerFlyoutContentPanelLandscapeThemeMargin">19,19,19,0</Thickness> |
|||
<Thickness x:Key="PickerFlyoutContentPanelPortraitThemeMargin">19,37,19,0</Thickness> |
|||
<Thickness x:Key="PickerFlyoutTitleThemeMargin">0,0,0,32.5</Thickness> |
|||
<Thickness x:Key="PivotHeaderItemMargin">12,0,12,0</Thickness> |
|||
<Thickness x:Key="PivotItemMargin">12,0,12,0</Thickness> |
|||
<Thickness x:Key="PivotLandscapeThemePadding">12,14,0,13</Thickness> |
|||
<Thickness x:Key="PivotNavButtonBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="PivotNavButtonMargin">0,6,0,0</Thickness> |
|||
<Thickness x:Key="PivotPortraitThemePadding">12,14,0,13</Thickness> |
|||
<Thickness x:Key="ProgressBarBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="RepeatButtonBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="ScrollBarPanningBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="SearchBoxQuerySuggestionThemeMargin">12,11,8,13</Thickness> |
|||
<Thickness x:Key="SearchBoxResultSuggestionThemeMargin">12,11,8,13</Thickness> |
|||
<Thickness x:Key="SearchBoxSeparatorSuggestionThemeMargin">12,11,8,13</Thickness> |
|||
<Thickness x:Key="SearchBoxSuggestionSubcomponentThemeMargin">0,0,12,0</Thickness> |
|||
<Thickness x:Key="SearchBoxThemePadding">12,4,8,4</Thickness> |
|||
<Thickness x:Key="SearchBoxIMECandidateListSeparatorThemeThickness">0,2,0,0</Thickness> |
|||
<Thickness x:Key="SearchBoxBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="SliderBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="SliderHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="SplitViewLeftBorderThemeThickness">0,0,1,0</Thickness> |
|||
<Thickness x:Key="SplitViewRightBorderThemeThickness">1,0,0,0</Thickness> |
|||
<Thickness x:Key="TextControlBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="TextControlMarginThemeThickness">0,9.5,0,9.5</Thickness> |
|||
<Thickness x:Key="TextControlThemePadding">10,3,6,6</Thickness> |
|||
<Thickness x:Key="HelperButtonThemePadding">0,0,-2,0</Thickness> |
|||
<Thickness x:Key="TextControlPlaceholderThemePadding">12,5,10,5</Thickness> |
|||
<Thickness x:Key="TimePickerHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="TimePickerFirstHostThemeMargin">0,0,20,0</Thickness> |
|||
<Thickness x:Key="TimePickerThirdHostThemeMargin">20,0,0,0</Thickness> |
|||
<Thickness x:Key="ToggleButtonBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="KeyTipBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="KeyTipThemePadding">4</Thickness> |
|||
<FontWeight x:Key="ComboBoxHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="ComboBoxPlaceholderTextThemeFontWeight">SemiLight</FontWeight> |
|||
<FontWeight x:Key="DatePickerHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="PivotHeaderItemThemeFontWeight">SemiLight</FontWeight> |
|||
<FontWeight x:Key="PivotTitleThemeFontWeight">Bold</FontWeight> |
|||
<FontWeight x:Key="SearchBoxButtonThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="SearchBoxContentThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="TimePickerHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="SliderHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="HubHeaderThemeFontWeight">Light</FontWeight> |
|||
<FontWeight x:Key="HubSectionHeaderThemeFontWeight">Normal</FontWeight> |
|||
<GridLength x:Key="AppBarExpandButtonThemeWidthGridLength">48</GridLength> |
|||
<Thickness x:Key="MediaTransportControlsTitleSafeBounds">48,0,48,27</Thickness> |
|||
</Style.Resources> |
|||
</Style> |
|||
@ -0,0 +1,355 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<Style.Resources> |
|||
<Color x:Key="SystemAccentColor">#FF0078D7</Color> |
|||
<Color x:Key="SystemAltHighColor">#FF000000</Color> |
|||
<Color x:Key="SystemAltLowColor">#FF000000</Color> |
|||
<Color x:Key="SystemAltMediumColor">#FF000000</Color> |
|||
<Color x:Key="SystemAltMediumHighColor">#FF000000</Color> |
|||
<Color x:Key="SystemAltMediumLowColor">#FF000000</Color> |
|||
<Color x:Key="SystemBaseHighColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemBaseLowColor">#FF333333</Color> |
|||
<Color x:Key="SystemBaseMediumColor">#FF9A9A9A</Color> |
|||
<Color x:Key="SystemBaseMediumHighColor">#FFB4B4B4</Color> |
|||
<Color x:Key="SystemBaseMediumLowColor">#FF676767</Color> |
|||
<Color x:Key="SystemChromeAltLowColor">#FFB4B4B4</Color> |
|||
<Color x:Key="SystemChromeBlackHighColor">#FF000000</Color> |
|||
<Color x:Key="SystemChromeBlackLowColor">#FFB4B4B4</Color> |
|||
<Color x:Key="SystemChromeBlackMediumColor">#FF000000</Color> |
|||
<Color x:Key="SystemChromeBlackMediumLowColor">#FF000000</Color> |
|||
<Color x:Key="SystemChromeDisabledHighColor">#FF333333</Color> |
|||
<Color x:Key="SystemChromeDisabledLowColor">#FF9A9A9A</Color> |
|||
<Color x:Key="SystemChromeGrayColor">#FF808080</Color> |
|||
<Color x:Key="SystemChromeHighColor">#FF808080</Color> |
|||
<Color x:Key="SystemChromeLowColor">#FF151515</Color> |
|||
<Color x:Key="SystemChromeMediumColor">#FF1D1D1D</Color> |
|||
<Color x:Key="SystemChromeMediumLowColor">#FF2C2C2C</Color> |
|||
<Color x:Key="SystemChromeWhiteColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemListLowColor">#FF1D1D1D</Color> |
|||
<Color x:Key="SystemListMediumColor">#FF333333</Color> |
|||
<Color x:Key="SystemChromeAltMediumHighColor">#CC000000</Color> |
|||
<Color x:Key="SystemChromeAltHighColor">#FF333333</Color> |
|||
<Color x:Key="SystemRevealListLowColor">#FF1D1D1D</Color> |
|||
<Color x:Key="SystemRevealListMediumColor">#FF333333</Color> |
|||
<!--<AcrylicBrush x:Key="SystemControlAcrylicWindowBrush" BackgroundSource="HostBackdrop" TintColor="{ThemeResource SystemChromeAltHighColor}" TintOpacity="0.8" FallbackColor="{ThemeResource SystemChromeMediumColor}" />--> |
|||
<!--<RevealBackgroundBrush x:Key="SystemControlTransparentRevealBackgroundBrush" TargetTheme="Dark" Color="Transparent" FallbackColor="Transparent" />--> |
|||
<SolidColorBrush x:Key="SystemControlTransparentRevealBackgroundBrush" Color="Transparent" /> |
|||
<!--<RevealBorderBrush x:Key="SystemControlTransparentRevealBorderBrush" TargetTheme="Dark" Color="Transparent" FallbackColor="Transparent" />--> |
|||
<SolidColorBrush x:Key="SystemControlTransparentRevealBorderBrush" Color="Transparent" /> |
|||
|
|||
<!-- Override system shape defaults --> |
|||
<CornerRadius x:Key="ControlCornerRadius">2,2,2,2</CornerRadius> |
|||
<CornerRadius x:Key="OverlayCornerRadius">4,4,4,4</CornerRadius> |
|||
|
|||
<!-- Override system borders --> |
|||
<Thickness x:Key="MenuBarItemBorderThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="GridViewItemMultiselectBorderThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="CheckBoxBorderThemeThickness">1</Thickness> |
|||
<x:Double x:Key="GridViewItemSelectedBorderThemeThickness">1</x:Double> |
|||
<x:Double x:Key="RadioButtonBorderThemeThickness">1</x:Double> |
|||
<Thickness x:Key="ButtonBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="CalendarDatePickerBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="TimePickerBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="DatePickerBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ToggleSwitchOuterBorderStrokeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="RepeatButtonBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="SearchBoxBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ToggleButtonBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="TextControlBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="RepeatButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ToggleButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="AppBarEllipsisButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="AppBarButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="AppBarToggleButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ListViewItemRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="GridViewItemRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ComboBoxItemRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<x:Double x:Key="PersonPictureEllipseBadgeStrokeThickness">1</x:Double> |
|||
|
|||
<!-- Override system generated accent colors --> |
|||
<Color x:Key="SystemAccentColorDark1">#FF005A9E</Color> |
|||
<Color x:Key="SystemAccentColorDark2">#FF004275</Color> |
|||
<Color x:Key="SystemAccentColorDark3">#FF002642</Color> |
|||
<Color x:Key="SystemAccentColorLight1">#FF429CE3</Color> |
|||
<Color x:Key="SystemAccentColorLight2">#FF76B9ED</Color> |
|||
<Color x:Key="SystemAccentColorLight3">#FFA6D8FF</Color> |
|||
<Color x:Key="RegionColor">#FF000000</Color> |
|||
<SolidColorBrush x:Key="RegionBrush" Color="{StaticResource RegionColor}" /> |
|||
|
|||
<!-- BaseResources for Button.xaml --> |
|||
<StaticResource x:Key="ButtonBackground" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ButtonBackgroundPointerOver" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ButtonBackgroundPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ButtonForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundPointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundPressed" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrush" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" /> |
|||
|
|||
<!-- BaseResources for ComboBox.xaml --> |
|||
<StaticResource x:Key="ComboBoxItemForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelected" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedUnfocused" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundPressed" ResourceKey="SystemControlHighlightListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundPointerOver" ResourceKey="SystemControlHighlightListLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelected" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedUnfocused" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedPressed" ResourceKey="SystemControlHighlightListAccentHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedPointerOver" ResourceKey="SystemControlHighlightListAccentMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelected" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedUnfocused" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
|
|||
<StaticResource x:Key="ComboBoxBackground" ResourceKey="SystemControlBackgroundAltMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundPointerOver" ResourceKey="SystemControlPageBackgroundAltMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundPressed" ResourceKey="SystemControlBackgroundListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundUnfocused" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundBorderBrushFocused" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundBorderBrushUnfocused" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundFocused" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxPlaceHolderForeground" ResourceKey="SystemControlPageTextBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxPlaceHolderForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrush" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushPressed" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushDisabled" ResourceKey="SystemControlDisabledBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackgroundPointerOver" ResourceKey="SystemControlBackgroundListLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackgroundPointerPressed" ResourceKey="SystemControlBackgroundListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxFocusedDropDownBackgroundPointerOver" ResourceKey="SystemControlBackgroundChromeBlackLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxFocusedDropDownBackgroundPointerPressed" ResourceKey="SystemControlBackgroundChromeBlackMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForeground" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxEditableDropDownGlyphForeground" ResourceKey="SystemControlForegroundAltMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundFocused" ResourceKey="SystemControlHighlightAltBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackground" ResourceKey="SystemControlTransientBackgroundBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBorderBrush" ResourceKey="SystemControlTransientBorderBrush" /> |
|||
|
|||
<!-- BaseResources for ListBox.xaml --> |
|||
<Thickness x:Key="ListBoxBorderThemeThickness">0</Thickness> |
|||
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="#99000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> |
|||
|
|||
<!-- BaseResources for TextBox.xaml --> |
|||
<StaticResource x:Key="TextControlForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="TextControlForegroundPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="TextControlForegroundFocused" ResourceKey="SystemControlForegroundChromeBlackHighBrush" /> |
|||
<StaticResource x:Key="TextControlForegroundDisabled" ResourceKey="SystemControlDisabledChromeDisabledLowBrush" /> |
|||
<StaticResource x:Key="TextControlBackground" ResourceKey="SystemControlBackgroundAltMediumLowBrush" /> |
|||
<StaticResource x:Key="TextControlBackgroundPointerOver" ResourceKey="SystemControlBackgroundAltMediumBrush" /> |
|||
<StaticResource x:Key="TextControlBackgroundFocused" ResourceKey="SystemControlBackgroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="TextControlBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrush" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrushFocused" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrushDisabled" ResourceKey="SystemControlDisabledBaseLowBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForeground" ResourceKey="SystemControlPageTextBaseMediumBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForegroundPointerOver" ResourceKey="SystemControlPageTextBaseMediumBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForegroundFocused" ResourceKey="SystemControlPageTextChromeBlackMediumLowBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForegroundDisabled" ResourceKey="SystemControlDisabledChromeDisabledLowBrush" /> |
|||
<StaticResource x:Key="TextControlHeaderForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="TextControlHeaderForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="TextControlSelectionHighlightColor" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBackgroundPressed" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonForeground" ResourceKey="SystemControlForegroundChromeBlackMediumBrush" /> |
|||
<StaticResource x:Key="TextControlButtonForegroundPointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonForegroundPressed" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="ContentLinkForegroundColor" ResourceKey="SystemControlHyperlinkTextBrush" /> |
|||
<StaticResource x:Key="ContentLinkBackgroundColor" ResourceKey="SystemControlPageBackgroundChromeLowBrush" /> |
|||
|
|||
<!-- Resources for AutoCompleteBox.xaml --> |
|||
<StaticResource x:Key="AutoCompleteBoxLightDismissOverlayBackground" ResourceKey="SystemControlPageBackgroundMediumAltMediumBrush" /> |
|||
<StaticResource x:Key="AutoCompleteBoxSuggestionsListBackground" ResourceKey="SystemControlBackgroundChromeMediumLowBrush" /> |
|||
<StaticResource x:Key="AutoCompleteBoxSuggestionsListBorderBrush" ResourceKey="SystemControlForegroundChromeHighBrush" /> |
|||
<x:Double x:Key="AutoCompleteBoxIconFontSize">12</x:Double> |
|||
|
|||
<!-- BaseResources for CheckBox.xaml --> |
|||
<StaticResource x:Key="CheckBoxForegroundUnchecked" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundChecked" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminate" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminatePointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminatePressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminateDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundChecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminate" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminatePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminatePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushChecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminate" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminatePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminatePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUnchecked" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedPointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeChecked" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedPointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminate" ResourceKey="SystemControlForegroundAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminatePointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminatePressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminateDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedPressed" ResourceKey="SystemControlBackgroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillChecked" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedPointerOver" ResourceKey="SystemControlBackgroundAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedPressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminate" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminatePointerOver" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminatePressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUnchecked" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedPointerOver" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedPressed" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedDisabled" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundChecked" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedPointerOver" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedPressed" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminate" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminatePointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminatePressed" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminateDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
|
|||
<!-- BaseResources for RadioButton.xaml --> |
|||
<StaticResource x:Key="RadioButtonForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStroke" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokePointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokePressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokeDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFill" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStroke" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokePointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokePressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokeDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFill" ResourceKey="SystemControlHighlightAltTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillPointerOver" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFill" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillPressed" ResourceKey="SystemControlHighlightAltBaseMediumBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStroke" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokeDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
|
|||
<!-- BaseResources for Slider.xaml --> |
|||
<StaticResource x:Key="SliderContainerBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackground" ResourceKey="SystemControlForegroundAccentBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundPointerOver" ResourceKey="SystemControlHighlightChromeAltLowBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundPressed" ResourceKey="SystemControlHighlightChromeHighBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderTrackFill" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillPointerOver" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillPressed" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFill" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillPointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillPressed" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderHeaderForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="SliderHeaderForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTickBarFill" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTickBarFillDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderInlineTickBarFill" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
|
|||
<!-- Resources for ToolTip.xaml --> |
|||
<x:Double x:Key="ToolTipContentThemeFontSize">12</x:Double> |
|||
<Thickness x:Key="ToolTipBorderThemeThickness">1</Thickness> |
|||
<StaticResource x:Key="ToolTipForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ToolTipBackground" ResourceKey="SystemControlBackgroundChromeMediumLowBrush" /> |
|||
<StaticResource x:Key="ToolTipBorderBrush" ResourceKey="SystemControlForegroundChromeHighBrush" /> |
|||
<SolidColorBrush x:Key="ToolTipBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ToolTipBorderThemeBrush" Color="#FF808080" /> |
|||
<SolidColorBrush x:Key="ToolTipForegroundThemeBrush" Color="#FF666666" /> |
|||
</Style.Resources> |
|||
</Style> |
|||
@ -0,0 +1,356 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<Style.Resources> |
|||
<Color x:Key="SystemAccentColor">#FF0078D7</Color> |
|||
<Color x:Key="SystemAltHighColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemAltLowColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemAltMediumColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemAltMediumHighColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemAltMediumLowColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemBaseHighColor">#FF000000</Color> |
|||
<Color x:Key="SystemBaseLowColor">#FFCCCCCC</Color> |
|||
<Color x:Key="SystemBaseMediumColor">#FF898989</Color> |
|||
<Color x:Key="SystemBaseMediumHighColor">#FF5D5D5D</Color> |
|||
<Color x:Key="SystemBaseMediumLowColor">#FF737373</Color> |
|||
<Color x:Key="SystemChromeAltLowColor">#FF5D5D5D</Color> |
|||
<Color x:Key="SystemChromeBlackHighColor">#FF000000</Color> |
|||
<Color x:Key="SystemChromeBlackLowColor">#FFCCCCCC</Color> |
|||
<Color x:Key="SystemChromeBlackMediumColor">#FF5D5D5D</Color> |
|||
<Color x:Key="SystemChromeBlackMediumLowColor">#FF898989</Color> |
|||
<Color x:Key="SystemChromeDisabledHighColor">#FFCCCCCC</Color> |
|||
<Color x:Key="SystemChromeDisabledLowColor">#FF898989</Color> |
|||
<Color x:Key="SystemChromeGrayColor">#FF737373</Color> |
|||
<Color x:Key="SystemChromeHighColor">#FFCCCCCC</Color> |
|||
<Color x:Key="SystemChromeLowColor">#FFECECEC</Color> |
|||
<Color x:Key="SystemChromeMediumColor">#FFE6E6E6</Color> |
|||
<Color x:Key="SystemChromeMediumLowColor">#FFECECEC</Color> |
|||
<Color x:Key="SystemChromeWhiteColor">#FFFFFFFF</Color> |
|||
<Color x:Key="SystemListLowColor">#FFE6E6E6</Color> |
|||
<Color x:Key="SystemListMediumColor">#FFCCCCCC</Color> |
|||
<Color x:Key="SystemChromeAltMediumHighColor">#CCFFFFFF</Color> |
|||
<Color x:Key="SystemChromeAltHighColor">#FFCCCCCC</Color> |
|||
<Color x:Key="SystemRevealListLowColor">#FFE6E6E6</Color> |
|||
<Color x:Key="SystemRevealListMediumColor">#FFCCCCCC</Color> |
|||
<!--<AcrylicBrush x:Key="SystemControlAcrylicWindowBrush" BackgroundSource="HostBackdrop" TintColor="{ThemeResource SystemChromeAltHighColor}" TintOpacity="0.8" FallbackColor="{ThemeResource SystemChromeMediumColor}" />--> |
|||
<!--<RevealBackgroundBrush x:Key="SystemControlTransparentRevealBackgroundBrush" TargetTheme="Dark" Color="Transparent" FallbackColor="Transparent" />--> |
|||
<SolidColorBrush x:Key="SystemControlTransparentRevealBackgroundBrush" Color="Transparent" /> |
|||
<!--<RevealBorderBrush x:Key="SystemControlTransparentRevealBorderBrush" TargetTheme="Dark" Color="Transparent" FallbackColor="Transparent" />--> |
|||
<SolidColorBrush x:Key="SystemControlTransparentRevealBorderBrush" Color="Transparent" /> |
|||
|
|||
<!-- Override system shape defaults --> |
|||
<CornerRadius x:Key="ControlCornerRadius">2,2,2,2</CornerRadius> |
|||
<CornerRadius x:Key="OverlayCornerRadius">4,4,4,4</CornerRadius> |
|||
|
|||
<!-- Override system borders --> |
|||
<Thickness x:Key="MenuBarItemBorderThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="GridViewItemMultiselectBorderThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="CheckBoxBorderThemeThickness">1</Thickness> |
|||
<x:Double x:Key="GridViewItemSelectedBorderThemeThickness">1</x:Double> |
|||
<x:Double x:Key="RadioButtonBorderThemeThickness">1</x:Double> |
|||
<Thickness x:Key="ButtonBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="CalendarDatePickerBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="TimePickerBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="DatePickerBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ToggleSwitchOuterBorderStrokeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="RepeatButtonBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="SearchBoxBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ToggleButtonBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="TextControlBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="RepeatButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ToggleButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="AppBarEllipsisButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="AppBarButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="AppBarToggleButtonRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ListViewItemRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="GridViewItemRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<Thickness x:Key="ComboBoxItemRevealBorderThemeThickness">1,1,1,1</Thickness> |
|||
<x:Double x:Key="PersonPictureEllipseBadgeStrokeThickness">1</x:Double> |
|||
|
|||
<!-- Override system generated accent colors --> |
|||
<Color x:Key="SystemAccentColorDark1">#FF005A9E</Color> |
|||
<Color x:Key="SystemAccentColorDark2">#FF004275</Color> |
|||
<Color x:Key="SystemAccentColorDark3">#FF002642</Color> |
|||
<Color x:Key="SystemAccentColorLight1">#FF429CE3</Color> |
|||
<Color x:Key="SystemAccentColorLight2">#FF76B9ED</Color> |
|||
<Color x:Key="SystemAccentColorLight3">#FFA6D8FF</Color> |
|||
<!--<RevealBackgroundBrush x:Key="SystemControlHighlightListLowRevealBackgroundBrush" TargetTheme="Light" Color="{ThemeResource SystemRevealListMediumColor}" FallbackColor="{ StaticResource SystemListMediumColor}" />--> |
|||
<Color x:Key="RegionColor">#FFFFFFFF</Color> |
|||
<SolidColorBrush x:Key="RegionBrush" Color="{StaticResource RegionColor}" /> |
|||
|
|||
<!-- BaseResources for Button.xaml --> |
|||
<StaticResource x:Key="ButtonBackground" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ButtonBackgroundPointerOver" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ButtonBackgroundPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ButtonForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundPointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundPressed" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrush" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" /> |
|||
|
|||
<!-- BaseResources for ComboBox.xaml --> |
|||
<StaticResource x:Key="ComboBoxItemForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelected" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedUnfocused" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundPressed" ResourceKey="SystemControlHighlightListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundPointerOver" ResourceKey="SystemControlHighlightListLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelected" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedUnfocused" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedPressed" ResourceKey="SystemControlHighlightListAccentHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedPointerOver" ResourceKey="SystemControlHighlightListAccentMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelected" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedUnfocused" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
|
|||
<StaticResource x:Key="ComboBoxBackground" ResourceKey="SystemControlBackgroundAltMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundPointerOver" ResourceKey="SystemControlPageBackgroundAltMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundPressed" ResourceKey="SystemControlBackgroundListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundUnfocused" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundBorderBrushFocused" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundBorderBrushUnfocused" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundFocused" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxPlaceHolderForeground" ResourceKey="SystemControlPageTextBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxPlaceHolderForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrush" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushPressed" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushDisabled" ResourceKey="SystemControlDisabledBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackgroundPointerOver" ResourceKey="SystemControlBackgroundListLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackgroundPointerPressed" ResourceKey="SystemControlBackgroundListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxFocusedDropDownBackgroundPointerOver" ResourceKey="SystemControlBackgroundChromeBlackLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxFocusedDropDownBackgroundPointerPressed" ResourceKey="SystemControlBackgroundChromeBlackMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForeground" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxEditableDropDownGlyphForeground" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundFocused" ResourceKey="SystemControlHighlightAltBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackground" ResourceKey="SystemControlTransientBackgroundBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBorderBrush" ResourceKey="SystemControlTransientBorderBrush" /> |
|||
|
|||
<!-- BaseResources for Listbox.xaml --> |
|||
<Thickness x:Key="ListBoxBorderThemeThickness">0</Thickness> |
|||
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxBorderThemeBrush" Color="#45000000" /> |
|||
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="#8C000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="#99FFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> |
|||
|
|||
<!-- BaseResources for TextBox.xaml --> |
|||
<StaticResource x:Key="TextControlForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="TextControlForegroundPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="TextControlForegroundFocused" ResourceKey="SystemControlForegroundChromeBlackHighBrush" /> |
|||
<StaticResource x:Key="TextControlForegroundDisabled" ResourceKey="SystemControlDisabledChromeDisabledLowBrush" /> |
|||
<StaticResource x:Key="TextControlBackground" ResourceKey="SystemControlBackgroundAltMediumLowBrush" /> |
|||
<StaticResource x:Key="TextControlBackgroundPointerOver" ResourceKey="SystemControlBackgroundAltMediumBrush" /> |
|||
<StaticResource x:Key="TextControlBackgroundFocused" ResourceKey="SystemControlBackgroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="TextControlBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrush" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrushFocused" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrushDisabled" ResourceKey="SystemControlDisabledBaseLowBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForeground" ResourceKey="SystemControlPageTextBaseMediumBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForegroundPointerOver" ResourceKey="SystemControlPageTextBaseMediumBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForegroundFocused" ResourceKey="SystemControlPageTextChromeBlackMediumLowBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForegroundDisabled" ResourceKey="SystemControlDisabledChromeDisabledLowBrush" /> |
|||
<StaticResource x:Key="TextControlHeaderForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="TextControlHeaderForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="TextControlSelectionHighlightColor" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBackgroundPressed" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonForeground" ResourceKey="SystemControlForegroundChromeBlackMediumBrush" /> |
|||
<StaticResource x:Key="TextControlButtonForegroundPointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="TextControlButtonForegroundPressed" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="ContentLinkForegroundColor" ResourceKey="SystemControlHyperlinkTextBrush" /> |
|||
<StaticResource x:Key="ContentLinkBackgroundColor" ResourceKey="SystemControlPageBackgroundChromeLowBrush" /> |
|||
|
|||
<!-- Resources for AutoCompleteBox.xaml --> |
|||
<StaticResource x:Key="AutoCompleteBoxLightDismissOverlayBackground" ResourceKey="SystemControlPageBackgroundMediumAltMediumBrush" /> |
|||
<StaticResource x:Key="AutoCompleteBoxSuggestionsListBackground" ResourceKey="SystemControlBackgroundChromeMediumLowBrush" /> |
|||
<StaticResource x:Key="AutoCompleteBoxSuggestionsListBorderBrush" ResourceKey="SystemControlForegroundChromeHighBrush" /> |
|||
<x:Double x:Key="AutoCompleteBoxIconFontSize">12</x:Double> |
|||
|
|||
<!-- BaseResources for CheckBox.xaml --> |
|||
<StaticResource x:Key="CheckBoxForegroundUnchecked" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundChecked" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminate" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminatePointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminatePressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminateDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundChecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminate" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminatePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminatePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushChecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminate" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminatePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminatePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUnchecked" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedPointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeChecked" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedPointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminate" ResourceKey="SystemControlForegroundAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminatePointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminatePressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminateDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedPressed" ResourceKey="SystemControlBackgroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillChecked" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedPointerOver" ResourceKey="SystemControlBackgroundAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedPressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminate" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminatePointerOver" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminatePressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUnchecked" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedPointerOver" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedPressed" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedDisabled" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundChecked" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedPointerOver" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedPressed" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminate" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminatePointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminatePressed" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminateDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
|
|||
<!-- BaseResources for RadioButton.xaml --> |
|||
<StaticResource x:Key="RadioButtonForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStroke" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokePointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokePressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokeDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFill" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStroke" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokePointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokePressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokeDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFill" ResourceKey="SystemControlHighlightAltTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillPointerOver" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFill" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillPressed" ResourceKey="SystemControlHighlightAltBaseMediumBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStroke" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokeDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
|
|||
<!-- BaseResources for Slider.xaml --> |
|||
<StaticResource x:Key="SliderContainerBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackground" ResourceKey="SystemControlForegroundAccentBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundPointerOver" ResourceKey="SystemControlHighlightChromeAltLowBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundPressed" ResourceKey="SystemControlHighlightChromeHighBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderTrackFill" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillPointerOver" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillPressed" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFill" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillPointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillPressed" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderHeaderForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="SliderHeaderForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTickBarFill" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTickBarFillDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderInlineTickBarFill" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
|
|||
<!-- Resources for ToolTip.xaml --> |
|||
<x:Double x:Key="ToolTipContentThemeFontSize">12</x:Double> |
|||
<Thickness x:Key="ToolTipBorderThemeThickness">1</Thickness> |
|||
<StaticResource x:Key="ToolTipForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ToolTipBackground" ResourceKey="SystemControlBackgroundChromeMediumLowBrush" /> |
|||
<StaticResource x:Key="ToolTipBorderBrush" ResourceKey="SystemControlForegroundChromeHighBrush" /> |
|||
<SolidColorBrush x:Key="ToolTipBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ToolTipBorderThemeBrush" Color="#FF808080" /> |
|||
<SolidColorBrush x:Key="ToolTipForegroundThemeBrush" Color="#FF666666" /> |
|||
</Style.Resources> |
|||
</Style> |
|||
@ -0,0 +1,435 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<Style.Resources> |
|||
<!-- Resources for Button.xaml --> |
|||
<StaticResource x:Key="AccentButtonBackground" ResourceKey="SystemControlBackgroundAccentBrush" /> |
|||
<StaticResource x:Key="AccentButtonBackgroundPointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="AccentButtonBackgroundPressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="AccentButtonBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="AccentButtonForeground" ResourceKey="SystemControlBackgroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="AccentButtonForegroundPointerOver" ResourceKey="SystemControlBackgroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="AccentButtonForegroundPressed" ResourceKey="SystemControlBackgroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="AccentButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="AccentButtonBorderBrush" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="AccentButtonBorderBrushPointerOver" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="AccentButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="AccentButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" /> |
|||
<Thickness x:Key="ButtonBorderThemeThickness">1</Thickness> |
|||
<StaticResource x:Key="ButtonBackground" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<SolidColorBrush x:Key="ButtonBackgroundPointerOver" Color="{StaticResource SystemBaseHighColor}" Opacity="0.1" /> |
|||
<StaticResource x:Key="ButtonBackgroundPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ButtonForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundPointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundPressed" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrush" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushPointerOver" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" /> |
|||
<SolidColorBrush x:Key="ButtonBackgroundThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ButtonDisabledBackgroundThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="ButtonDisabledBorderThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ButtonDisabledForegroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ButtonPointerOverBackgroundThemeBrush" Color="#21FFFFFF" /> |
|||
<SolidColorBrush x:Key="ButtonPointerOverForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ButtonPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
|
|||
<!-- Resources for ComboBox.xaml --> |
|||
<x:Double x:Key="ComboBoxArrowThemeFontSize">21</x:Double> |
|||
<x:Double x:Key="ComboBoxThemeMinWidth">64</x:Double> |
|||
<x:Double x:Key="ComboBoxPopupThemeMinWidth">80</x:Double> |
|||
<x:Double x:Key="ComboBoxPopupThemeTouchMinWidth">240</x:Double> |
|||
<Thickness x:Key="ComboBoxBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownBorderThickness">1</Thickness> |
|||
<Thickness x:Key="ComboBoxHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="ComboBoxPopupBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemePadding">11,5,11,7</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemeTouchPadding">11,11,11,13</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemeGameControllerPadding">11,11,11,13</Thickness> |
|||
<FontWeight x:Key="ComboBoxHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="ComboBoxPlaceholderTextThemeFontWeight">SemiLight</FontWeight> |
|||
<StaticResource x:Key="ComboBoxItemForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelected" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedUnfocused" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundPressed" ResourceKey="SystemControlHighlightListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundPointerOver" ResourceKey="SystemControlHighlightListLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelected" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedUnfocused" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedPressed" ResourceKey="SystemControlHighlightListAccentHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedPointerOver" ResourceKey="SystemControlHighlightListAccentMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelected" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedUnfocused" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
|
|||
<StaticResource x:Key="ComboBoxBackground" ResourceKey="SystemControlBackgroundAltMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundPointerOver" ResourceKey="SystemControlPageBackgroundAltMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundPressed" ResourceKey="SystemControlBackgroundListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundUnfocused" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundBorderBrushFocused" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundBorderBrushUnfocused" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundFocused" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxPlaceHolderForeground" ResourceKey="SystemControlPageTextBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxPlaceHolderForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrush" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushPressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushDisabled" ResourceKey="SystemControlDisabledBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForeground" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundFocused" ResourceKey="SystemControlHighlightAltBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackground" ResourceKey="SystemControlTransientBackgroundBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBorderBrush" ResourceKey="SystemControlTransientBorderBrush" /> |
|||
|
|||
<StaticResource x:Key="ComboBoxLightDismissOverlayBackground" ResourceKey="SystemControlPageBackgroundMediumAltMediumBrush" /> |
|||
<SolidColorBrush x:Key="ComboBoxArrowDisabledForegroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxArrowForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxArrowPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxBorderThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxDisabledBackgroundThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="ComboBoxDisabledBorderThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxDisabledForegroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxFocusedBackgroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ComboBoxFocusedBorderThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ComboBoxFocusedForegroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ComboBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledBackgroundThemeBrush" Color="#8C000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledForegroundThemeBrush" Color="#99FFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedForegroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> |
|||
<SolidColorBrush x:Key="ComboBoxPlaceholderTextForegroundThemeBrush" Color="#88000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxPointerOverBorderThemeBrush" Color="#DEFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxPopupBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxPopupBorderThemeBrush" Color="#FF212121" /> |
|||
<SolidColorBrush x:Key="ComboBoxPopupForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxPressedBorderThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxPressedHighlightThemeBrush" Color="#FFD3D3D3" /> |
|||
<SolidColorBrush x:Key="ComboBoxPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxSelectedBackgroundThemeBrush" Color="#FF4617B4" /> |
|||
<SolidColorBrush x:Key="ComboBoxSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> |
|||
|
|||
<Thickness x:Key="ComboBoxDropdownBorderPadding">0</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownContentMargin">0,4,0,4</Thickness> |
|||
<StaticResource x:Key="ComboBoxDropDownBackgroundPointerOver" ResourceKey="SystemControlBackgroundListLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackgroundPointerPressed" ResourceKey="SystemControlBackgroundListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxFocusedDropDownBackgroundPointerOver" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxFocusedDropDownBackgroundPointerPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxEditableDropDownGlyphForeground" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
|
|||
<!-- Resources for ListBox.xaml --> |
|||
<Thickness x:Key="ListBoxBorderThemeThickness">0</Thickness> |
|||
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="#99000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> |
|||
|
|||
<!-- Resources for TextBox.xaml --> |
|||
<SolidColorBrush x:Key="TextBoxForegroundHeaderThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="#AB000000" /> |
|||
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonBackgroundThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonForegroundThemeBrush" Color="#99FFFFFF" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPointerOverBackgroundThemeBrush" Color="#FFDEDEDE" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPointerOverBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPressedBackgroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPressedBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="TextBoxDisabledBackgroundThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="#FF666666" /> |
|||
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<StaticResource x:Key="TextControlBackgroundFocused" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrush" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="TextControlButtonForeground" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="TextControlForegroundFocused" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForegroundFocused" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
|
|||
<!-- Resources for AutoCompleteBox.xaml --> |
|||
<StaticResource x:Key="AutoCompleteBoxSuggestionsListBackground" ResourceKey="SystemControlTransientBackgroundBrush" /> |
|||
<StaticResource x:Key="AutoCompleteBoxSuggestionsListBorderBrush" ResourceKey="SystemControlTransientBorderBrush" /> |
|||
<StaticResource x:Key="AutoCompleteBoxLightDismissOverlayBackground" ResourceKey="SystemControlPageBackgroundMediumAltMediumBrush" /> |
|||
<x:Double x:Key="AutoCompleteBoxIconFontSize">12</x:Double> |
|||
|
|||
<!-- Resources for Checkbox.xaml --> |
|||
<Thickness x:Key="CheckBoxBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="CheckBoxCheckedStrokeThickness">0</Thickness> |
|||
<StaticResource x:Key="CheckBoxForegroundUnchecked" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundChecked" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminate" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminatePointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminatePressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminateDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundChecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminate" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminatePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminatePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushChecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminate" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminatePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminatePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUnchecked" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedPointerOver" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedPressed" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeChecked" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedPointerOver" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedPressed" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminate" ResourceKey="SystemControlForegroundAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminatePointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminatePressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillChecked" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedPointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedPressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedDisabled" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminate" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminatePointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminatePressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminateDisabled" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUnchecked" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedPointerOver" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedPressed" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedDisabled" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundChecked" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedPointerOver" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedPressed" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedDisabled" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminate" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminatePointerOver" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminatePressed" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminateDisabled" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<SolidColorBrush x:Key="CheckBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxBorderThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxContentDisabledForegroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxContentForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxDisabledBackgroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxDisabledBorderThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxPointerOverBorderThemeBrush" Color="#DEFFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxPressedBorderThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
|
|||
<!-- Resources for Calendar.xaml, CalendarButton.xaml, CalendarDayButton.xaml, CalendarItem.xaml --> |
|||
<StaticResource x:Key="CalendarViewFocusBorderBrush" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewSelectedHoverBorderBrush" ResourceKey="SystemControlHighlightListAccentMediumBrush" /> |
|||
<StaticResource x:Key="CalendarViewSelectedPressedBorderBrush" ResourceKey="SystemControlHighlightListAccentHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewSelectedBorderBrush" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CalendarViewHoverBorderBrush" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewPressedBorderBrush" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="CalendarViewTodayForeground" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CalendarViewBlackoutForeground" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewSelectedForeground" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewPressedForeground" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewOutOfScopeForeground" ResourceKey="SystemControlHyperlinkBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewCalendarItemForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewOutOfScopeBackground" ResourceKey="SystemControlDisabledChromeMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewCalendarItemBackground" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewForeground" ResourceKey="SystemControlHyperlinkBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewBackground" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewBorderBrush" ResourceKey="SystemControlForegroundChromeMediumBrush" /> |
|||
<StaticResource x:Key="CalendarViewWeekDayForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonForegroundPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonForegroundPressed" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewCalendarItemRevealBackground" ResourceKey="SystemControlTransparentRevealBackgroundBrush" /> |
|||
<StaticResource x:Key="CalendarViewCalendarItemRevealBorderBrush" ResourceKey="SystemControlTransparentRevealBorderBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonBorderBrushPointerOver" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<!-- Resources for RadioButton.xaml --> |
|||
<x:Double x:Key="RadioButtonBorderThemeThickness">1</x:Double> |
|||
<StaticResource x:Key="RadioButtonForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStroke" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokePointerOver" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokePressed" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokeDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFill" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStroke" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokePointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokePressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokeDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFill" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillPointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillPressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillDisabled" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFill" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillPointerOver" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillPressed" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillDisabled" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStroke" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokeDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<SolidColorBrush x:Key="RadioButtonBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonBorderThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonContentDisabledForegroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonContentForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonDisabledBackgroundThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonDisabledBorderThemeBrush" Color="#66FFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonPointerOverBorderThemeBrush" Color="#DEFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonPressedBorderThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonContentPointerOverForegroundThemeBrush" Color="{DynamicResource SystemColorHighlightTextColor}" /> |
|||
|
|||
<!-- Resources for Slider.xaml --> |
|||
<x:Double x:Key="SliderOutsideTickBarThemeHeight">4</x:Double> |
|||
<x:Double x:Key="SliderTrackThemeHeight">2</x:Double> |
|||
<Thickness x:Key="SliderBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="SliderHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<FontWeight x:Key="SliderHeaderThemeFontWeight">Normal</FontWeight> |
|||
<StaticResource x:Key="SliderContainerBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackground" ResourceKey="SystemControlForegroundAccentBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundPointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundPressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderTrackFill" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillPointerOver" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillPressed" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFill" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillPointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillPressed" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderHeaderForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="SliderHeaderForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTickBarFill" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTickBarFillDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderInlineTickBarFill" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
<SolidColorBrush x:Key="SliderBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SliderDisabledBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SliderThumbBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderThumbBorderThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderThumbDisabledBackgroundThemeBrush" Color="#FF7E7E7E" /> |
|||
<SolidColorBrush x:Key="SliderThumbPointerOverBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderThumbPointerOverBorderThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderThumbPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderThumbPressedBorderThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderTickMarkInlineBackgroundThemeBrush" Color="Black" /> |
|||
<SolidColorBrush x:Key="SliderTickMarkInlineDisabledForegroundThemeBrush" Color="Black" /> |
|||
<SolidColorBrush x:Key="SliderTickmarkOutsideBackgroundThemeBrush" Color="#80FFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderTickMarkOutsideDisabledForegroundThemeBrush" Color="#80FFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderTrackBackgroundThemeBrush" Color="#29FFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderTrackDecreaseBackgroundThemeBrush" Color="#FF5B2EC5" /> |
|||
<SolidColorBrush x:Key="SliderTrackDecreaseDisabledBackgroundThemeBrush" Color="#1FFFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderTrackDecreasePointerOverBackgroundThemeBrush" Color="#FF724BCD" /> |
|||
<SolidColorBrush x:Key="SliderTrackDecreasePressedBackgroundThemeBrush" Color="#FF8152EF" /> |
|||
<SolidColorBrush x:Key="SliderTrackDisabledBackgroundThemeBrush" Color="#29FFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderTrackPointerOverBackgroundThemeBrush" Color="#46FFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderTrackPressedBackgroundThemeBrush" Color="#59FFFFFF" /> |
|||
<SolidColorBrush x:Key="SliderHeaderForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
|
|||
<!-- Resources for ToolTip.xaml --> |
|||
<x:Double x:Key="ToolTipContentThemeFontSize">12</x:Double> |
|||
<Thickness x:Key="ToolTipBorderThemeThickness">1</Thickness> |
|||
<StaticResource x:Key="ToolTipForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ToolTipBackground" ResourceKey="SystemControlBackgroundChromeMediumLowBrush" /> |
|||
<StaticResource x:Key="ToolTipBorderBrush" ResourceKey="SystemControlTransientBorderBrush" /> |
|||
<SolidColorBrush x:Key="ToolTipBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ToolTipBorderThemeBrush" Color="#FF808080" /> |
|||
<SolidColorBrush x:Key="ToolTipForegroundThemeBrush" Color="#FF666666" /> |
|||
<Thickness x:Key="ToolTipBorderThemePadding">8,5,8,7</Thickness> |
|||
</Style.Resources> |
|||
</Style> |
|||
@ -0,0 +1,435 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<Style.Resources> |
|||
<!-- Resources for Button.xaml --> |
|||
<StaticResource x:Key="AccentButtonBackground" ResourceKey="SystemControlBackgroundAccentBrush" /> |
|||
<StaticResource x:Key="AccentButtonBackgroundPointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="AccentButtonBackgroundPressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="AccentButtonBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="AccentButtonForeground" ResourceKey="SystemControlBackgroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="AccentButtonForegroundPointerOver" ResourceKey="SystemControlBackgroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="AccentButtonForegroundPressed" ResourceKey="SystemControlBackgroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="AccentButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="AccentButtonBorderBrush" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="AccentButtonBorderBrushPointerOver" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="AccentButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="AccentButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" /> |
|||
<Thickness x:Key="ButtonBorderThemeThickness">1</Thickness> |
|||
<StaticResource x:Key="ButtonBackground" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<SolidColorBrush x:Key="ButtonBackgroundPointerOver" Color="{StaticResource SystemBaseHighColor}" Opacity="0.1" /> |
|||
<StaticResource x:Key="ButtonBackgroundPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ButtonForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundPointerOver" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundPressed" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="ButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrush" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushPointerOver" ResourceKey="SystemControlForegroundTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="ButtonBorderBrushDisabled" ResourceKey="SystemControlDisabledTransparentBrush" /> |
|||
<SolidColorBrush x:Key="ButtonBackgroundThemeBrush" Color="#B3B6B6B6" /> |
|||
<SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="#33000000" /> |
|||
<SolidColorBrush x:Key="ButtonDisabledBackgroundThemeBrush" Color="#66CACACA" /> |
|||
<SolidColorBrush x:Key="ButtonDisabledBorderThemeBrush" Color="#1A000000" /> |
|||
<SolidColorBrush x:Key="ButtonDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ButtonPointerOverBackgroundThemeBrush" Color="#D1CDCDCD" /> |
|||
<SolidColorBrush x:Key="ButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ButtonPressedBackgroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
|
|||
<!-- Resources for ComboBox.xaml --> |
|||
<x:Double x:Key="ComboBoxArrowThemeFontSize">21</x:Double> |
|||
<x:Double x:Key="ComboBoxThemeMinWidth">64</x:Double> |
|||
<x:Double x:Key="ComboBoxPopupThemeMinWidth">80</x:Double> |
|||
<x:Double x:Key="ComboBoxPopupThemeTouchMinWidth">240</x:Double> |
|||
<Thickness x:Key="ComboBoxBorderThemeThickness">1</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownBorderThickness">1</Thickness> |
|||
<Thickness x:Key="ComboBoxHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<Thickness x:Key="ComboBoxPopupBorderThemeThickness">2</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemePadding">11,5,11,7</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemeTouchPadding">11,11,11,13</Thickness> |
|||
<Thickness x:Key="ComboBoxItemThemeGameControllerPadding">11,11,11,13</Thickness> |
|||
<FontWeight x:Key="ComboBoxHeaderThemeFontWeight">Normal</FontWeight> |
|||
<FontWeight x:Key="ComboBoxPlaceholderTextThemeFontWeight">SemiLight</FontWeight> |
|||
<StaticResource x:Key="ComboBoxItemForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelected" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedUnfocused" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedPointerOver" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemForegroundSelectedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundPressed" ResourceKey="SystemControlHighlightListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundPointerOver" ResourceKey="SystemControlHighlightListLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelected" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedUnfocused" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedPressed" ResourceKey="SystemControlHighlightListAccentHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedPointerOver" ResourceKey="SystemControlHighlightListAccentMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBackgroundSelectedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelected" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedUnfocused" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxItemBorderBrushSelectedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
|
|||
<StaticResource x:Key="ComboBoxBackground" ResourceKey="SystemControlBackgroundAltMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundPointerOver" ResourceKey="SystemControlPageBackgroundAltMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundPressed" ResourceKey="SystemControlBackgroundListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundUnfocused" ResourceKey="SystemControlHighlightListAccentLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundBorderBrushFocused" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="ComboBoxBackgroundBorderBrushUnfocused" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundFocused" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxPlaceHolderForeground" ResourceKey="SystemControlPageTextBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxPlaceHolderForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrush" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushPressed" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxBorderBrushDisabled" ResourceKey="SystemControlDisabledBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForeground" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundFocused" ResourceKey="SystemControlHighlightAltBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownGlyphForegroundFocusedPressed" ResourceKey="SystemControlHighlightAltBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackground" ResourceKey="SystemControlTransientBackgroundBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBorderBrush" ResourceKey="SystemControlTransientBorderBrush" /> |
|||
|
|||
<StaticResource x:Key="ComboBoxLightDismissOverlayBackground" ResourceKey="SystemControlPageBackgroundMediumAltMediumBrush" /> |
|||
<SolidColorBrush x:Key="ComboBoxArrowDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxArrowForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxArrowPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxBorderThemeBrush" Color="#45000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxDisabledBackgroundThemeBrush" Color="#66CACACA" /> |
|||
<SolidColorBrush x:Key="ComboBoxDisabledBorderThemeBrush" Color="#26000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxFocusedBackgroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ComboBoxFocusedBorderThemeBrush" Color="#70000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxFocusedForegroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ComboBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxHeaderForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedForegroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledBackgroundThemeBrush" Color="#8C000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedDisabledForegroundThemeBrush" Color="#99FFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> |
|||
<SolidColorBrush x:Key="ComboBoxPlaceholderTextForegroundThemeBrush" Color="#88000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxPointerOverBorderThemeBrush" Color="#70000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxPopupBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxPopupBorderThemeBrush" Color="#FF212121" /> |
|||
<SolidColorBrush x:Key="ComboBoxPopupForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxPressedBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ComboBoxPressedBorderThemeBrush" Color="#A3000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxPressedHighlightThemeBrush" Color="#FFD3D3D3" /> |
|||
<SolidColorBrush x:Key="ComboBoxPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ComboBoxSelectedBackgroundThemeBrush" Color="#FF4617B4" /> |
|||
<SolidColorBrush x:Key="ComboBoxSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> |
|||
|
|||
<Thickness x:Key="ComboBoxDropdownBorderPadding">0</Thickness> |
|||
<Thickness x:Key="ComboBoxDropdownContentMargin">0,4,0,4</Thickness> |
|||
<StaticResource x:Key="ComboBoxDropDownBackgroundPointerOver" ResourceKey="SystemControlBackgroundListLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxDropDownBackgroundPointerPressed" ResourceKey="SystemControlBackgroundListMediumBrush" /> |
|||
<StaticResource x:Key="ComboBoxFocusedDropDownBackgroundPointerOver" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxFocusedDropDownBackgroundPointerPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="ComboBoxEditableDropDownGlyphForeground" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
|
|||
<!-- Resources for ListBox.xaml --> |
|||
<Thickness x:Key="ListBoxBorderThemeThickness">0</Thickness> |
|||
<SolidColorBrush x:Key="ListBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxBorderThemeBrush" Color="#45000000" /> |
|||
<SolidColorBrush x:Key="ListBoxDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="ListBoxFocusBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPointerOverBackgroundThemeBrush" Color="#21000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPressedBackgroundThemeBrush" Color="#FFD3D3D3" /> |
|||
<SolidColorBrush x:Key="ListBoxItemPressedForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedBackgroundThemeBrush" Color="#FF4617B4" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledBackgroundThemeBrush" Color="#8C000000" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedDisabledForegroundThemeBrush" Color="#99FFFFFF" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedForegroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="ListBoxItemSelectedPointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> |
|||
|
|||
<!-- Resources for TextBox.xaml --> |
|||
<SolidColorBrush x:Key="TextBoxForegroundHeaderThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="TextBoxPlaceholderTextThemeBrush" Color="#AB000000" /> |
|||
<SolidColorBrush x:Key="TextBoxBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="TextBoxBorderThemeBrush" Color="#A3000000" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonBackgroundThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonForegroundThemeBrush" Color="#99000000" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPointerOverBackgroundThemeBrush" Color="#FFDEDEDE" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPointerOverBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPointerOverForegroundThemeBrush" Color="Black" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPressedBackgroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPressedBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="TextBoxButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="TextBoxDisabledBackgroundThemeBrush" Color="#66CACACA" /> |
|||
<SolidColorBrush x:Key="TextBoxDisabledBorderThemeBrush" Color="#26000000" /> |
|||
<SolidColorBrush x:Key="TextBoxDisabledForegroundThemeBrush" Color="#FF666666" /> |
|||
<SolidColorBrush x:Key="TextBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<StaticResource x:Key="TextControlBackgroundFocused" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrush" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="TextControlBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="TextControlButtonForeground" ResourceKey="SystemControlForegroundBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="TextControlForegroundFocused" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="TextControlPlaceholderForegroundFocused" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
|
|||
<!-- Resources for AutoCompleteBox.xaml --> |
|||
<StaticResource x:Key="AutoCompleteBoxSuggestionsListBackground" ResourceKey="SystemControlTransientBackgroundBrush" /> |
|||
<StaticResource x:Key="AutoCompleteBoxSuggestionsListBorderBrush" ResourceKey="SystemControlTransientBorderBrush" /> |
|||
<StaticResource x:Key="AutoCompleteBoxLightDismissOverlayBackground" ResourceKey="SystemControlPageBackgroundMediumAltMediumBrush" /> |
|||
<x:Double x:Key="AutoCompleteBoxIconFontSize">12</x:Double> |
|||
|
|||
<!-- Resources for CheckBox.xaml --> |
|||
<x:Double x:Key="CheckBoxBorderThemeThickness">1</x:Double> |
|||
<x:Double x:Key="CheckBoxCheckedStrokeThickness">0</x:Double> |
|||
<StaticResource x:Key="CheckBoxForegroundUnchecked" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundUncheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundChecked" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundCheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminate" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminatePointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminatePressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxForegroundIndeterminateDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundChecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminate" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminatePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminatePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBackgroundIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushChecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminate" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminatePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminatePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxBorderBrushIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUnchecked" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedPointerOver" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedPressed" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeUncheckedDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeChecked" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedPointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeCheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminate" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminatePointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminatePressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundStrokeIndeterminateDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUnchecked" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillUncheckedDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillChecked" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedPointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedPressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillCheckedDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminate" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminatePointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminatePressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="CheckBoxCheckBackgroundFillIndeterminateDisabled" ResourceKey="SystemControlBackgroundBaseLowBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUnchecked" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedPointerOver" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedPressed" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundUncheckedDisabled" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundChecked" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedPointerOver" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedPressed" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundCheckedDisabled" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminate" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminatePointerOver" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminatePressed" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CheckBoxCheckGlyphForegroundIndeterminateDisabled" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<SolidColorBrush x:Key="CheckBoxBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxBorderThemeBrush" Color="#45000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxContentDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxContentForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxDisabledBackgroundThemeBrush" Color="#66CACACA" /> |
|||
<SolidColorBrush x:Key="CheckBoxDisabledBorderThemeBrush" Color="#26000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> |
|||
<SolidColorBrush x:Key="CheckBoxPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxPointerOverBorderThemeBrush" Color="#70000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxPressedBackgroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxPressedBorderThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="CheckBoxPressedForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
|
|||
<!-- Resources for Calendar.xaml, CalendarButton.xaml, CalendarDayButton.xaml, CalendarItem.xaml --> |
|||
<StaticResource x:Key="CalendarViewFocusBorderBrush" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewSelectedHoverBorderBrush" ResourceKey="SystemControlHighlightListAccentMediumBrush" /> |
|||
<StaticResource x:Key="CalendarViewSelectedPressedBorderBrush" ResourceKey="SystemControlHighlightListAccentHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewSelectedBorderBrush" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="CalendarViewHoverBorderBrush" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewPressedBorderBrush" ResourceKey="SystemControlHighlightBaseMediumBrush" /> |
|||
<StaticResource x:Key="CalendarViewTodayForeground" ResourceKey="SystemControlHighlightAltChromeWhiteBrush" /> |
|||
<StaticResource x:Key="CalendarViewBlackoutForeground" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewSelectedForeground" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewPressedForeground" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewOutOfScopeForeground" ResourceKey="SystemControlHyperlinkBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewCalendarItemForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewOutOfScopeBackground" ResourceKey="SystemControlDisabledChromeMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewCalendarItemBackground" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewForeground" ResourceKey="SystemControlHyperlinkBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewBackground" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewBorderBrush" ResourceKey="SystemControlForegroundChromeMediumBrush" /> |
|||
<StaticResource x:Key="CalendarViewWeekDayForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonForegroundPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonForegroundPressed" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="CalendarViewCalendarItemRevealBackground" ResourceKey="SystemControlTransparentRevealBackgroundBrush" /> |
|||
<StaticResource x:Key="CalendarViewCalendarItemRevealBorderBrush" ResourceKey="SystemControlTransparentRevealBorderBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonBorderBrushPointerOver" ResourceKey="SystemControlHighlightTransparentBrush" /> |
|||
<StaticResource x:Key="CalendarViewNavigationButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<!-- Resources for RadioButton.xaml --> |
|||
<x:Double x:Key="RadioButtonBorderThemeThickness">1</x:Double> |
|||
<StaticResource x:Key="RadioButtonForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundPointerOver" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundPressed" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrush" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonBorderBrushDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStroke" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokePointerOver" ResourceKey="SystemControlHighlightBaseMediumHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokePressed" ResourceKey="SystemControlHighlightBaseHighBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseStrokeDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFill" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillPressed" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseFillDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStroke" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokePointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokePressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedStrokeDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFill" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillPointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillPressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="RadioButtonOuterEllipseCheckedFillDisabled" ResourceKey="SystemControlBackgroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFill" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillPointerOver" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillPressed" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphFillDisabled" ResourceKey="SystemControlForegroundChromeWhiteBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStroke" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokePointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokePressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="RadioButtonCheckGlyphStrokeDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<SolidColorBrush x:Key="RadioButtonBackgroundThemeBrush" Color="#CCFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonBorderThemeBrush" Color="#45000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonContentDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonContentForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonDisabledBackgroundThemeBrush" Color="#66CACACA" /> |
|||
<SolidColorBrush x:Key="RadioButtonDisabledBorderThemeBrush" Color="#26000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonDisabledForegroundThemeBrush" Color="#66000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonPointerOverBackgroundThemeBrush" Color="#DEFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonPointerOverBorderThemeBrush" Color="#70000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonPointerOverForegroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonPressedBackgroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonPressedBorderThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="RadioButtonPressedForegroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="RadioButtonContentPointerOverForegroundThemeBrush" Color="{DynamicResource SystemColorHighlightTextColor}" /> |
|||
|
|||
<!-- Resources for Slider.xaml --> |
|||
<x:Double x:Key="SliderOutsideTickBarThemeHeight">4</x:Double> |
|||
<x:Double x:Key="SliderTrackThemeHeight">2</x:Double> |
|||
<Thickness x:Key="SliderBorderThemeThickness">0</Thickness> |
|||
<Thickness x:Key="SliderHeaderThemeMargin">0,0,0,4</Thickness> |
|||
<FontWeight x:Key="SliderHeaderThemeFontWeight">Normal</FontWeight> |
|||
<StaticResource x:Key="SliderContainerBackground" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundPointerOver" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundPressed" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderContainerBackgroundDisabled" ResourceKey="SystemControlTransparentBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackground" ResourceKey="SystemControlForegroundAccentBrush" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundPointerOver" ResourceKey="SystemAccentColorLight1" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundPressed" ResourceKey="SystemAccentColorDark1" /> |
|||
<StaticResource x:Key="SliderThumbBackgroundDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderTrackFill" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillPointerOver" ResourceKey="SystemControlForegroundBaseMediumBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillPressed" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTrackFillDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFill" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillPointerOver" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillPressed" ResourceKey="SystemControlHighlightAccentBrush" /> |
|||
<StaticResource x:Key="SliderTrackValueFillDisabled" ResourceKey="SystemControlDisabledChromeDisabledHighBrush" /> |
|||
<StaticResource x:Key="SliderHeaderForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="SliderHeaderForegroundDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTickBarFill" ResourceKey="SystemControlForegroundBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderTickBarFillDisabled" ResourceKey="SystemControlDisabledBaseMediumLowBrush" /> |
|||
<StaticResource x:Key="SliderInlineTickBarFill" ResourceKey="SystemControlBackgroundAltHighBrush" /> |
|||
<SolidColorBrush x:Key="SliderBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SliderDisabledBorderThemeBrush" Color="Transparent" /> |
|||
<SolidColorBrush x:Key="SliderThumbBackgroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="SliderThumbBorderThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="SliderThumbDisabledBackgroundThemeBrush" Color="#FF929292" /> |
|||
<SolidColorBrush x:Key="SliderThumbPointerOverBackgroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="SliderThumbPointerOverBorderThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="SliderThumbPressedBackgroundThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="SliderThumbPressedBorderThemeBrush" Color="#FF000000" /> |
|||
<SolidColorBrush x:Key="SliderTickMarkInlineBackgroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="SliderTickMarkInlineDisabledForegroundThemeBrush" Color="White" /> |
|||
<SolidColorBrush x:Key="SliderTickmarkOutsideBackgroundThemeBrush" Color="#80000000" /> |
|||
<SolidColorBrush x:Key="SliderTickMarkOutsideDisabledForegroundThemeBrush" Color="#80000000" /> |
|||
<SolidColorBrush x:Key="SliderTrackBackgroundThemeBrush" Color="#1A000000" /> |
|||
<SolidColorBrush x:Key="SliderTrackDecreaseBackgroundThemeBrush" Color="#FF4617B4" /> |
|||
<SolidColorBrush x:Key="SliderTrackDecreaseDisabledBackgroundThemeBrush" Color="#1C000000" /> |
|||
<SolidColorBrush x:Key="SliderTrackDecreasePointerOverBackgroundThemeBrush" Color="#FF5F37BE" /> |
|||
<SolidColorBrush x:Key="SliderTrackDecreasePressedBackgroundThemeBrush" Color="#FF7241E4" /> |
|||
<SolidColorBrush x:Key="SliderTrackDisabledBackgroundThemeBrush" Color="#1A000000" /> |
|||
<SolidColorBrush x:Key="SliderTrackPointerOverBackgroundThemeBrush" Color="#26000000" /> |
|||
<SolidColorBrush x:Key="SliderTrackPressedBackgroundThemeBrush" Color="#33000000" /> |
|||
<SolidColorBrush x:Key="SliderHeaderForegroundThemeBrush" Color="#FF000000" /> |
|||
|
|||
<!-- Resources for ToolTip.xaml --> |
|||
<x:Double x:Key="ToolTipContentThemeFontSize">12</x:Double> |
|||
<Thickness x:Key="ToolTipBorderThemeThickness">1</Thickness> |
|||
<StaticResource x:Key="ToolTipForeground" ResourceKey="SystemControlForegroundBaseHighBrush" /> |
|||
<StaticResource x:Key="ToolTipBackground" ResourceKey="SystemControlBackgroundChromeMediumLowBrush" /> |
|||
<StaticResource x:Key="ToolTipBorderBrush" ResourceKey="SystemControlTransientBorderBrush" /> |
|||
<SolidColorBrush x:Key="ToolTipBackgroundThemeBrush" Color="#FFFFFFFF" /> |
|||
<SolidColorBrush x:Key="ToolTipBorderThemeBrush" Color="#FF808080" /> |
|||
<SolidColorBrush x:Key="ToolTipForegroundThemeBrush" Color="#FF666666" /> |
|||
<Thickness x:Key="ToolTipBorderThemePadding">8,5,8,7</Thickness> |
|||
</Style.Resources> |
|||
</Style> |
|||
@ -0,0 +1,9 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Accents.BaseDark.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Accents.Base.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Accents.FluentBaseDark.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Accents.FluentControlResourcesDark.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.FluentTheme.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
</Styles> |
|||
@ -0,0 +1,9 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Accents.BaseLight.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Accents.Base.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Accents.FluentBaseLight.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Accents.FluentControlResourcesLight.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.FluentTheme.xaml?assembly=Avalonia.Themes.Fluent" /> |
|||
</Styles> |
|||
@ -0,0 +1,71 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|||
<Design.PreviewWith> |
|||
<Border Padding="20"> |
|||
<AutoCompleteBox Width="200"> |
|||
<AutoCompleteBox.Items> |
|||
Alabama |
|||
Alaska |
|||
Arizona |
|||
Arkansas |
|||
California |
|||
Colorado |
|||
Connecticut |
|||
Delaware |
|||
</AutoCompleteBox.Items> |
|||
</AutoCompleteBox> |
|||
</Border> |
|||
</Design.PreviewWith> |
|||
|
|||
<Style Selector="AutoCompleteBox"> |
|||
<Setter Property="VerticalAlignment" Value="Top" /> |
|||
<Setter Property="Foreground" Value="{DynamicResource TextControlForeground}" /> |
|||
<Setter Property="Background" Value="{DynamicResource TextControlBackground}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource TextControlBorderBrush}" /> |
|||
<Setter Property="BorderThickness" Value="{DynamicResource TextControlBorderThemeThickness}" /> |
|||
<Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" /> |
|||
<Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" /> |
|||
<Setter Property="Padding" Value="{DynamicResource TextControlThemePadding}" /> |
|||
<Setter Property="MaxDropDownHeight" Value="{DynamicResource AutoCompleteListMaxHeight}" /> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Grid Name="PART_LayoutRoot"> |
|||
<TextBox Name="PART_TextBox" |
|||
Watermark="{TemplateBinding Watermark}" |
|||
Width="{TemplateBinding Width}" |
|||
Foreground="{TemplateBinding Foreground}" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
FontSize="{TemplateBinding FontSize}" |
|||
FontFamily="{TemplateBinding FontFamily}" |
|||
FontWeight="{TemplateBinding FontWeight}" |
|||
Padding="{TemplateBinding Padding}" |
|||
Margin="0" |
|||
DataValidationErrors.Errors="{TemplateBinding (DataValidationErrors.Errors)}" /> |
|||
|
|||
<Popup Name="PART_Popup" |
|||
WindowManagerAddShadowHint="False" |
|||
MinWidth="{Binding Bounds.Width, RelativeSource={RelativeSource TemplatedParent}}" |
|||
MaxHeight="{TemplateBinding MaxDropDownHeight}" |
|||
StaysOpen="False" |
|||
PlacementTarget="{TemplateBinding}"> |
|||
<Border Name="PART_SuggestionsContainer" |
|||
Padding="{DynamicResource AutoCompleteListMargin}" |
|||
BorderThickness="{DynamicResource AutoCompleteListBorderThemeThickness}" |
|||
BorderBrush="{DynamicResource AutoSuggestBoxSuggestionsListBorderBrush}" |
|||
Background="{DynamicResource AutoCompleteBoxSuggestionsListBackground}" |
|||
CornerRadius="{DynamicResource OverlayCornerRadius}"> |
|||
<ListBox Name="PART_SelectingItemsControl" |
|||
BorderThickness="0" |
|||
Background="Transparent" |
|||
Foreground="{DynamicResource AutoCompleteBoxSuggestionsListForeground}" |
|||
ItemTemplate="{TemplateBinding ItemTemplate}" |
|||
Margin="{DynamicResource AutoCompleteListPadding}" /> |
|||
</Border> |
|||
</Popup> |
|||
</Grid> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
</Styles> |
|||
@ -0,0 +1,22 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
<PropertyGroup> |
|||
<TargetFramework>netstandard2.0</TargetFramework> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<ProjectReference Include="..\Markup\Avalonia.Markup.Xaml\Avalonia.Markup.Xaml.csproj" /> |
|||
<ProjectReference Include="..\Avalonia.Animation\Avalonia.Animation.csproj" /> |
|||
<ProjectReference Include="..\Avalonia.Base\Avalonia.Base.csproj" /> |
|||
<ProjectReference Include="..\Avalonia.Controls\Avalonia.Controls.csproj" /> |
|||
<ProjectReference Include="..\Avalonia.Input\Avalonia.Input.csproj" /> |
|||
<ProjectReference Include="..\Avalonia.Interactivity\Avalonia.Interactivity.csproj" /> |
|||
<ProjectReference Include="..\Avalonia.Layout\Avalonia.Layout.csproj" /> |
|||
<ProjectReference Include="..\Avalonia.Visuals\Avalonia.Visuals.csproj" /> |
|||
<ProjectReference Include="..\Avalonia.Styling\Avalonia.Styling.csproj" /> |
|||
<AvaloniaResource Include="FluentTheme.xaml" /> |
|||
<AvaloniaResource Include="Accents/*.xaml" /> |
|||
<!-- Compatibility with old apps, probably need to replace with AvaloniaResource --> |
|||
<EmbeddedResource Include="**/*.xaml" /> |
|||
</ItemGroup> |
|||
<Import Project="..\..\build\BuildTargets.targets" /> |
|||
<Import Project="..\..\build\Rx.props" /> |
|||
</Project> |
|||
@ -0,0 +1,87 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|||
<Design.PreviewWith> |
|||
<Border Padding="20"> |
|||
<StackPanel Spacing="20"> |
|||
<Button Content="Click Me!" /> |
|||
<Button Classes="accent" Content="Click Me!" /> |
|||
<RepeatButton Content="RepeatButton" Width="100" /> |
|||
</StackPanel> |
|||
</Border> |
|||
</Design.PreviewWith> |
|||
<Styles.Resources> |
|||
<Thickness x:Key="ButtonPadding">8,5,8,6</Thickness> |
|||
</Styles.Resources> |
|||
<Style Selector="Button, RepeatButton"> |
|||
<Setter Property="Background" Value="{DynamicResource ButtonBackground}" /> |
|||
<!--<Setter Property="BackgroundSizing" Value="OuterBorderEdge" />--> |
|||
<Setter Property="Foreground" Value="{DynamicResource ButtonForeground}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrush}" /> |
|||
<Setter Property="BorderThickness" Value="{DynamicResource ButtonBorderThemeThickness}" /> |
|||
<Setter Property="Padding" Value="8,5,8,5" /> |
|||
<Setter Property="Padding" Value="{StaticResource ButtonPadding}" /> |
|||
<Setter Property="HorizontalAlignment" Value="Left" /> |
|||
<Setter Property="VerticalAlignment" Value="Center" /> |
|||
<Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" /> |
|||
<Setter Property="FontWeight" Value="Normal" /> |
|||
<Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" /> |
|||
<!--<Setter Property="UseSystemFocusVisuals" Value="{StaticResource UseSystemFocusVisuals}" /> |
|||
<Setter Property="FocusVisualMargin" Value="-3" />--> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<ContentPresenter x:Name="PART_ContentPresenter" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
Content="{TemplateBinding Content}" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
CornerRadius="{DynamicResource ControlCornerRadius}" |
|||
Padding="{TemplateBinding Padding}" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" /> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
|
|||
<!-- PointerOverState --> |
|||
<Style Selector="Button:pointerover /template/ ContentPresenter, RepeatButton:pointerover /template/ ContentPresenter"> |
|||
<Setter Property="Background" Value="{DynamicResource ButtonBackgroundPointerOver}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrushPointerOver}" /> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource ButtonForegroundPointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="Button:pressed /template/ ContentPresenter, RepeatButton:pressed /template/ ContentPresenter"> |
|||
<Setter Property="Background" Value="{DynamicResource ButtonBackgroundPressed}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrushPressed}" /> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource ButtonForegroundPressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="Button:disabled, RepeatButton:disabled"> |
|||
<Setter Property="Background" Value="{DynamicResource ButtonBackgroundDisabled}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrushDisabled}" /> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource ButtonForegroundDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="Button.accent, RepeatButton.accent"> |
|||
<Setter Property="Foreground" Value="{DynamicResource AccentButtonForeground}" /> |
|||
<Setter Property="Background" Value="{DynamicResource AccentButtonBackground}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource AccentButtonBorderBrush}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="Button.accent:pointerover /template/ ContentPresenter, RepeatButton.accent:pointerover /template/ ContentPresenter"> |
|||
<Setter Property="Background" Value="{DynamicResource AccentButtonBackgroundPointerOver}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource AccentButtonBorderBrushPointerOver}" /> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource AccentButtonForegroundPointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="Button.accent:pressed /template/ ContentPresenter, RepeatButton.accent:pressed /template/ ContentPresenter"> |
|||
<Setter Property="Background" Value="{DynamicResource AccentButtonBackgroundPressed}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource AccentButtonBorderBrushPressed}" /> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource AccentButtonForegroundPressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="Button.accent:disabled, RepeatButton.accent:disabled"> |
|||
<Setter Property="Background" Value="{DynamicResource AccentButtonBackgroundDisabled}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource AccentButtonBorderBrushDisabled}" /> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource AccentButtonForegroundDisabled}" /> |
|||
</Style> |
|||
</Styles> |
|||
@ -0,0 +1,104 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui"> |
|||
<Style Selector="ButtonSpinner"> |
|||
<Setter Property="Background" Value="Transparent"/> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/> |
|||
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/> |
|||
<Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
|||
<Setter Property="VerticalContentAlignment" Value="Center"/> |
|||
</Style> |
|||
<Style Selector="ButtonSpinner /template/ RepeatButton"> |
|||
<Setter Property="Background" Value="Transparent"/> |
|||
<Setter Property="BorderBrush" Value="Transparent"/> |
|||
</Style> |
|||
<Style Selector="ButtonSpinner /template/ RepeatButton:pointerover"> |
|||
<Setter Property="Background" Value="{DynamicResource ThemeControlMidBrush}"/> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/> |
|||
</Style> |
|||
<Style Selector="ButtonSpinner /template/ RepeatButton#PART_IncreaseButton"> |
|||
<Setter Property="Content"> |
|||
<Template> |
|||
<Path Fill="{DynamicResource ThemeForegroundBrush}" |
|||
Width="8" |
|||
Height="4" |
|||
Stretch="Uniform" |
|||
HorizontalAlignment="Center" |
|||
VerticalAlignment="Center" |
|||
Data="M0,5 L4.5,.5 9,5 6,5 4.5,3.5 3,5 z"/> |
|||
</Template> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="ButtonSpinner /template/ RepeatButton#PART_DecreaseButton"> |
|||
<Setter Property="Content"> |
|||
<Template> |
|||
<Path Fill="{DynamicResource ThemeForegroundBrush}" |
|||
Width="8" |
|||
Height="4" |
|||
Stretch="Uniform" |
|||
HorizontalAlignment="Center" |
|||
VerticalAlignment="Center" |
|||
Data="M0,0 L3,0 4.5,1.5 6,0 9,0 4.5,4.5 z"/> |
|||
</Template> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="ButtonSpinner:right"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border Name="border" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
Margin="{TemplateBinding Padding}" |
|||
HorizontalAlignment="{TemplateBinding HorizontalAlignment}" |
|||
VerticalAlignment="{TemplateBinding VerticalAlignment}"> |
|||
<Grid ColumnDefinitions="*,Auto"> |
|||
<ContentPresenter Name="PART_ContentPresenter" Grid.Column="0" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
Padding="{TemplateBinding Padding}"/> |
|||
<Grid Grid.Column="1" RowDefinitions="*,*" IsVisible="{TemplateBinding ShowButtonSpinner}"> |
|||
<RepeatButton Grid.Row="0" Name="PART_IncreaseButton"/> |
|||
<RepeatButton Grid.Row="1" Name="PART_DecreaseButton"/> |
|||
</Grid> |
|||
</Grid> |
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="ButtonSpinner:left"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border Name="border" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
Margin="{TemplateBinding Padding}" |
|||
HorizontalAlignment="{TemplateBinding HorizontalAlignment}" |
|||
VerticalAlignment="{TemplateBinding VerticalAlignment}"> |
|||
<Grid ColumnDefinitions="Auto,*"> |
|||
<Grid Grid.Column="0" RowDefinitions="*,*" IsVisible="{TemplateBinding ShowButtonSpinner}"> |
|||
<RepeatButton Grid.Row="0" Name="PART_IncreaseButton"/> |
|||
<RepeatButton Grid.Row="1" Name="PART_DecreaseButton"/> |
|||
</Grid> |
|||
<ContentPresenter Name="PART_ContentPresenter" Grid.Column="1" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
Padding="{TemplateBinding Padding}"/> |
|||
</Grid> |
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="ButtonSpinner:pointerover /template/ Border#border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderHighBrush}"/> |
|||
</Style> |
|||
<Style Selector="ButtonSpinner:focus /template/ Border#border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderHighBrush}"/> |
|||
</Style> |
|||
<Style Selector="ButtonSpinner:error /template/ Border#border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ErrorBrush}"/> |
|||
</Style> |
|||
</Styles> |
|||
@ -0,0 +1,32 @@ |
|||
<!-- |
|||
// (c) Copyright Microsoft Corporation. |
|||
// This source is subject to the Microsoft Public License (Ms-PL). |
|||
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. |
|||
// All other rights reserved. |
|||
--> |
|||
|
|||
<Styles xmlns="https://github.com/avaloniaui"> |
|||
<Style Selector="Calendar"> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewForeground}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CalendarViewBackground}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewBorderBrush}" /> |
|||
<Setter Property="BorderThickness" Value="1" /> |
|||
<Setter Property="HorizontalAlignment" Value="Left" /> |
|||
<Setter Property="VerticalAlignment" Value="Center" /> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<StackPanel Name="Root" |
|||
HorizontalAlignment="Center" |
|||
ClipToBounds="True"> |
|||
|
|||
<CalendarItem Name="CalendarItem" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
HeaderBackground="{TemplateBinding HeaderBackground}"/> |
|||
|
|||
</StackPanel> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
</Styles> |
|||
@ -0,0 +1,121 @@ |
|||
<!-- |
|||
// (c) Copyright Microsoft Corporation. |
|||
// This source is subject to the Microsoft Public License (Ms-PL). |
|||
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. |
|||
// All other rights reserved. |
|||
--> |
|||
|
|||
<Styles xmlns="https://github.com/avaloniaui"> |
|||
<Style Selector="CalendarButton"> |
|||
<Setter Property="ClickMode" Value="Release"/> |
|||
<Setter Property="MinWidth" Value="40"/> |
|||
<Setter Property="MinHeight" Value="40"/> |
|||
<Setter Property="Margin" Value="1"/> |
|||
<Setter Property="Padding" Value="0,0,0,4"/> |
|||
<!--These are actually set on the CalendarView in WinUI--> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewCalendarItemForeground}"/> |
|||
<Setter Property="Background" Value="{DynamicResource CalendarViewCalendarItemRevealBackground}"/> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewCalendarItemRevealBorderBrush}"/> |
|||
<Setter Property="BorderThickness" Value="2"/> |
|||
<Setter Property="FontSize" Value="20"/> |
|||
<Setter Property="ClipToBounds" Value="False"/> |
|||
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
|||
<Setter Property="VerticalContentAlignment" Value="Center"/> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Panel> |
|||
<!-- To mimic WinUI SystemFocusVisual, Focus visual is drawn outside the bounds of the item --> |
|||
<Border Name="Root" Background="{TemplateBinding Background}" |
|||
BorderThickness="0" ClipToBounds="True"> |
|||
|
|||
<ContentControl Name="Content" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
FontSize="{TemplateBinding FontSize}" |
|||
Margin="{TemplateBinding Padding}"/> |
|||
|
|||
</Border> |
|||
|
|||
<!-- Drawn Border should render on top of background to preserve the 1px |
|||
margin between items--> |
|||
<Border Name="Border" |
|||
BorderThickness="2" |
|||
BorderBrush="{TemplateBinding BorderBrush}"/> |
|||
|
|||
<!--Removed for now...WinUI doesn't have selection follow focus, and only uses |
|||
focus visual w/ keyboard focus |
|||
<Border Name="FocusVisual" BorderThickness="2" |
|||
BorderBrush="{DynamicResource SystemControlHighlightBaseHighBrush}" |
|||
IsHitTestVisible="False" |
|||
Margin="-2" CornerRadius="{DynamicResource ControlCornerRadius}"/>--> |
|||
</Panel> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<!--<Style Selector="CalendarButton /template/ Border#FocusVisual"> |
|||
<Setter Property="IsVisible" Value="False"/> |
|||
</Style>--> |
|||
|
|||
<Style Selector="CalendarButton:pointerover /template/ Border#Border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewHoverBorderBrush}"/> |
|||
</Style> |
|||
<Style Selector="CalendarButton:pressed /template/ Border#Border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewPressedBorderBrush}"/> |
|||
</Style> |
|||
|
|||
<!-- Adjusted :selected to look like :today from DayItem --> |
|||
<Style Selector="CalendarButton:selected /template/ Border#Root"> |
|||
<Setter Property="Background" Value="{DynamicResource SystemAccentBrush}"/> |
|||
</Style> |
|||
<Style Selector="CalendarButton:selected /template/ Border#Border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewSelectedBorderBrush}"/> |
|||
</Style> |
|||
<Style Selector="CalendarButton:selected:pointerover /template/ Border#Root"> |
|||
<Setter Property="Background"> |
|||
<SolidColorBrush Color="{DynamicResource SystemAccentColor}"/> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="CalendarButton:selected:pointerover /template/ Border#Border"> |
|||
<Setter Property="BorderBrush"> |
|||
<SolidColorBrush Color="{DynamicResource SystemAccentColorDark1}"/> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="CalendarButton:selected:pressed /template/ Border#Root"> |
|||
<Setter Property="Background"> |
|||
<SolidColorBrush Color="{DynamicResource SystemAccentColor}"/> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="CalendarButton:pressed /template/ Border#Border"> |
|||
<Setter Property="BorderBrush"> |
|||
<SolidColorBrush Color="{DynamicResource SystemAccentColorDark2}"/> |
|||
</Setter> |
|||
</Style> |
|||
|
|||
<Style Selector="CalendarButton:selected /template/ ContentControl#Content"> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewTodayForeground}"/> |
|||
<Setter Property="FontWeight" Value="SemiBold"/> |
|||
</Style> |
|||
|
|||
<!-- WinUI calls this OutOfFocus --> |
|||
<Style Selector="CalendarButton:inactive /template/ Border#Root"> |
|||
<!-- These are probably set in code, but consistent --> |
|||
<Setter Property="Background" Value="{DynamicResource CalendarViewOutOfScopeBackground}"/> |
|||
</Style> |
|||
<Style Selector="CalendarButton:inactive /template/ ContentControl#Content"> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewOutOfScopeForeground}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="CalendarButton:blackout /template/ ContentControl#Content"> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewBlackoutForeground}"/> |
|||
</Style> |
|||
|
|||
<!--<Style Selector="CalendarButton:dayfocused /template/ Border#FocusVisual"> |
|||
<Setter Property="IsVisible" Value="True"/> |
|||
</Style>--> |
|||
|
|||
<Style Selector="CalendarDayButton:disabled /template/ ContentControl#Content"> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewWeekDayForegroundDisabled}"/> |
|||
</Style> |
|||
</Styles> |
|||
@ -0,0 +1,116 @@ |
|||
<!-- |
|||
// (c) Copyright Microsoft Corporation. |
|||
// This source is subject to the Microsoft Public License (Ms-PL). |
|||
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. |
|||
// All other rights reserved. |
|||
--> |
|||
|
|||
<Styles xmlns="https://github.com/avaloniaui"> |
|||
<Style Selector="CalendarDayButton"> |
|||
<Setter Property="ClickMode" Value="Release"/> |
|||
<Setter Property="MinWidth" Value="40"/> |
|||
<Setter Property="MinHeight" Value="40"/> |
|||
<Setter Property="Margin" Value="1"/> |
|||
<Setter Property="Padding" Value="0,0,0,4"/> |
|||
<!--These are actually set on the CalendarView in WinUI--> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewCalendarItemForeground}"/> |
|||
<Setter Property="Background" Value="{DynamicResource CalendarViewCalendarItemRevealBackground}"/> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewCalendarItemRevealBorderBrush}"/> |
|||
<Setter Property="BorderThickness" Value="2"/> |
|||
<Setter Property="FontSize" Value="20"/> |
|||
<Setter Property="ClipToBounds" Value="False"/> |
|||
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
|||
<Setter Property="VerticalContentAlignment" Value="Center"/> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Panel> |
|||
<!-- To mimic WinUI SystemFocusVisual, Focus visual is drawn outside the bounds of the item --> |
|||
<Border Name="Root" Background="{TemplateBinding Background}" |
|||
BorderThickness="0" ClipToBounds="True"> |
|||
|
|||
<ContentControl Name="Content" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
FontSize="{TemplateBinding FontSize}" |
|||
Margin="{TemplateBinding Padding}"/> |
|||
|
|||
</Border> |
|||
|
|||
<!-- Drawn Border should render on top of background to preserve the 1px |
|||
margin between items--> |
|||
<Border Name="Border" |
|||
BorderThickness="2" |
|||
BorderBrush="{TemplateBinding BorderBrush}"/> |
|||
|
|||
<!--Removed for now...WinUI doesn't have selection follow focus, and only uses |
|||
focus visual w/ keyboard focus |
|||
<Border Name="FocusVisual" BorderThickness="2" |
|||
BorderBrush="{DynamicResource SystemControlHighlightBaseHighBrush}" |
|||
IsHitTestVisible="False" |
|||
Margin="-2" CornerRadius="2"/>--> |
|||
</Panel> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<!--<Style Selector="CalendarDayButton /template/ Border#FocusVisual"> |
|||
<Setter Property="IsVisible" Value="False"/> |
|||
</Style>--> |
|||
|
|||
<Style Selector="CalendarDayButton:pointerover /template/ Border#Border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewHoverBorderBrush}"/> |
|||
</Style> |
|||
<Style Selector="CalendarDayButton:pressed /template/ Border#Border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewPressedBorderBrush}"/> |
|||
</Style> |
|||
<Style Selector="CalendarDayButton:selected /template/ Border#Border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewSelectedBorderBrush}"/> |
|||
</Style> |
|||
<Style Selector="CalendarDayButton:selected:pointerover /template/ Border#Border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewSelectedHoverBorderBrush}"/> |
|||
</Style> |
|||
<Style Selector="CalendarDayButton:selected:pressed /template/ Border#Border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewSelectedPressedBorderBrush}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="CalendarDayButton:today /template/ Border#Root"> |
|||
<!-- These are probably set in code, but consistent --> |
|||
<Setter Property="Background"> |
|||
<SolidColorBrush Color="{DynamicResource SystemAccentColor}"/> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="CalendarDayButton:today:pointerover /template/ Border#Border"> |
|||
<Setter Property="BorderBrush"> |
|||
<SolidColorBrush Color="{DynamicResource SystemAccentColorDark1}"/> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="CalendarDayButton:today:pressed /template/ Border#Border"> |
|||
<Setter Property="BorderBrush"> |
|||
<SolidColorBrush Color="{DynamicResource SystemAccentColorDark2}"/> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="CalendarDayButton:today /template/ ContentControl#Content"> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewTodayForeground}"/> |
|||
<Setter Property="FontWeight" Value="SemiBold"/> |
|||
</Style> |
|||
|
|||
<!-- WinUI calls this OutOfFocus --> |
|||
<Style Selector="CalendarDayButton:inactive /template/ Border#Root"> |
|||
<Setter Property="Background" Value="{DynamicResource CalendarViewOutOfScopeBackground}"/> |
|||
</Style> |
|||
<Style Selector="CalendarDayButton:inactive /template/ ContentControl#Content"> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewOutOfScopeForeground}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="CalendarDayButton:blackout /template/ ContentControl#Content"> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewBlackoutForeground}"/> |
|||
</Style> |
|||
|
|||
<!--<Style Selector="CalendarDayButton:dayfocused /template/ Border#FocusVisual"> |
|||
<Setter Property="IsVisible" Value="True"/> |
|||
</Style>--> |
|||
<Style Selector="CalendarDayButton:disabled /template/ ContentControl#Content"> |
|||
<Setter Property="Foreground" Value="{DynamicResource CalendarViewWeekDayForegroundDisabled}"/> |
|||
</Style> |
|||
</Styles> |
|||
@ -0,0 +1,134 @@ |
|||
<!-- |
|||
// (c) Copyright Microsoft Corporation. |
|||
// This source is subject to the Microsoft Public License (Ms-PL). |
|||
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. |
|||
// All other rights reserved. |
|||
--> |
|||
|
|||
<Styles xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|||
<Style Selector="CalendarItem"> |
|||
<Setter Property="DayTitleTemplate"> |
|||
<Template> |
|||
<TextBlock Text="{Binding}" |
|||
HorizontalAlignment="Center" |
|||
VerticalAlignment="Center" |
|||
FontSize="12"/> |
|||
</Template> |
|||
</Setter> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border BorderThickness="{TemplateBinding BorderThickness}" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
CornerRadius="{DynamicResource ControlCornerRadius}"> |
|||
<Border.Styles> |
|||
<Style Selector="Button.CalendarHeader"> |
|||
<Setter Property="HorizontalAlignment" Value="Stretch" /> |
|||
<Setter Property="VerticalAlignment" Value="Stretch" /> |
|||
<Setter Property="FontSize" Value="20" /> |
|||
<Setter Property="Background" Value="{DynamicResource CalendarViewNavigationButtonBackground}"/> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<!-- HCA was changed here to ensure nav arrows display correctly --> |
|||
<ContentPresenter Name="Text" Background="{TemplateBinding Background}" |
|||
BorderBrush="{DynamicResource CalendarViewNavigationButtonBorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
Content="{TemplateBinding Content}" |
|||
Margin="{TemplateBinding Padding}" |
|||
HorizontalContentAlignment="Stretch" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" /> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Button.CalendarNavigation > Path"> |
|||
<Setter Property="Stroke" Value="{DynamicResource CalendarViewForeground}"/> |
|||
</Style> |
|||
<Style Selector="Button.CalendarNavigation:pointerover > Path"> |
|||
<Setter Property="Stroke" Value="{DynamicResource CalendarViewNavigationButtonForegroundPointerOver}"/> |
|||
</Style> |
|||
<Style Selector="Button.CalendarNavigation:pressed > Path"> |
|||
<Setter Property="Stroke" Value="{DynamicResource CalendarViewNavigationButtonForegroundPressed}"/> |
|||
</Style> |
|||
<Style Selector="Button.CalendarHeader:pointerover /template/ ContentPresenter#Text"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CalendarViewNavigationButtonBorderBrushPointerOver}" /> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CalendarViewNavigationButtonForegroundPointerOver}"/> |
|||
<!-- Prevent base button template:pointerover from overriding background here --> |
|||
<Setter Property="Background" Value="{DynamicResource CalendarViewNavigationButtonBackground}"/> |
|||
</Style> |
|||
<Style Selector="Button.CalendarHeader:pressed /template/ ContentPresenter#Text"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CalendarViewNavigationButtonForegroundPressed}"/> |
|||
<!-- Prevent base button template:pointerover from overriding background here --> |
|||
<Setter Property="Background" Value="{DynamicResource CalendarViewNavigationButtonBackground}"/> |
|||
</Style> |
|||
<Style Selector="Button.CalendarHeader:disabled /template/ ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CalendarViewWeekDayForegroundDisabled}"/> |
|||
</Style> |
|||
</Border.Styles> |
|||
<!-- To keep calendar from resizing when switching DisplayMode |
|||
In WinUI Min-Width from TemplateSettings |
|||
basically...MinWidth of DayItem = 40, 40 * 7 = 280 + margins/padding = ~294 |
|||
Viewport height is set from # of rows displayed (2-8) in Month mode, = ~290 for 6 weeks (+ day names) |
|||
--> |
|||
<Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch" RowDefinitions="40,*" MinWidth="294"> |
|||
<Grid ColumnDefinitions="5*,*,*"> |
|||
<Button Name="HeaderButton" Classes="CalendarHeader" Foreground="{TemplateBinding Foreground}" Padding="12,0,0,0" HorizontalContentAlignment="Left" /> |
|||
<Button Name="PreviousButton" Grid.Column="1" Classes="CalendarHeader CalendarNavigation" Foreground="{TemplateBinding Foreground}" Padding="1" HorizontalContentAlignment="Left"> |
|||
<!--Path mimics Segoe MDL2 Assets font glyph used in WinUI--> |
|||
<Path StrokeThickness="1.5" Data="M 0,9 L 9,0 L 18,9" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
|||
</Button> |
|||
<Button Name="NextButton" Grid.Column="2" Classes="CalendarHeader CalendarNavigation" Foreground="{TemplateBinding Foreground}" Padding="1" HorizontalContentAlignment="Left"> |
|||
<!--Path mimics Segoe MDL2 Assets font glyph used in WinUI--> |
|||
<Path StrokeThickness="1.5" Data="M 0,0 L 9,9 L 18,0" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
|||
</Button> |
|||
</Grid> |
|||
<Border Name="BackgroundLayer" Background="{TemplateBinding BorderBrush}" Grid.Row="1" /> |
|||
<Grid Name="MonthView" Grid.Row="1" IsVisible="False" MinHeight="290" > |
|||
<Grid.RowDefinitions> |
|||
<!--This should always be the week day names??--> |
|||
<RowDefinition Height="38" /> |
|||
<RowDefinition Height="Auto" /> |
|||
<RowDefinition Height="Auto" /> |
|||
<RowDefinition Height="Auto" /> |
|||
<RowDefinition Height="Auto" /> |
|||
<RowDefinition Height="Auto" /> |
|||
<RowDefinition Height="Auto" /> |
|||
</Grid.RowDefinitions> |
|||
<Grid.ColumnDefinitions> |
|||
<ColumnDefinition Width="Auto" /> |
|||
<ColumnDefinition Width="Auto" /> |
|||
<ColumnDefinition Width="Auto" /> |
|||
<ColumnDefinition Width="Auto" /> |
|||
<ColumnDefinition Width="Auto" /> |
|||
<ColumnDefinition Width="Auto" /> |
|||
<ColumnDefinition Width="Auto" /> |
|||
</Grid.ColumnDefinitions> |
|||
</Grid> |
|||
<Grid Name="YearView" MinHeight="290" |
|||
Grid.Row="1" IsVisible="False"> |
|||
<Grid.RowDefinitions> |
|||
<RowDefinition Height="*" /> |
|||
<RowDefinition Height="*" /> |
|||
<RowDefinition Height="*" /> |
|||
</Grid.RowDefinitions> |
|||
<Grid.ColumnDefinitions> |
|||
<ColumnDefinition Width="*" /> |
|||
<ColumnDefinition Width="*" /> |
|||
<ColumnDefinition Width="*" /> |
|||
<ColumnDefinition Width="*" /> |
|||
</Grid.ColumnDefinitions> |
|||
</Grid> |
|||
|
|||
</Grid> |
|||
|
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
|
|||
<!-- BackgroundLayer shouldn't show in the week day names row--> |
|||
<Style Selector="Calendar[DisplayMode=Month] CalendarItem /template/ Border#BackgroundLayer"> |
|||
<Setter Property="Margin" Value="0,38,0,0"/> |
|||
</Style> |
|||
|
|||
</Styles> |
|||
@ -0,0 +1,16 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" Selector="Carousel"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}"> |
|||
<CarouselPresenter IsVirtualized="{TemplateBinding IsVirtualized}" |
|||
Items="{TemplateBinding Items}" |
|||
ItemsPanel="{TemplateBinding ItemsPanel}" |
|||
Margin="{TemplateBinding Padding}" |
|||
SelectedIndex="{TemplateBinding SelectedIndex}" |
|||
PageTransition="{TemplateBinding PageTransition}"/> |
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
@ -0,0 +1,294 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|||
<Design.PreviewWith> |
|||
<Border Padding="20"> |
|||
<CheckBox IsThreeState="True" IsChecked="True" /> |
|||
</Border> |
|||
</Design.PreviewWith> |
|||
<Style Selector="CheckBox"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundUnchecked}" /> |
|||
<Setter Property="Foreground" Value="{DynamicResource CheckBoxForegroundUnchecked}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushUnchecked}" /> |
|||
<Setter Property="Padding" Value="8,5,0,0" /> |
|||
<Setter Property="HorizontalAlignment" Value="Left" /> |
|||
<Setter Property="VerticalAlignment" Value="Center" /> |
|||
<Setter Property="HorizontalContentAlignment" Value="Left" /> |
|||
<Setter Property="VerticalContentAlignment" Value="Top" /> |
|||
<Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" /> |
|||
<Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" /> |
|||
<Setter Property="MinWidth" Value="120" /> |
|||
<Setter Property="MinHeight" Value="32" /> |
|||
<!--<Setter Property="UseSystemFocusVisuals" Value="{StaticResource UseSystemFocusVisuals}" /> |
|||
<Setter Property="FocusVisualMargin" Value="-7,-3,-7,-3" />--> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Grid x:Name="RootGrid" ColumnDefinitions="20,*"> |
|||
<Border x:Name="PART_Border" Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
CornerRadius="{DynamicResource ControlCornerRadius}" /> |
|||
|
|||
<Grid VerticalAlignment="Top" Height="32"> |
|||
<Border x:Name="NormalRectangle" |
|||
BorderThickness="{DynamicResource CheckBoxBorderThemeThickness}" |
|||
UseLayoutRounding="False" |
|||
Height="20" |
|||
Width="20" |
|||
CornerRadius="{DynamicResource ControlCornerRadius}" /> |
|||
|
|||
<Viewbox UseLayoutRounding="False"> |
|||
<Panel> |
|||
<Panel Height="16" Width="16" /> |
|||
<Path x:Name="CheckGlyph" Stretch="Uniform" VerticalAlignment="Center" /> |
|||
</Panel> |
|||
</Viewbox> |
|||
</Grid> |
|||
<ContentPresenter x:Name="ContentPresenter" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
Margin="{TemplateBinding Padding}" |
|||
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
Grid.Column="1" /> |
|||
<!-- TODO: TextWrapping="Wrap" on contentpresenter --> |
|||
</Grid> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
|
|||
<!-- Unchecked Normal State --> |
|||
<Style Selector="CheckBox /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundUnchecked}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundUnchecked}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushUnchecked}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeUnchecked}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillUnchecked}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundUnchecked}" /> |
|||
<Setter Property="Opacity" Value="0" /> |
|||
</Style> |
|||
|
|||
<!-- Unchecked PointerOver State --> |
|||
<Style Selector="CheckBox:pointerover /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundUncheckedPointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:pointerover /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundUncheckedPointerOver}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushUncheckedPointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:pointerover /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeUncheckedPointerOver}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillUncheckedPointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:pointerover /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundUncheckedPointerOver}" /> |
|||
</Style> |
|||
|
|||
<!-- Unchecked Pressed State --> |
|||
<Style Selector="CheckBox:pressed /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundUncheckedPressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:pressed /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundUncheckedPressed}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushUncheckedPressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:pressed /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeUncheckedPressed}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillUncheckedPressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:pressed /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundUncheckedPressed}" /> |
|||
</Style> |
|||
|
|||
<!-- Unchecked Disabled state --> |
|||
<Style Selector="CheckBox:disabled /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundUncheckedDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:disabled /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundUncheckedDisabled}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushUncheckedDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:disabled /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeUncheckedDisabled}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillUncheckedDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:disabled /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundUncheckedDisabled}" /> |
|||
</Style> |
|||
|
|||
|
|||
<!-- Checked Normal State --> |
|||
<Style Selector="CheckBox:checked /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundChecked}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundChecked}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushChecked}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundFillChecked}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillChecked}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundChecked}" /> |
|||
<Setter Property="Data" Value="M1507 31L438 1101L-119 543L-29 453L438 919L1417 -59L1507 31Z" /> |
|||
<Setter Property="Width" Value="9" /> |
|||
<Setter Property="Opacity" Value="1" /> |
|||
</Style> |
|||
|
|||
<!-- Checked PointerOver State --> |
|||
<Style Selector="CheckBox:checked:pointerover /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundCheckedPointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked:pointerover /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundCheckedPointerOver}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushCheckedPointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked:pointerover /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeCheckedPointerOver}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillCheckedPointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked:pointerover /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundCheckedPointerOver}" /> |
|||
</Style> |
|||
|
|||
<!-- Checked Pressed State --> |
|||
<Style Selector="CheckBox:checked:pressed /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundCheckedPressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked:pressed /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundCheckedPressed}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushCheckedPressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked:pressed /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeCheckedPressed}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillCheckedPressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked:pressed /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundCheckedPressed}" /> |
|||
</Style> |
|||
|
|||
<!-- Checked Disabled State --> |
|||
<Style Selector="CheckBox:checked:disabled /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundCheckedDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked:disabled /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundCheckedDisabled}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushCheckedDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked:disabled /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeCheckedDisabled}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillCheckedDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:checked:disabled /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundCheckedDisabled}" /> |
|||
</Style> |
|||
|
|||
|
|||
<!-- Indeterminate Normal State --> |
|||
<Style Selector="CheckBox:indeterminate /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundIndeterminate}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundIndeterminate}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushIndeterminate}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeIndeterminate}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillIndeterminate}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundIndeterminate}" /> |
|||
<Setter Property="Data" Value="M1536 1536v-1024h-1024v1024h1024z" /> |
|||
<Setter Property="Width" Value="7" /> |
|||
<Setter Property="Opacity" Value="1" /> |
|||
</Style> |
|||
|
|||
<!-- Indeterminate PointerOver State --> |
|||
<Style Selector="CheckBox:indeterminate:pointerover /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundIndeterminatePointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate:pointerover /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundIndeterminatePointerOver}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushIndeterminatePointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate:pointerover /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeIndeterminatePointerOver}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillIndeterminatePointerOver}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate:pointerover /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundIndeterminatePointerOver}" /> |
|||
</Style> |
|||
|
|||
<!-- Indeterminate Pressed State --> |
|||
<Style Selector="CheckBox:indeterminate:pressed /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundIndeterminatePressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate:pressed /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundIndeterminatePressed}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushIndeterminatePressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate:pressed /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeIndeterminatePressed}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillIndeterminatePressed}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate:pressed /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundIndeterminatePressed}" /> |
|||
</Style> |
|||
|
|||
<!-- Indeterminate Disabled State --> |
|||
<Style Selector="CheckBox:indeterminate:disabled /template/ ContentPresenter#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource CheckBoxForegroundIndeterminateDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate:disabled /template/ Border#PART_Border"> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxBackgroundIndeterminateDisabled}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxBorderBrushIndeterminateDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate:disabled /template/ Border#NormalRectangle"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckBackgroundStrokeIndeterminateDisabled}" /> |
|||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckBackgroundFillIndeterminateDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="CheckBox:indeterminate:disabled /template/ Path#CheckGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource CheckBoxCheckGlyphForegroundIndeterminateDisabled}" /> |
|||
</Style> |
|||
</Styles> |
|||
@ -0,0 +1,192 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|||
<Design.PreviewWith> |
|||
<Border Padding="20"> |
|||
<StackPanel Spacing="10"> |
|||
<ComboBox PlaceholderText="Select an item"> |
|||
<ComboBoxItem>Item 1</ComboBoxItem> |
|||
<ComboBoxItem>Item 2</ComboBoxItem> |
|||
</ComboBox> |
|||
|
|||
<ComboBox IsEnabled="False"> |
|||
<ComboBoxItem>Item 1</ComboBoxItem> |
|||
<ComboBoxItem>Item 2</ComboBoxItem> |
|||
</ComboBox> |
|||
</StackPanel> |
|||
</Border> |
|||
</Design.PreviewWith> |
|||
<Styles.Resources> |
|||
<Thickness x:Key="ComboBoxTopHeaderMargin">0,0,0,4</Thickness> |
|||
<x:Int32 x:Key="ComboBoxPopupMaxNumberOfItems">15</x:Int32> |
|||
<x:Int32 x:Key="ComboBoxPopupMaxNumberOfItemsThatCanBeShownOnOneSide">7</x:Int32> |
|||
|
|||
<Thickness x:Key="ComboBoxPadding">12,5,0,7</Thickness> |
|||
<Thickness x:Key="ComboBoxEditableTextPadding">11,5,32,6</Thickness> |
|||
<x:Double x:Key="ComboBoxMinHeight">32</x:Double> |
|||
</Styles.Resources> |
|||
<Style Selector="ComboBox"> |
|||
<Setter Property="Padding" Value="{DynamicResource ComboBoxPadding}" /> |
|||
<Setter Property="MaxDropDownHeight" Value="504" /> |
|||
<Setter Property="Foreground" Value="{DynamicResource ComboBoxForeground}" /> |
|||
<Setter Property="Background" Value="{DynamicResource ComboBoxBackground}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ComboBoxBorderBrush}" /> |
|||
<Setter Property="BorderThickness" Value="{DynamicResource ComboBoxBorderThemeThickness}" /> |
|||
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled" /> |
|||
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" /> |
|||
<Setter Property="HorizontalAlignment" Value="Left" /> |
|||
<Setter Property="VerticalAlignment" Value="Top" /> |
|||
<Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" /> |
|||
<Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" /> |
|||
<Setter Property="PlaceholderForeground" Value="{DynamicResource ComboBoxPlaceHolderForeground}" /> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Grid RowDefinitions="Auto, *, Auto" ColumnDefinitions="*,32"> |
|||
<ContentPresenter x:Name="HeaderContentPresenter" |
|||
Grid.Row="0" |
|||
Grid.Column="0" |
|||
Grid.ColumnSpan="2" |
|||
TextBlock.FontWeight="{DynamicResource ComboBoxHeaderThemeFontWeight}" |
|||
Margin="{DynamicResource ComboBoxTopHeaderMargin}" |
|||
VerticalAlignment="Top" /> |
|||
<Border x:Name="Background" |
|||
Grid.Row="1" |
|||
Grid.Column="0" |
|||
Grid.ColumnSpan="2" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
CornerRadius="{DynamicResource ControlCornerRadius}" |
|||
MinWidth="{DynamicResource ComboBoxThemeMinWidth}" /> |
|||
|
|||
<Border x:Name="HighlightBackground" |
|||
Grid.Row="1" |
|||
Grid.Column="0" |
|||
Grid.ColumnSpan="2" |
|||
Background="{DynamicResource ComboBoxBackgroundUnfocused}" |
|||
BorderBrush="{DynamicResource ComboBoxBackgroundBorderBrushUnfocused}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
CornerRadius="{DynamicResource ControlCornerRadius}" |
|||
Opacity="0" /> |
|||
<TextBlock x:Name="PlaceholderTextBlock" |
|||
Grid.Row="1" |
|||
Grid.Column="0" |
|||
HorizontalAlignment="Left" |
|||
VerticalAlignment="Center" |
|||
Margin="{TemplateBinding Padding}" |
|||
Foreground="{TemplateBinding PlaceholderForeground}" |
|||
Text="{TemplateBinding PlaceholderText}" IsVisible="{TemplateBinding SelectionBoxItem, Converter={x:Static ObjectConverters.IsNull}}"/> |
|||
<ContentControl x:Name="ContentPresenter" |
|||
Content="{TemplateBinding SelectionBoxItem}" |
|||
ContentTemplate="{TemplateBinding ItemTemplate}" |
|||
Grid.Row="1" |
|||
Grid.Column="0" |
|||
Margin="{TemplateBinding Padding}" |
|||
HorizontalAlignment="Left" |
|||
VerticalAlignment="Center"> |
|||
</ContentControl> |
|||
|
|||
<Border x:Name="DropDownOverlay" |
|||
Grid.Row="1" |
|||
Grid.Column="1" |
|||
Background="Transparent" |
|||
Margin="0,1,1,1" |
|||
Width="30" IsVisible="False" |
|||
HorizontalAlignment="Right" /> |
|||
|
|||
<Viewbox UseLayoutRounding="False" |
|||
MinHeight="{DynamicResource ComboBoxMinHeight}" |
|||
Grid.Row="1" |
|||
Grid.Column="1" |
|||
IsHitTestVisible="False" |
|||
Margin="0,0,10,0" Height="12" Width="12" |
|||
HorizontalAlignment="Right" |
|||
VerticalAlignment="Center"> |
|||
<Panel> |
|||
<Panel Height="12" Width="12" /> |
|||
<Path x:Name="DropDownGlyph" Stretch="Uniform" VerticalAlignment="Center" Data="M1939 486L2029 576L1024 1581L19 576L109 486L1024 1401L1939 486Z" /> |
|||
</Panel> |
|||
</Viewbox> |
|||
<Popup Name="PART_Popup" |
|||
WindowManagerAddShadowHint="False" |
|||
IsOpen="{TemplateBinding IsDropDownOpen, Mode=TwoWay}" |
|||
MinWidth="{Binding Bounds.Width, RelativeSource={RelativeSource TemplatedParent}}" |
|||
MaxHeight="{TemplateBinding MaxDropDownHeight}" |
|||
PlacementTarget="{TemplateBinding}" |
|||
StaysOpen="False"> |
|||
<Border x:Name="PopupBorder" |
|||
Background="{DynamicResource ComboBoxDropDownBackground}" |
|||
BorderBrush="{DynamicResource ComboBoxDropDownBorderBrush}" |
|||
BorderThickness="{DynamicResource ComboBoxDropdownBorderThickness}" |
|||
Margin="0,-1,0,-1" |
|||
Padding="{DynamicResource ComboBoxDropdownBorderPadding}" |
|||
HorizontalAlignment="Stretch" |
|||
CornerRadius="{DynamicResource OverlayCornerRadius}"> |
|||
<ScrollViewer> |
|||
<ItemsPresenter Name="PART_ItemsPresenter" |
|||
Items="{TemplateBinding Items}" |
|||
Margin="{DynamicResource ComboBoxDropdownContentMargin}" |
|||
ItemsPanel="{TemplateBinding ItemsPanel}" |
|||
ItemTemplate="{TemplateBinding ItemTemplate}" |
|||
VirtualizationMode="{TemplateBinding VirtualizationMode}" |
|||
/> |
|||
</ScrollViewer> |
|||
</Border> |
|||
</Popup> |
|||
</Grid> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
|
|||
<!-- NormalState --> |
|||
<Style Selector="ComboBox /template/ TextBlock#PlaceholderTextBlock"> |
|||
<Setter Property="Foreground" Value="{DynamicResource ComboBoxPlaceHolderForeground}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBox /template/ Path#DropDownGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource ComboBoxDropDownGlyphForeground}"/> |
|||
</Style> |
|||
|
|||
<!-- PointerOver State --> |
|||
<Style Selector="ComboBox:pointerover /template/ Border#Background"> |
|||
<Setter Property="Background" Value="{DynamicResource ComboBoxBackgroundPointerOver}"/> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ComboBoxBorderBrushPointerOver}" /> |
|||
</Style> |
|||
|
|||
<!-- Pressed State --> |
|||
<Style Selector="ComboBox:pressed /template/ Border#Background"> |
|||
<Setter Property="Background" Value="{DynamicResource ComboBoxBackgroundPressed}"/> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ComboBoxBorderBrushPressed}" /> |
|||
</Style> |
|||
|
|||
<!-- Disabled State --> |
|||
<Style Selector="ComboBox:disabled /template/ Border#Background"> |
|||
<Setter Property="Background" Value="{DynamicResource ComboBoxBackgroundDisabled}"/> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ComboBoxBorderBrushDisabled}" /> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBox:disabled /template/ ContentPresenter#HeaderContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource ComboBoxForegroundDisabled}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBox:disabled /template/ ContentControl#ContentPresenter"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource ComboBoxForegroundDisabled}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBox:disabled /template/ TextBlock#PlaceholderTextBlock"> |
|||
<Setter Property="Foreground" Value="{DynamicResource ComboBoxForegroundDisabled}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBox:disabled /template/ TextBlock#PlaceholderTextBlock"> |
|||
<Setter Property="Foreground" Value="{DynamicResource ComboBoxForegroundDisabled}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBox:disabled /template/ Path#DropDownGlyph"> |
|||
<Setter Property="Fill" Value="{DynamicResource ComboBoxDropDownGlyphForegroundDisabled}"/> |
|||
</Style> |
|||
|
|||
<!-- Focused State --> |
|||
|
|||
<!-- Focus Pressed State --> |
|||
|
|||
<!-- Unfocused State --> |
|||
|
|||
</Styles> |
|||
@ -0,0 +1,59 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui"> |
|||
<Design.PreviewWith> |
|||
<Border Padding="20"> |
|||
<StackPanel Spacing="10"> |
|||
<ComboBox> |
|||
<ComboBoxItem>Item 1</ComboBoxItem> |
|||
<ComboBoxItem>Item 2</ComboBoxItem> |
|||
</ComboBox> |
|||
|
|||
<ComboBox IsEnabled="False"> |
|||
<ComboBoxItem>Item 1</ComboBoxItem> |
|||
<ComboBoxItem>Item 2</ComboBoxItem> |
|||
</ComboBox> |
|||
</StackPanel> |
|||
</Border> |
|||
</Design.PreviewWith> |
|||
|
|||
<Style Selector="ComboBoxItem"> |
|||
<Setter Property="TextBlock.Foreground" Value="{DynamicResource ComboBoxItemForeground}" /> |
|||
<Setter Property="Background" Value="{DynamicResource ComboBoxItemBackground}" /> |
|||
<Setter Property="Padding" Value="{DynamicResource ComboBoxItemThemePadding}" /> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ComboBoxItemRevealBorderBrush}" /> |
|||
<Setter Property="BorderThickness" Value="{DynamicResource ComboBoxItemRevealBorderThemeThickness}" /> |
|||
<Setter Property="HorizontalContentAlignment" Value="Stretch" /> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<ContentPresenter Name="PART_ContentPresenter" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
Padding="{TemplateBinding Padding}"/> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBoxItem:pointerover /template/ ContentPresenter"> |
|||
<Setter Property="Background" Value="{DynamicResource ThemeControlHighlightMidBrush}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBoxItem:selected /template/ ContentPresenter"> |
|||
<Setter Property="Background" Value="{DynamicResource ThemeAccentBrush4}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBoxItem:selected:focus /template/ ContentPresenter"> |
|||
<Setter Property="Background" Value="{DynamicResource ThemeAccentBrush3}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBoxItem:selected:pointerover /template/ ContentPresenter"> |
|||
<Setter Property="Background" Value="{DynamicResource ThemeAccentBrush3}"/> |
|||
</Style> |
|||
|
|||
<Style Selector="ComboBoxItem:selected:focus:pointerover /template/ ContentPresenter"> |
|||
<Setter Property="Background" Value="{DynamicResource ThemeAccentBrush2}"/> |
|||
</Style> |
|||
</Styles> |
|||
@ -0,0 +1,15 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" Selector="ContentControl"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<ContentPresenter Name="PART_ContentPresenter" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
Padding="{TemplateBinding Padding}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"/> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
@ -0,0 +1,23 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" Selector="ContextMenu"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/> |
|||
<Setter Property="BorderThickness" Value="1"/> |
|||
<Setter Property="Padding" Value="4,2"/> |
|||
<Setter Property="TextBlock.FontSize" Value="{DynamicResource FontSizeNormal}" /> |
|||
<Setter Property="TextBlock.FontWeight" Value="Normal" /> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
Padding="{TemplateBinding Padding}"> |
|||
<ScrollViewer> |
|||
<ItemsPresenter Name="PART_ItemsPresenter" |
|||
Items="{TemplateBinding Items}" |
|||
ItemsPanel="{TemplateBinding ItemsPanel}" |
|||
ItemTemplate="{TemplateBinding ItemTemplate}" |
|||
KeyboardNavigation.TabNavigation="Continue"/> |
|||
</ScrollViewer> |
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
@ -0,0 +1,38 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" |
|||
Selector="DataValidationErrors"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<DockPanel LastChildFill="True"> |
|||
<ContentControl DockPanel.Dock="Right" |
|||
ContentTemplate="{TemplateBinding ErrorTemplate}" |
|||
DataContext="{TemplateBinding Owner}" |
|||
Content="{Binding (DataValidationErrors.Errors)}" |
|||
IsVisible="{Binding (DataValidationErrors.HasErrors)}"/> |
|||
<ContentPresenter Name="PART_ContentPresenter" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
Padding="{TemplateBinding Padding}"/> |
|||
</DockPanel> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
<Setter Property="ErrorTemplate"> |
|||
<DataTemplate> |
|||
<Canvas Width="14" Height="14" Margin="4 0 1 0" |
|||
Background="Transparent"> |
|||
<Canvas.Styles> |
|||
<Style Selector="ToolTip"> |
|||
<Setter Property="Background" Value="{DynamicResource ErrorLowBrush}"/> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ErrorBrush}"/> |
|||
</Style> |
|||
</Canvas.Styles> |
|||
<ToolTip.Tip> |
|||
<ItemsControl Items="{Binding}"/> |
|||
</ToolTip.Tip> |
|||
<Path Data="M14,7 A7,7 0 0,0 0,7 M0,7 A7,7 0 1,0 14,7 M7,3l0,5 M7,9l0,2" Stroke="{DynamicResource ErrorBrush}" StrokeThickness="2"/> |
|||
</Canvas> |
|||
</DataTemplate> |
|||
</Setter> |
|||
</Style> |
|||
@ -0,0 +1,126 @@ |
|||
<!-- |
|||
// (c) Copyright Microsoft Corporation. |
|||
// This source is subject to the Microsoft Public License (Ms-PL). |
|||
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. |
|||
// All other rights reserved. |
|||
--> |
|||
|
|||
<Styles xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:sys="clr-namespace:System;assembly=netstandard"> |
|||
<Style Selector="DatePicker"> |
|||
|
|||
<Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}"/> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/> |
|||
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/> |
|||
<Setter Property="Padding" Value="4"/> |
|||
|
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Grid ColumnDefinitions="*,Auto"> |
|||
|
|||
<Grid.Styles> |
|||
|
|||
<Style Selector="Button.CalendarDropDown"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Grid Height="18" |
|||
Width="19" |
|||
HorizontalAlignment="Center" |
|||
VerticalAlignment="Center" |
|||
Margin="0" |
|||
Background="{DynamicResource ThemeControlLowBrush}" |
|||
ColumnDefinitions="*,*,*,*" |
|||
RowDefinitions="23*,19*,19*,19*" |
|||
ClipToBounds="False"> |
|||
|
|||
<Border Name="Highlight" |
|||
Margin="-1" |
|||
Grid.ColumnSpan="4" |
|||
Grid.Row="0" |
|||
Grid.RowSpan="4" |
|||
BorderThickness="1" |
|||
BorderBrush="{DynamicResource HighlightBrush}" /> |
|||
<Border Name="Background" |
|||
Margin="0,-1,0,0" |
|||
Grid.ColumnSpan="4" |
|||
Grid.Row="1" |
|||
Grid.RowSpan="3" |
|||
BorderThickness="1" |
|||
BorderBrush="{DynamicResource ThemeBorderHighBrush}" |
|||
CornerRadius=".5" /> |
|||
<Rectangle Grid.ColumnSpan="4" |
|||
Grid.RowSpan="1" |
|||
StrokeThickness="1" |
|||
Stroke="{DynamicResource ThemeBorderHighBrush}" |
|||
Fill="{DynamicResource ThemeAccentBrush}"> |
|||
</Rectangle> |
|||
<TextBlock Margin="0,-1,0,0" |
|||
VerticalAlignment="Center" |
|||
HorizontalAlignment="Center" |
|||
Grid.Column="0" |
|||
Grid.Row="1" |
|||
Grid.ColumnSpan="4" |
|||
Grid.RowSpan="3" |
|||
FontSize="{DynamicResource FontSizeSmall}" |
|||
Foreground="{DynamicResource ThemeBorderHighBrush}" |
|||
Text="{Binding Source={x:Static sys:DateTime.Today}, Path=Day}"/> |
|||
|
|||
<Ellipse HorizontalAlignment="Center" VerticalAlignment="Center" Fill="{DynamicResource ThemeControlLowBrush}" StrokeThickness="0" Grid.ColumnSpan="4" Width="3" Height="3"/> |
|||
</Grid> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
|
|||
<Style Selector="Button.CalendarDropDown /template/ Border#Highlight"> |
|||
<Setter Property="IsVisible" Value="False"/> |
|||
</Style> |
|||
<Style Selector="Button.CalendarDropDown:pressed /template/ Border#Highlight"> |
|||
<Setter Property="IsVisible" Value="True"/> |
|||
</Style> |
|||
|
|||
<Style Selector="Button.CalendarDropDown:pointerover /template/ Border#Background"> |
|||
<Setter Property="Background" Value="{DynamicResource ThemeAccentBrush4}"/> |
|||
</Style> |
|||
|
|||
</Grid.Styles> |
|||
|
|||
<TextBox Name="PART_TextBox" |
|||
Background="{TemplateBinding Background}" |
|||
BorderBrush="{TemplateBinding BorderBrush}" |
|||
BorderThickness="{TemplateBinding BorderThickness}" |
|||
Padding="{TemplateBinding Padding}" |
|||
Watermark="{TemplateBinding Watermark}" |
|||
UseFloatingWatermark="{TemplateBinding UseFloatingWatermark}" |
|||
DataValidationErrors.Errors="{TemplateBinding (DataValidationErrors.Errors)}" |
|||
Grid.Column="0"/> |
|||
|
|||
<Button Name="PART_Button" |
|||
Grid.Column="1" |
|||
Width="20" |
|||
Classes="CalendarDropDown" |
|||
Foreground="{TemplateBinding Foreground}" |
|||
Background="Transparent" |
|||
BorderThickness="0" |
|||
Margin="2,0,2,0" |
|||
Padding="0" |
|||
ClipToBounds="False" |
|||
Focusable="False"/> |
|||
|
|||
<Popup Name="PART_Popup" |
|||
PlacementTarget="{TemplateBinding}" |
|||
StaysOpen="False"> |
|||
<Calendar Name="PART_Calendar" |
|||
FirstDayOfWeek="{TemplateBinding FirstDayOfWeek}" |
|||
IsTodayHighlighted="{TemplateBinding IsTodayHighlighted}"/> |
|||
</Popup> |
|||
</Grid> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
|
|||
<Style Selector="DatePicker:focus /template/ TextBox#PART_TextBox"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderHighBrush}"/> |
|||
</Style> |
|||
|
|||
</Styles> |
|||
@ -0,0 +1,19 @@ |
|||
<Style xmlns="https://github.com/avaloniaui" Selector="EmbeddableControlRoot"> |
|||
<Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}"/> |
|||
<Setter Property="FontSize" Value="{DynamicResource FontSizeNormal}"/> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Panel> |
|||
<Border Name="PART_TransparencyFallback" IsHitTestVisible="False" /> |
|||
<Border Background="{TemplateBinding Background}"> |
|||
<VisualLayerManager> |
|||
<ContentPresenter Name="PART_ContentPresenter" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
Margin="{TemplateBinding Padding}"/> |
|||
</VisualLayerManager> |
|||
</Border> |
|||
</Panel> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
@ -0,0 +1,138 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui"> |
|||
|
|||
<Style Selector="Expander"> |
|||
<Setter Property="ContentTransition"> |
|||
<Setter.Value> |
|||
<CrossFade Duration="00:00:00.25" /> |
|||
</Setter.Value> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander[ExpandDirection=Down]"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border Background="{TemplateBinding Background}"> |
|||
<Grid RowDefinitions="Auto,*"> |
|||
<ToggleButton Name="PART_toggle" Grid.Row="0" Content="{TemplateBinding Header}" IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" /> |
|||
<ContentPresenter Name="PART_ContentPresenter" |
|||
Grid.Row="1" |
|||
IsVisible="{TemplateBinding IsExpanded}" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
Padding="{TemplateBinding Padding}" /> |
|||
</Grid> |
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander[ExpandDirection=Up]"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border Background="{TemplateBinding Background}"> |
|||
<Grid RowDefinitions="*,Auto"> |
|||
<ToggleButton Name="PART_toggle" Grid.Row="1" Content="{TemplateBinding Header}" IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" /> |
|||
<ContentPresenter Name="PART_ContentPresenter" |
|||
Grid.Row="0" |
|||
IsVisible="{TemplateBinding IsExpanded}" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
Padding="{TemplateBinding Padding}" /> |
|||
</Grid> |
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander[ExpandDirection=Right]"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border Background="{TemplateBinding Background}"> |
|||
<Grid ColumnDefinitions="Auto,*"> |
|||
<ToggleButton Name="PART_toggle" Grid.Column="0" Content="{TemplateBinding Header}" IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" /> |
|||
<ContentPresenter Name="PART_ContentPresenter" |
|||
Grid.Column="1" |
|||
IsVisible="{TemplateBinding IsExpanded}" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
Padding="{TemplateBinding Padding}" /> |
|||
</Grid> |
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander[ExpandDirection=Left]"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border Background="{TemplateBinding Background}"> |
|||
<Grid ColumnDefinitions="*,Auto"> |
|||
<ToggleButton Name="PART_toggle" Grid.Column="1" Content="{TemplateBinding Header}" IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" /> |
|||
<ContentPresenter Name="PART_ContentPresenter" |
|||
Grid.Column="0" |
|||
IsVisible="{TemplateBinding IsExpanded}" |
|||
ContentTemplate="{TemplateBinding ContentTemplate}" |
|||
Content="{TemplateBinding Content}" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
Padding="{TemplateBinding Padding}" /> |
|||
</Grid> |
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander /template/ ToggleButton#PART_toggle"> |
|||
<Setter Property="Template"> |
|||
<ControlTemplate> |
|||
<Border BorderThickness="1"> |
|||
<Grid ColumnDefinitions="Auto,Auto"> |
|||
<Border Grid.Column="0" Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center"> |
|||
<Path Fill="{DynamicResource ThemeForegroundBrush}" |
|||
HorizontalAlignment="Center" |
|||
VerticalAlignment="Center" |
|||
Data="M 0 2 L 4 6 L 0 10 Z" /> |
|||
</Border> |
|||
<ContentPresenter Name="PART_ContentPresenter" |
|||
Grid.Column="1" |
|||
Background="Transparent" |
|||
Content="{TemplateBinding Content}" |
|||
VerticalAlignment="Center" |
|||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" |
|||
Padding="{TemplateBinding Padding}"/> |
|||
</Grid> |
|||
</Border> |
|||
</ControlTemplate> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander /template/ ToggleButton#PART_toggle:pointerover /template/ Border"> |
|||
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderLowBrush}" /> |
|||
</Style> |
|||
<Style Selector="Expander:down:expanded /template/ ToggleButton#PART_toggle /template/ Path"> |
|||
<Setter Property="RenderTransform"> |
|||
<RotateTransform Angle="90" /> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander:up:expanded /template/ ToggleButton#PART_toggle /template/ Path"> |
|||
<Setter Property="RenderTransform"> |
|||
<RotateTransform Angle="-90" /> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander:left:expanded /template/ ToggleButton#PART_toggle /template/ Path"> |
|||
<Setter Property="RenderTransform"> |
|||
<RotateTransform Angle="180" /> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander:right /template/ ToggleButton#PART_toggle /template/ Path"> |
|||
<Setter Property="RenderTransform"> |
|||
<RotateTransform Angle="180" /> |
|||
</Setter> |
|||
</Style> |
|||
<Style Selector="Expander:right:expanded /template/ ToggleButton#PART_toggle /template/ Path"> |
|||
<Setter Property="RenderTransform"> |
|||
<RotateTransform Angle="0" /> |
|||
</Setter> |
|||
</Style> |
|||
</Styles> |
|||
@ -0,0 +1,54 @@ |
|||
<Styles xmlns="https://github.com/avaloniaui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
x:Class="Avalonia.Themes.Fluent.FluentTheme"> |
|||
<!-- Define ToolTip first so its styles can be overriden by other controls (e.g. TextBox) --> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ToolTip.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.DataValidationErrors.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
|
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.FocusAdorner.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Button.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Carousel.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.CheckBox.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ComboBox.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ComboBoxItem.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ContentControl.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.GridSplitter.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ItemsControl.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ListBox.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ListBoxItem.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Menu.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ContextMenu.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.MenuItem.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.OverlayPopupHost.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.PopupRoot.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ProgressBar.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.RadioButton.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Separator.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Slider.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ScrollBar.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ScrollViewer.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.TabStrip.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.TabStripItem.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<!-- TabControl needs to come after TabStrip as it redefines the inner TabStrip.ItemsPanel--> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.TabControl.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.TabItem.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.TextBox.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ToggleButton.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Expander.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.TreeView.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.TreeViewItem.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.UserControl.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Window.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.EmbeddableControlRoot.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.CalendarButton.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.CalendarDayButton.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.CalendarItem.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.Calendar.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.DatePicker.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.ButtonSpinner.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.NumericUpDown.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.AutoCompleteBox.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.WindowNotificationManager.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.NotificationCard.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
<StyleInclude Source="resm:Avalonia.Themes.Fluent.NativeMenuBar.xaml?assembly=Avalonia.Themes.Fluent"/> |
|||
</Styles> |
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue