Show / Hide Table of Contents

Class TransparentTintBackdrop

A custom backdrop that make the window completely transparent.

Inheritance
System.Object
CompositionBrushBackdrop
TransparentTintBackdrop
Inherited Members
CompositionBrushBackdrop.OnDefaultSystemBackdropConfigurationChanged(ICompositionSupportsSystemBackdrop, XamlRoot)
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public class TransparentTintBackdrop : CompositionBrushBackdrop

Constructors

| Improve this Doc View Source

TransparentTintBackdrop()

Initializes a new instance of the TransparentTintBackdrop class.

Declaration
public TransparentTintBackdrop()
| Improve this Doc View Source

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 Source

TintColor

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 Source

CreateBrush(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
CompositionBrushBackdrop.CreateBrush(UI.Composition.Compositor)
| Improve this Doc View Source

OnTargetConnected(ICompositionSupportsSystemBackdrop, XamlRoot)

Declaration
protected override void OnTargetConnected(ICompositionSupportsSystemBackdrop connectedTarget, XamlRoot xamlRoot)
Parameters
Type Name Description
ICompositionSupportsSystemBackdrop connectedTarget
XamlRoot xamlRoot
Overrides
CompositionBrushBackdrop.OnTargetConnected(ICompositionSupportsSystemBackdrop, XamlRoot)
| Improve this Doc View Source

OnTargetDisconnected(ICompositionSupportsSystemBackdrop)

Declaration
protected override void OnTargetDisconnected(ICompositionSupportsSystemBackdrop disconnectedTarget)
Parameters
Type Name Description
ICompositionSupportsSystemBackdrop disconnectedTarget
Overrides
CompositionBrushBackdrop.OnTargetDisconnected(ICompositionSupportsSystemBackdrop)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX