AcrylicSourceExtension Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.MarkupExtensionAcrylicSourceExtension
- Attributes
-
Windows.UI.Xaml.Markup.MarkupExtensionReturnTypeAttribute
This effect mirrors the look of the default AcrylicBrush implementation
Background |
Gets or sets the background source mode for the effect (the default is Windows.UI.Xaml.Media.AcrylicBackgroundSource.Backdrop). |
Blur |
Gets or sets the blur amount for the effect (must be a positive value) |
Texture |
Gets or sets the Uri to the texture to use |
Tint |
Gets or sets the tint for the effect |
Tint |
Gets or sets the color for the tint effect (default is 0.5, must be in the [0, 1] range) |
Product | Versions |
---|---|
Windows Community Toolkit | 7.0.0, 7.1.0 |