Edit

Share via


UIButton.SetTitleShadowColor(UIColor, UIControlState) Method

Definition

Sets the title shadow color for the specified button state.

[Foundation.Export("setTitleShadowColor:forState:")]
public virtual void SetTitleShadowColor (UIKit.UIColor color, UIKit.UIControlState forState);
abstract member SetTitleShadowColor : UIKit.UIColor * UIKit.UIControlState -> unit
override this.SetTitleShadowColor : UIKit.UIColor * UIKit.UIControlState -> unit

Parameters

color
UIColor

The shadow color to set, pass null to clear it.

This parameter can be null.

forState
UIControlState
Attributes

Remarks

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

Applies to