편집

다음을 통해 공유


UIView.TintColor Property

Definition

A highlight color which should be used to indicate interactive controls.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIColor TintColor { [Foundation.Export("tintColor")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setTintColor:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.TintColor : UIKit.UIColor with get, set

Property Value

(More documentation for this node is coming)

This value can be null.

Attributes

Remarks

Starting in iOS 7, application developers should use TintColor to indicate interaction elements within their UI. P:UIKit.UIView.TintColor is hierarchical; that is, setting the TintColor on a top-level UIView will carry through to child views until the TintColor is overridden.

When a UIActionSheet is displayed, visible UIViews will have their tint grayed out (desaturated), indicating to the application user that they must interact with the UIActionSheet. Application developers who wish to customize the desaturation of their UIViews should override the TintColorDidChange() method.

This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.

Applies to