IUITabBarDelegate 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 UITabBarDelegate.
[Foundation.Protocol(Name="UITabBarDelegate", WrapperType=typeof(UIKit.UITabBarDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemSelected", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem) }, Selector="tabBar:didSelectItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginCustomizingItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem[]) }, Selector="tabBar:willBeginCustomizingItems:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBeginCustomizingItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem[]) }, Selector="tabBar:didBeginCustomizingItems:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEndCustomizingItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem[]), typeof(System.Boolean) }, Selector="tabBar:willEndCustomizingItems:changed:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndCustomizingItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem[]), typeof(System.Boolean) }, Selector="tabBar:didEndCustomizingItems:changed:")]
public interface IUITabBarDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UITabBarDelegate", WrapperType=typeof(UIKit.UITabBarDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemSelected", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem) }, Selector="tabBar:didSelectItem:")]
public interface IUITabBarDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITabBarDelegate", WrapperType=typeof(UIKit.UITabBarDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemSelected", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem) }, Selector="tabBar:didSelectItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginCustomizingItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem[]) }, Selector="tabBar:willBeginCustomizingItems:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBeginCustomizingItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem[]) }, Selector="tabBar:didBeginCustomizingItems:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillEndCustomizingItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem[]), typeof(System.Boolean) }, Selector="tabBar:willEndCustomizingItems:changed:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndCustomizingItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem[]), typeof(System.Boolean) }, Selector="tabBar:didEndCustomizingItems:changed:")>]
type IUITabBarDelegate = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="UITabBarDelegate", WrapperType=typeof(UIKit.UITabBarDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemSelected", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITabBar), typeof(UIKit.UITabBarItem) }, Selector="tabBar:didSelectItem:")>]
type IUITabBarDelegate = interface
interface INativeObject
interface IDisposable
- 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 |
|---|---|
| DidBeginCustomizingItems(UITabBar, UITabBarItem[]) |
Indicates that customizing the specified UITabBarItems has begun. |
| DidEndCustomizingItems(UITabBar, UITabBarItem[], Boolean) |
Indicates that customization of the specified items has ended. |
| ItemSelected(UITabBar, UITabBarItem) |
Indicates that the specified UITabBarItem was selected. |
| WillBeginCustomizingItems(UITabBar, UITabBarItem[]) |
Indicates that customization is about to begin on the specified UITabBarItems. |
| WillEndCustomizingItems(UITabBar, UITabBarItem[], Boolean) |
Indicates that customization is about to end on the specified UITabBarItems. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |
| DidBeginCustomizingItems(IUITabBarDelegate, UITabBar, UITabBarItem[]) |
Indicates that customizing the specified UITabBarItems has begun. |
| DidEndCustomizingItems(IUITabBarDelegate, UITabBar, UITabBarItem[], Boolean) |
Indicates that customization of the specified items has ended. |
| ItemSelected(IUITabBarDelegate, UITabBar, UITabBarItem) |
Indicates that the specified UITabBarItem was selected. |
| WillBeginCustomizingItems(IUITabBarDelegate, UITabBar, UITabBarItem[]) |
Indicates that customization is about to begin on the specified UITabBarItems. |
| WillEndCustomizingItems(IUITabBarDelegate, UITabBar, UITabBarItem[], Boolean) |
Indicates that customization is about to end on the specified UITabBarItems. |