UIButton.SetTitle(String, UIControlState) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the title for the specified button state.
[Foundation.Export("setTitle:forState:")]
public virtual void SetTitle (string title, UIKit.UIControlState forState);
abstract member SetTitle : string * UIKit.UIControlState -> unit
override this.SetTitle : string * UIKit.UIControlState -> unit
- forState
- UIControlState
- Attributes