Delen via


CompositionTexture.AlphaMode Property

Definition

Informs the Desktop Window Manager (DWM) whether alpha pixels in the texture should be honored or ignored.

public:
 property DirectXAlphaMode AlphaMode { DirectXAlphaMode get(); void set(DirectXAlphaMode value); };
DirectXAlphaMode AlphaMode();

void AlphaMode(DirectXAlphaMode value);
public DirectXAlphaMode AlphaMode { get; set; }
var directXAlphaMode = compositionTexture.alphaMode;
compositionTexture.alphaMode = directXAlphaMode;
Public Property AlphaMode As DirectXAlphaMode

Property Value

Indicates whether alpha pixels in the texture should be honored or ignored.

Applies to