UIKit.UIButton.SetTitleColor Method
Sets the title color for the specified button state.

Syntax

[Foundation.Export("setTitleColor:forState:")]
public virtual void SetTitleColor (UIColor color, UIControlState forState)

Parameters

color

The color to set, pass null to clear it.

This parameter can be null.

forState
Documentation for this section has not yet been entered.

Remarks

This member participates in the UIKit.UIAppearance styling system. See the UIButton.Appearance property and the UIButton.AppearanceWhenContainedIn method.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0