AcrylicBrush 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 XamlCompositionBrush that implements an acrylic effect with customizable parameters
public sealed class AcrylicBrush : Microsoft.Toolkit.Uwp.UI.Media.XamlCompositionEffectBrushBase
type AcrylicBrush = class
inherit XamlCompositionEffectBrushBase
Public NotInheritable Class AcrylicBrush
Inherits XamlCompositionEffectBrushBase
- Inheritance
Background |
Identifies the BackgroundSource dependency property. |
Blur |
Identifies the BlurAmount dependency property. |
Texture |
Identifies the TextureUri dependency property. |
Tint |
Identifies the TintColor dependency property. |
Tint |
Identifies the TintOpacity dependency property. |
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) |
Is |
Gets or sets a value indicating whether the current brush is using the provided pipeline, or the fallback color. (Inherited from XamlCompositionEffectBrushBase) |
Texture |
Gets or sets the Uri for the texture to use |
Tint |
Gets or sets the tint for the effect |
Tint |
Gets or sets the tint opacity factor for the effect (default is 0.5, must be in the [0, 1] range) |
On |
A method that builds and returns the PipelineBuilder pipeline to use in the current instance. This method can also be used to store any needed EffectSetter<T> or EffectAnimation<T> instances in local fields, for later use (they will need to be called upon Windows.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush). (Inherited from XamlCompositionEffectBrushBase) |
On |
Invoked whenever the Windows.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush property is updated. (Inherited from XamlCompositionEffectBrushBase) |
On |
(Inherited from XamlCompositionEffectBrushBase) |
On |
(Inherited from XamlCompositionEffectBrushBase) |
On |
Updates the Windows.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush property depending on the input value. (Inherited from XamlCompositionEffectBrushBase) |
On |
A method that builds and returns the PipelineBuilder pipeline to use in the current instance. This method can also be used to store any needed EffectSetter<T> or EffectAnimation<T> instances in local fields, for later use (they will need to be called upon Windows.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush). (Inherited from XamlCompositionEffectBrushBase) |
Produit | Versions |
---|---|
Windows Community Toolkit | 6.1.1, 7.0.0, 7.1.0 |