UIBarItem.SetTitleTextAttributes(UITextAttributes, UIControlState) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定 UIBarItem 標題的文字屬性。
public void SetTitleTextAttributes (UIKit.UITextAttributes attributes, UIKit.UIControlState state);
member this.SetTitleTextAttributes : UIKit.UITextAttributes * UIKit.UIControlState -> unit
參數
- attributes
- UITextAttributes
指定的標題文字屬性。
- state
- UIControlState
已指定 UIControlState。