IUINavigationBarDelegate Interface
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.
This interface represents the Objective-C protocol UINavigationBarDelegate.
[Foundation.Protocol(Name="UINavigationBarDelegate", WrapperType=typeof(UIKit.UINavigationBarDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPopItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, Selector="navigationBar:didPopItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPopItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, ReturnType=typeof(System.Boolean), Selector="navigationBar:shouldPopItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPushItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, Selector="navigationBar:didPushItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPushItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, ReturnType=typeof(System.Boolean), Selector="navigationBar:shouldPushItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetNSToolbarSection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar) }, ReturnType=typeof(UIKit.UINavigationBarNSToolbarSection), Selector="navigationBarNSToolbarSection:")]
public interface IUINavigationBarDelegate : IDisposable, UIKit.IUIBarPositioningDelegate
[Foundation.Protocol(Name="UINavigationBarDelegate", WrapperType=typeof(UIKit.UINavigationBarDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPopItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, Selector="navigationBar:didPopItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPopItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, ReturnType=typeof(System.Boolean), Selector="navigationBar:shouldPopItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPushItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, Selector="navigationBar:didPushItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPushItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, ReturnType=typeof(System.Boolean), Selector="navigationBar:shouldPushItem:")]
public interface IUINavigationBarDelegate : IDisposable, UIKit.IUIBarPositioningDelegate
[<Foundation.Protocol(Name="UINavigationBarDelegate", WrapperType=typeof(UIKit.UINavigationBarDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPopItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, Selector="navigationBar:didPopItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPopItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, ReturnType=typeof(System.Boolean), Selector="navigationBar:shouldPopItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPushItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, Selector="navigationBar:didPushItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPushItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, ReturnType=typeof(System.Boolean), Selector="navigationBar:shouldPushItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetNSToolbarSection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar) }, ReturnType=typeof(UIKit.UINavigationBarNSToolbarSection), Selector="navigationBarNSToolbarSection:")>]
type IUINavigationBarDelegate = interface
interface INativeObject
interface IDisposable
interface IUIBarPositioningDelegate
[<Foundation.Protocol(Name="UINavigationBarDelegate", WrapperType=typeof(UIKit.UINavigationBarDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPopItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, Selector="navigationBar:didPopItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPopItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, ReturnType=typeof(System.Boolean), Selector="navigationBar:shouldPopItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPushItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, Selector="navigationBar:didPushItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldPushItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationBar), typeof(UIKit.UINavigationItem) }, ReturnType=typeof(System.Boolean), Selector="navigationBar:shouldPushItem:")>]
type IUINavigationBarDelegate = interface
interface INativeObject
interface IDisposable
interface IUIBarPositioningDelegate
- Derived
- Attributes
- Implements
Remarks
A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.
A class may also implement members from this interface to implement members from the protocol.
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| DidPopItem(UINavigationBar, UINavigationItem) |
Called by the system shortly after the has been popped from the navigation stack. |
| DidPushItem(UINavigationBar, UINavigationItem) |
Called by the system shortly after the has been pushed onto the navigation stack. |
| GetNSToolbarSection(UINavigationBar) | |
| GetPositionForBar(IUIBarPositioning) |
Returns the position for |
| ShouldPopItem(UINavigationBar, UINavigationItem) |
Called by the system prior to popping the . |
| ShouldPushItem(UINavigationBar, UINavigationItem) |
Called by the system prior to pushing the onto the navigation stack. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |
| GetPositionForBar(IUIBarPositioningDelegate, IUIBarPositioning) |
Returns the position for |
| DidPopItem(IUINavigationBarDelegate, UINavigationBar, UINavigationItem) |
Called by the system shortly after the has been popped from the navigation stack. |
| DidPushItem(IUINavigationBarDelegate, UINavigationBar, UINavigationItem) |
Called by the system shortly after the has been pushed onto the navigation stack. |
| GetNSToolbarSection(IUINavigationBarDelegate, UINavigationBar) | |
| ShouldPopItem(IUINavigationBarDelegate, UINavigationBar, UINavigationItem) |
Called by the system prior to popping the . |
| ShouldPushItem(IUINavigationBarDelegate, UINavigationBar, UINavigationItem) |
Called by the system prior to pushing the onto the navigation stack. |