Class CompositionBrushBackdrop
Helper class for creating composition-brush based backdrops.
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public abstract class CompositionBrushBackdrop : UI.Xaml.Media.SystemBackdrop
Constructors
| Improve this Doc View SourceCompositionBrushBackdrop()
Initializes a new instance of the CompositionBrushBackdrop class.
Declaration
public CompositionBrushBackdrop()
Methods
| Improve this Doc View SourceCreateBrush(UI.Composition.Compositor)
Called when the brush needs to be created for the provided compositor.
Declaration
protected abstract UI.Composition.CompositionBrush CreateBrush(UI.Composition.Compositor compositor)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Composition.Compositor | compositor | Compositor context |
Returns
Type | Description |
---|---|
Windows.UI.Composition.CompositionBrush | Brush |
OnDefaultSystemBackdropConfigurationChanged(ICompositionSupportsSystemBackdrop, XamlRoot)
Declaration
protected override void OnDefaultSystemBackdropConfigurationChanged(ICompositionSupportsSystemBackdrop target, XamlRoot xamlRoot)
Parameters
Type | Name | Description |
---|---|---|
ICompositionSupportsSystemBackdrop | target | |
XamlRoot | xamlRoot |
OnTargetConnected(ICompositionSupportsSystemBackdrop, XamlRoot)
Declaration
protected override void OnTargetConnected(ICompositionSupportsSystemBackdrop connectedTarget, XamlRoot xamlRoot)
Parameters
Type | Name | Description |
---|---|---|
ICompositionSupportsSystemBackdrop | connectedTarget | |
XamlRoot | xamlRoot |
OnTargetDisconnected(ICompositionSupportsSystemBackdrop)
Declaration
protected override void OnTargetDisconnected(ICompositionSupportsSystemBackdrop disconnectedTarget)
Parameters
Type | Name | Description |
---|---|---|
ICompositionSupportsSystemBackdrop | disconnectedTarget |