UINavigationItem.SetRightBarButtonItem(UIBarButtonItem, Boolean) Method
Definition
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 button to display on the right side of the navigation bar, optionally animating its assignment.
[Foundation.Export("setRightBarButtonItem:animated:")]
public virtual void SetRightBarButtonItem (UIKit.UIBarButtonItem item, bool animated);
abstract member SetRightBarButtonItem : UIKit.UIBarButtonItem * bool -> unit
override this.SetRightBarButtonItem : UIKit.UIBarButtonItem * bool -> unit
Parameters
- item
- UIBarButtonItem
Item to display on the right side of the navigation bar, use null to clear it.
This parameter can be null
.
- animated
- Boolean
- Attributes