UIToolbar.SetItems(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 UIBarButtonItem to be displayed in the toolbar, optionally animated the change.
[Foundation.Export("setItems:animated:")]
public virtual void SetItems (UIKit.UIBarButtonItem[] items, bool animated);
abstract member SetItems : UIKit.UIBarButtonItem[] * bool -> unit
override this.SetItems : UIKit.UIBarButtonItem[] * bool -> unit
Parameters
- items
- UIBarButtonItem[]
A list of UIBarButtonItem objects to display in the toolbar.
- animated
- Boolean
If true
, then the changes to the UIBarButtonItems is animated.
- Attributes