UIKit.UIViewController.SetToolbarItems Method
Adds UIKit.UIBarButtonItems to the UIKit.UIToolbar

Syntax

[Foundation.Export("setToolbarItems:animated:")]
public virtual void SetToolbarItems (UIBarButtonItem[] items, bool animated)

See Also

UIViewController.ToolbarItems
UINavigationController.Toolbar

Parameters

items

The array of UIKit.UIBarButtonItems to be added.

This parameter can be null.

animated
Whether the addition of the buttons should be animated.

Remarks

This method can be used to add UIKit.UIBarButtonItems to a UIKit.UINavigationController’s UIKit.UIToolbar.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0