편집

다음을 통해 공유


UIView.Alpha Property

Definition

Controls the transparency (alpha) value for the view.

public virtual nfloat Alpha { [Foundation.Export("alpha")] get; [Foundation.Export("setAlpha:")] set; }
member this.Alpha : nfloat with get, set

Property Value

0 to 1.

Attributes

Remarks

This controls the transparency for the view. If the value is 1.0, the view is completely opaque, if the value is 0.0 the view is completely transparent.

When the value of the view is in between 0 and 1, the contents of the view are composited with views that are lower in the view hierarchy or the superview.

Applies to