Condividi tramite


UIButton.SetTitleShadowColor(UIColor, UIControlState) Method

Definition

Sets the color of the title's shadow for the specified state.

[Foundation.Export("setTitleShadowColor:forState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetTitleShadowColor(UIKit.UIColor? color, UIKit.UIControlState forState);
[<Foundation.Export("setTitleShadowColor:forState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetTitleShadowColor : UIKit.UIColor * UIKit.UIControlState -> unit
override this.SetTitleShadowColor : UIKit.UIColor * UIKit.UIControlState -> unit

Parameters

color
UIColor
forState
UIControlState
Attributes

Applies to