iOS Guides | Samples

UIKit.UINavigationItem.SetLeftBarButtonItem Method

Specifies the button to appear on the left-hand side, optionally animating its assignment.

Syntax

[Foundation.Export("setLeftBarButtonItem:animated:")]
public virtual Void SetLeftBarButtonItem (UIBarButtonItem item, Boolean animated)

Parameters

item

Item to display on the left side of the navigation bar, use null to clear it.

This parameter can be null.

animated

Requirements

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