AcrylicSourceExtension Class

Definition

A custom acrylic effect that can be inserted into a pipeline

[Windows.UI.Xaml.Markup.MarkupExtensionReturnType(ReturnType=typeof(Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder))]
public sealed class AcrylicSourceExtension : Windows.UI.Xaml.Markup.MarkupExtension
[<Windows.UI.Xaml.Markup.MarkupExtensionReturnType(ReturnType=typeof(Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder))>]
type AcrylicSourceExtension = class
    inherit MarkupExtension
Public NotInheritable Class AcrylicSourceExtension
Inherits 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

AcrylicSourceExtension()

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