AcrylicBrush AcrylicBrush AcrylicBrush AcrylicBrush Class

Definition

Paints an area with a semi-transparent material that uses multiple effects including blur and a noise texture.

public : class AcrylicBrush : XamlCompositionBrushBase, IAcrylicBrushpublic class AcrylicBrush : XamlCompositionBrushBase, IAcrylicBrushPublic Class AcrylicBrush Inherits XamlCompositionBrushBase Implements IAcrylicBrush// You can use this class in JavaScript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Inherited Members

Inherited methods

Inherited properties

Constructors

AcrylicBrush() AcrylicBrush() AcrylicBrush() AcrylicBrush()

Initializes a new instance of the AcrylicBrush class.

public : AcrylicBrush()public AcrylicBrush()Public Sub New()// You can use this method in JavaScript.

Properties

AlwaysUseFallback AlwaysUseFallback AlwaysUseFallback AlwaysUseFallback

Gets or sets a value that specifies whether the brush is forced to the solid fallback color.

public : PlatForm::Boolean AlwaysUseFallback { get; set; }public bool AlwaysUseFallback { get; set; }Public ReadWrite Property AlwaysUseFallback As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

true to always replace the acrylic material with the solid fallback color. Otherwise, false. The default is false.

Remarks

By default, the acrylic material is replaced with a solid color when one of the fallback conditions is met (such as entering battery saver mode). You can set this property to true to always replace the acrylic material with a solid color. Setting this property will synchronously trigger a transition animation between the normal look and fallback color.

AlwaysUseFallbackProperty AlwaysUseFallbackProperty AlwaysUseFallbackProperty AlwaysUseFallbackProperty

Identifies the AlwaysUseFallback dependency property.

public : static DependencyProperty AlwaysUseFallbackProperty { get; }public static DependencyProperty AlwaysUseFallbackProperty { get; }Public Static ReadOnly Property AlwaysUseFallbackProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the AlwaysUseFallback dependency property.

BackgroundSource BackgroundSource BackgroundSource BackgroundSource

Gets or sets a value that specifies whether the brush samples from the app content or from the content behind the app window.

public : AcrylicBackgroundSource BackgroundSource { get; set; }public AcrylicBackgroundSource BackgroundSource { get; set; }Public ReadWrite Property BackgroundSource As AcrylicBackgroundSource// You can use this property in JavaScript.
Value
AcrylicBackgroundSource AcrylicBackgroundSource AcrylicBackgroundSource AcrylicBackgroundSource

A value of the enumeration that specifies whether the brush samples from the app content or from the content behind the app window.

BackgroundSourceProperty BackgroundSourceProperty BackgroundSourceProperty BackgroundSourceProperty

Identifies the BackgroundSource dependency property.

public : static DependencyProperty BackgroundSourceProperty { get; }public static DependencyProperty BackgroundSourceProperty { get; }Public Static ReadOnly Property BackgroundSourceProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the BackgroundSource dependency property.

TintColor TintColor TintColor TintColor

Gets or sets the color tint for the semi-transparent acrylic material.

public : Color TintColor { get; set; }public Color TintColor { get; set; }Public ReadWrite Property TintColor As Color// You can use this property in JavaScript.
Value
Color Color Color Color

The color tint for the semi-transparent acrylic material.

TintColorProperty TintColorProperty TintColorProperty TintColorProperty

Identifies the TintColor dependency property.

public : static DependencyProperty TintColorProperty { get; }public static DependencyProperty TintColorProperty { get; }Public Static ReadOnly Property TintColorProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the TintColor dependency property.

TintOpacity TintOpacity TintOpacity TintOpacity

Gets or sets the degree of opacity of the color tint.

public : double TintOpacity { get; set; }public double TintOpacity { get; set; }Public ReadWrite Property TintOpacity As double// You can use this property in JavaScript.
<acrylicBrush TintOpacity="double"/>

Value
double double double double

The opacity expressed as a value between 0 and 1.0. The default value is 1.0, which is full opacity. 0 is transparent opacity.

TintOpacityProperty TintOpacityProperty TintOpacityProperty TintOpacityProperty

Identifies the TintOpacity dependency property.

public : static DependencyProperty TintOpacityProperty { get; }public static DependencyProperty TintOpacityProperty { get; }Public Static ReadOnly Property TintOpacityProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the TintOpacity dependency property.

TintTransitionDuration TintTransitionDuration TintTransitionDuration TintTransitionDuration

Gets or sets the length of the automatic transition animation used when the TintColor changes.

public : TimeSpan TintTransitionDuration { get; set; }public TimeSpan TintTransitionDuration { get; set; }Public ReadWrite Property TintTransitionDuration As TimeSpan// You can use this property in JavaScript.
Value
TimeSpan TimeSpan TimeSpan TimeSpan

The length of the automatic transition animation used when the TintColor changes.

TintTransitionDurationProperty TintTransitionDurationProperty TintTransitionDurationProperty TintTransitionDurationProperty

Identifies the TintTransitionDuration dependency property.

public : static DependencyProperty TintTransitionDurationProperty { get; }public static DependencyProperty TintTransitionDurationProperty { get; }Public Static ReadOnly Property TintTransitionDurationProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the TintTransitionDuration dependency property.