Image.IsOpaque 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.
Gets or sets a Boolean value that hints to the rendering engine that it may safely omit drawing visual elements behind the image. This is a bindable property.
public:
property bool IsOpaque { bool get(); void set(bool value); };
public bool IsOpaque { get; set; }
member this.IsOpaque : bool with get, set
Public Property IsOpaque As Boolean
Property Value
A Boolean that indicates whether the image is opaque. The default is false.
Remarks
Setting this property does not change the visual opacity of the image. Instead, it provides a hint to the rendering engine that may improve performance by skipping the rendering of elements behind the image.