XamlCompositionBrush 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 simple class
that can be used to quickly create XAML brushes from arbitrary PipelineBuilder pipelines
public sealed class XamlCompositionBrush : CommunityToolkit.WinUI.UI.Media.XamlCompositionEffectBrushBase
type XamlCompositionBrush = class
inherit XamlCompositionEffectBrushBase
Public NotInheritable Class XamlCompositionBrush
Inherits XamlCompositionEffectBrushBase
- Inheritance
-
Microsoft.UI.Xaml.Media.XamlCompositionBrushBaseXamlCompositionBrush
Xaml |
Initializes a new instance of the XamlCompositionBrush class. |
Is |
Gets or sets a value indicating whether the current brush is using the provided pipeline, or the fallback color. (Inherited from XamlCompositionEffectBrushBase) |
Pipeline |
Gets the PipelineBuilder pipeline for the current instance |
Bind<T>(Effect |
Binds an EffectAnimation<T> to the composition brush in the current instance |
Bind<T>(Effect |
Binds an EffectSetter<T> to the composition brush in the current instance |
Clone() |
Clones the current instance by rebuilding the source Microsoft.UI.Xaml.Media.Brush. Use this method to reuse the same effects pipeline on a different Microsoft.UI.Dispatching.DispatcherQueue |
On |
Invoked whenever the Microsoft.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush property is updated. (Inherited from XamlCompositionEffectBrushBase) |
On |
(Inherited from XamlCompositionEffectBrushBase) |
On |
(Inherited from XamlCompositionEffectBrushBase) |
On |
Updates the Microsoft.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 Microsoft.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush). (Inherited from XamlCompositionEffectBrushBase) |
Προϊόν | Εκδόσεις |
---|---|
Windows Community Toolkit | 7.0.0 |