AcrylicBrush AcrylicBrush AcrylicBrush AcrylicBrush Class


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

public : class AcrylicBrush : XamlCompositionBrushBase
struct winrt::Windows::UI::Xaml::Media::AcrylicBrush : XamlCompositionBrushBase
public class AcrylicBrush : XamlCompositionBrushBase
Public Class AcrylicBrush Inherits XamlCompositionBrushBase

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)



For more info, design guidance, and code examples, see Acrylic material.

If you have the XAML Controls Gallery app installed, click here to open the app and see Acrylic in action.


Version history

Windows version SDK version Value added
1903 18362 TintLuminosityOpacity


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

Initializes a new instance of the AcrylicBrush class.


AlwaysUseFallback AlwaysUseFallback AlwaysUseFallback AlwaysUseFallback

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

AlwaysUseFallbackProperty AlwaysUseFallbackProperty AlwaysUseFallbackProperty AlwaysUseFallbackProperty

Identifies 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.

BackgroundSourceProperty BackgroundSourceProperty BackgroundSourceProperty BackgroundSourceProperty

Identifies the BackgroundSource dependency property.

CompositionBrush CompositionBrush CompositionBrush CompositionBrush

Gets or sets the CompositionBrush used by this XAML brush.

(Inherited from XamlCompositionBrushBase)
Dispatcher Dispatcher Dispatcher Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)
FallbackColor FallbackColor FallbackColor FallbackColor

The color to use for rendering in case the CompositionBrush can't be rendered.

(Inherited from XamlCompositionBrushBase)
FallbackColorProperty FallbackColorProperty FallbackColorProperty FallbackColorProperty

Identifies the FallbackColor dependency property.

(Inherited from XamlCompositionBrushBase)
Opacity Opacity Opacity Opacity

Gets or sets the degree of opacity of a Brush.

(Inherited from Brush)
OpacityProperty OpacityProperty OpacityProperty OpacityProperty

Identifies the Opacity dependency property.

(Inherited from Brush)
RelativeTransform RelativeTransform RelativeTransform RelativeTransform

Gets or sets the transformation that is applied to the brush using relative coordinates.

(Inherited from Brush)
RelativeTransformProperty RelativeTransformProperty RelativeTransformProperty RelativeTransformProperty

Identifies the RelativeTransform dependency property.

(Inherited from Brush)
TintColor TintColor TintColor TintColor

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

TintColorProperty TintColorProperty TintColorProperty TintColorProperty

Identifies the TintColor dependency property.

TintLuminosityOpacity TintLuminosityOpacity TintLuminosityOpacity TintLuminosityOpacity

Gets or sets the brightness amount between the TintColor and the underlying pixels behind the Acrylic surface.

TintLuminosityOpacityProperty TintLuminosityOpacityProperty TintLuminosityOpacityProperty TintLuminosityOpacityProperty

Identifies the TintLuminosityOpacity dependency property.

TintOpacity TintOpacity TintOpacity TintOpacity

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

TintOpacityProperty TintOpacityProperty TintOpacityProperty TintOpacityProperty

Identifies the TintOpacity dependency property.

TintTransitionDuration TintTransitionDuration TintTransitionDuration TintTransitionDuration

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

TintTransitionDurationProperty TintTransitionDurationProperty TintTransitionDurationProperty TintTransitionDurationProperty

Identifies the TintTransitionDuration dependency property.

Transform Transform Transform Transform

Gets or sets the transformation that is applied to the brush.

(Inherited from Brush)
TransformProperty TransformProperty TransformProperty TransformProperty

Identifies the Transform dependency property.

(Inherited from Brush)


ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)
GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)
GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)
OnConnected OnConnected OnConnected OnConnected

Invoked when a brush is first used on screen to paint an element.

When implemented in a derived class, you can create a CompositionBrush instance and provide it to the framework by setting the CompositionBrush property.

OnDisconnected will be called when the brush is no longer being used to paint any elements.

(Inherited from XamlCompositionBrushBase)
OnDisconnected OnDisconnected OnDisconnected OnDisconnected

Invoked when the brush is no longer being used to paint any elements.

When implemented in a derived class, you can safely dispose of the compostion brush and other composition resources.

OnConnected will be called again if the brush is later used to paint any elements after being disconnected.

(Inherited from XamlCompositionBrushBase)
PopulatePropertyInfo(String,AnimationPropertyInfo) PopulatePropertyInfo(String,AnimationPropertyInfo) PopulatePropertyInfo(String,AnimationPropertyInfo) PopulatePropertyInfo(String,AnimationPropertyInfo)

Defines a property that can be animated.

(Inherited from Brush)
PopulatePropertyInfoOverride(String,AnimationPropertyInfo) PopulatePropertyInfoOverride(String,AnimationPropertyInfo) PopulatePropertyInfoOverride(String,AnimationPropertyInfo) PopulatePropertyInfoOverride(String,AnimationPropertyInfo)

When overridden in a derived class, defines a property that can be animated.

(Inherited from Brush)
ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)
SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)

See also