Language

Window.SystemBackdrop Property

Definition

Gets or sets the system backdrop to apply to this Window. The backdrop is rendered behind the Window content.

public:
 property SystemBackdrop ^ SystemBackdrop { SystemBackdrop ^ get(); void set(SystemBackdrop ^ value); };
SystemBackdrop SystemBackdrop();

void SystemBackdrop(SystemBackdrop value);
public SystemBackdrop SystemBackdrop { get; set; }
var systemBackdrop = window.systemBackdrop;
window.systemBackdrop = systemBackdrop;
Public Property SystemBackdrop As SystemBackdrop

Property Value

The system backdrop to apply to this Window.

Examples

This example shows how to set the SystemBackdrop to use Mica Alt.


    
        
    

    
        
        
            
        

        
        
            
        



public MainWindow()
{
    this.InitializeComponent();

    SystemBackdrop = new MicaBackdrop() 
                        { Kind = MicaKind.BaseAlt };
}

Remarks

For more information about system backdrops, see Materials in Windows 11.

The backdrop is rendered behind the content specified in Window.Content. If all the content is fully opaque, this backdrop will have no visible effect.

Applies to

See also