UISegmentedControl.SetTitleTextAttributes Method

Definition

Sets the rendering text attributes for a specific state in the control.

public void SetTitleTextAttributes (UIKit.UITextAttributes attributes, UIKit.UIControlState state);
member this.SetTitleTextAttributes : UIKit.UITextAttributes * UIKit.UIControlState -> unit

Parameters

attributes
UITextAttributes

rendering attributes for the text.

state
UIControlState

The state to alter

Remarks

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

Applies to