UIView.Alpha 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.
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.