UIViewController.ToolbarItems Property
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.
The array of UIBarButtonItems on a UINavigationController’s Toolbar
public virtual UIKit.UIBarButtonItem[] ToolbarItems { [Foundation.Export("toolbarItems", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setToolbarItems:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.ToolbarItems : UIKit.UIBarButtonItem[] with get, set
Property Value
The default value is null
.
- Attributes
Remarks
This property references the UIBarButtonItems on a UINavigationController’s Toolbar. If the application developer wishes to animate the addition or removal of UIBarButtonItems, they should use the SetToolbarItems(UIBarButtonItem[], Boolean) method.