AcrylicSourceExtension Class

Definition

A custom acrylic effect that can be inserted into a pipeline

C#
[Windows.UI.Xaml.Markup.MarkupExtensionReturnType(ReturnType=typeof(Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder))]
public sealed class AcrylicSourceExtension : Windows.UI.Xaml.Markup.MarkupExtension
Inheritance
Windows.UI.Xaml.Markup.MarkupExtension
AcrylicSourceExtension
Attributes
Windows.UI.Xaml.Markup.MarkupExtensionReturnTypeAttribute

Remarks

This effect mirrors the look of the default AcrylicBrush implementation

Constructors

Properties

BackgroundSource

Gets or sets the background source mode for the effect (the default is Windows.UI.Xaml.Media.AcrylicBackgroundSource.Backdrop).

BlurAmount

Gets or sets the blur amount for the effect (must be a positive value)

TextureUri

Gets or sets the Uri to the texture to use

TintColor

Gets or sets the tint for the effect

TintOpacity

Gets or sets the color for the tint effect (default is 0.5, must be in the [0, 1] range)

Applies to

Product Versions
Windows Community Toolkit 7.0.0, 7.1.0