Class TransparentTintBackdrop
A custom backdrop that make the window completely transparent.
Inherited Members
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public class TransparentTintBackdrop : CompositionBrushBackdrop
Constructors
| Improve this Doc View SourceTransparentTintBackdrop()
Initializes a new instance of the TransparentTintBackdrop class.
Declaration
public TransparentTintBackdrop()
TransparentTintBackdrop(UI.Color)
Initializes a new instance of the TransparentTintBackdrop class.
Declaration
public TransparentTintBackdrop(UI.Color tintColor)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Color | tintColor | Color for the background. The Alpha value defines the opacity of the window |
Properties
| Improve this Doc View SourceTintColor
Gets or sets the color used for the backdrop. The Alpha value defines the opacity of the window.
Declaration
public UI.Color TintColor { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Color |
Methods
| Improve this Doc View SourceCreateBrush(UI.Composition.Compositor)
Called when the brush needs to be created for the provided compositor.
Declaration
protected override 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 |
Overrides
| Improve this Doc View SourceOnTargetConnected(ICompositionSupportsSystemBackdrop, XamlRoot)
Declaration
protected override void OnTargetConnected(ICompositionSupportsSystemBackdrop connectedTarget, XamlRoot xamlRoot)
Parameters
Type | Name | Description |
---|---|---|
ICompositionSupportsSystemBackdrop | connectedTarget | |
XamlRoot | xamlRoot |
Overrides
| Improve this Doc View SourceOnTargetDisconnected(ICompositionSupportsSystemBackdrop)
Declaration
protected override void OnTargetDisconnected(ICompositionSupportsSystemBackdrop disconnectedTarget)
Parameters
Type | Name | Description |
---|---|---|
ICompositionSupportsSystemBackdrop | disconnectedTarget |