CompositionTexture.AlphaMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for