Visual.VisualOpacity Visual.VisualOpacity Visual.VisualOpacity Visual.VisualOpacity Property

定義

取得或設定 Visual 的不透明度。Gets or sets the opacity of the Visual.

public:  property double VisualOpacity {  protected public:
double get(); protected:
 void set(double value); };
public double VisualOpacity { protected internal get; protected set; }
member this.VisualOpacity : double with get, set
Public Property VisualOpacity As Double

屬性值

視覺物件的不透明度值。The opacity value of the visual.

備註

不透明度Visual的值會表示為0到1之間的值。The value of the opacity of the Visual is expressed as a value between 0 and 1. 值為0表示專案完全透明, 而值為1則表示元素完全不透明。A value of 0 indicates that the element is completely transparent, whereas a value of 1 indicates that the element is completely opaque. 值為0.5 表示元素為 50% 不透明。A value of 0.5 indicates that the element is 50 percent opaque. 小於0的值會被視為 0;大於1的值會被視為1。Values that are less than 0 are treated as 0; values that are greater than 1 are treated as 1.

適用於