UIView.Tag 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.
An integer that can be used to identify a specific UIView instance.
public virtual nint Tag { [Foundation.Export("tag")] get; [Foundation.Export("setTag:")] set; }
member this.Tag : nint with get, set
Property Value
System.System.IntPtr
System.nativeint
The default value is 0.
- Attributes
Remarks
The stability and uniqueness of this property is entirely the responsibility of the application developer.
Applies to
See also
- <xref:UIKit.UIView.ViewWithTag>