Sdílet prostřednictvím


IUISearchControllerDelegate Interface

Definition

This interface represents the Objective-C protocol UISearchControllerDelegate.

[Foundation.Protocol(Name="UISearchControllerDelegate", WrapperType=typeof(UIKit.UISearchControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="willPresentSearchController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="didPresentSearchController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismissSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="willDismissSearchController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismissSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="didDismissSearchController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="presentSearchController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillChangeToSearchBarPlacement", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController), typeof(UIKit.UINavigationItemSearchBarPlacement) }, Selector="searchController:willChangeToSearchBarPlacement:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeFromSearchBarPlacement", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController), typeof(UIKit.UINavigationItemSearchBarPlacement) }, Selector="searchController:didChangeFromSearchBarPlacement:")]
public interface IUISearchControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UISearchControllerDelegate", WrapperType=typeof(UIKit.UISearchControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="willPresentSearchController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="didPresentSearchController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismissSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="willDismissSearchController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismissSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="didDismissSearchController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="presentSearchController:")]
public interface IUISearchControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UISearchControllerDelegate", WrapperType=typeof(UIKit.UISearchControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="willPresentSearchController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="didPresentSearchController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismissSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="willDismissSearchController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismissSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="didDismissSearchController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="presentSearchController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillChangeToSearchBarPlacement", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController), typeof(UIKit.UINavigationItemSearchBarPlacement) }, Selector="searchController:willChangeToSearchBarPlacement:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeFromSearchBarPlacement", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController), typeof(UIKit.UINavigationItemSearchBarPlacement) }, Selector="searchController:didChangeFromSearchBarPlacement:")>]
type IUISearchControllerDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="UISearchControllerDelegate", WrapperType=typeof(UIKit.UISearchControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="willPresentSearchController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="didPresentSearchController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDismissSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="willDismissSearchController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismissSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="didDismissSearchController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PresentSearchController", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISearchController) }, Selector="presentSearchController:")>]
type IUISearchControllerDelegate = 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
DidChangeFromSearchBarPlacement(UISearchController, UINavigationItemSearchBarPlacement)
DidDismissSearchController(UISearchController)

The searchController was dismissed.

DidPresentSearchController(UISearchController)

The searchController was presented.

PresentSearchController(UISearchController)

Presents the searchController to the user.

WillChangeToSearchBarPlacement(UISearchController, UINavigationItemSearchBarPlacement)
WillDismissSearchController(UISearchController)

The searchController is about to be dismissed.

WillPresentSearchController(UISearchController)

The searchController is about to be presented.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DidChangeFromSearchBarPlacement(IUISearchControllerDelegate, UISearchController, UINavigationItemSearchBarPlacement)
DidDismissSearchController(IUISearchControllerDelegate, UISearchController)

The searchController was dismissed.

DidPresentSearchController(IUISearchControllerDelegate, UISearchController)

The searchController was presented.

PresentSearchController(IUISearchControllerDelegate, UISearchController)

Presents the searchController to the user.

WillChangeToSearchBarPlacement(IUISearchControllerDelegate, UISearchController, UINavigationItemSearchBarPlacement)
WillDismissSearchController(IUISearchControllerDelegate, UISearchController)

The searchController is about to be dismissed.

WillPresentSearchController(IUISearchControllerDelegate, UISearchController)

The searchController is about to be presented.

Applies to