UIViewController.ToolbarItems UIViewController.ToolbarItems Property


[get: Foundation.Export("toolbarItems", ObjCRuntime.ArgumentSemantic.Strong)]
[set: Foundation.Export("setToolbarItems:", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual UIKit.UIBarButtonItem[] ToolbarItems { get; set; }
member this.ToolbarItems : UIKit.UIBarButtonItem[] with get, set

Property Value

The default value is null.


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.

Applies to