Share via


IUISheetPresentationControllerDelegate Interface

Definition

This interface represents the Objective-C protocol UISheetPresentationControllerDelegate.

[Foundation.Protocol(Name="UISheetPresentationControllerDelegate", WrapperType=typeof(UIKit.UISheetPresentationControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeSelectedDetentIdentifier", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISheetPresentationController) }, Selector="sheetPresentationControllerDidChangeSelectedDetentIdentifier:")]
public interface IUISheetPresentationControllerDelegate : IDisposable, UIKit.IUIAdaptivePresentationControllerDelegate
[<Foundation.Protocol(Name="UISheetPresentationControllerDelegate", WrapperType=typeof(UIKit.UISheetPresentationControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeSelectedDetentIdentifier", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISheetPresentationController) }, Selector="sheetPresentationControllerDidChangeSelectedDetentIdentifier:")>]
type IUISheetPresentationControllerDelegate = interface
    interface INativeObject
    interface IDisposable
    interface IUIAdaptivePresentationControllerDelegate
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
DidAttemptToDismiss(UIPresentationController) (Inherited from IUIAdaptivePresentationControllerDelegate)
DidChangeSelectedDetentIdentifier(UISheetPresentationController)
DidDismiss(UIPresentationController) (Inherited from IUIAdaptivePresentationControllerDelegate)
GetAdaptivePresentationStyle(UIPresentationController, UITraitCollection)

The presentation style to use for the specified controller and traitCollection.

(Inherited from IUIAdaptivePresentationControllerDelegate)
GetAdaptivePresentationStyle(UIPresentationController)

Returns the new presentation style to use after a change to the forPresentationController.

(Inherited from IUIAdaptivePresentationControllerDelegate)
GetViewControllerForAdaptivePresentation(UIPresentationController, UIModalPresentationStyle)

The view controller to use for the specified style.

(Inherited from IUIAdaptivePresentationControllerDelegate)
PrepareAdaptivePresentationController(UIPresentationController, UIPresentationController) (Inherited from IUIAdaptivePresentationControllerDelegate)
ShouldDismiss(UIPresentationController) (Inherited from IUIAdaptivePresentationControllerDelegate)
WillDismiss(UIPresentationController) (Inherited from IUIAdaptivePresentationControllerDelegate)
WillPresent(UIPresentationController, UIModalPresentationStyle, IUIViewControllerTransitionCoordinator)

Called prior to presentation.

(Inherited from IUIAdaptivePresentationControllerDelegate)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DidAttemptToDismiss(IUIAdaptivePresentationControllerDelegate, UIPresentationController)
DidDismiss(IUIAdaptivePresentationControllerDelegate, UIPresentationController)
GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UITraitCollection)

The presentation style to use for the specified controller and traitCollection.

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController)

Returns the new presentation style to use after a change to the forPresentationController.

GetViewControllerForAdaptivePresentation(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle)

The view controller to use for the specified style.

PrepareAdaptivePresentationController(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIPresentationController)
ShouldDismiss(IUIAdaptivePresentationControllerDelegate, UIPresentationController)
WillDismiss(IUIAdaptivePresentationControllerDelegate, UIPresentationController)
WillPresent(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle, IUIViewControllerTransitionCoordinator)

Called prior to presentation.

DidChangeSelectedDetentIdentifier(IUISheetPresentationControllerDelegate, UISheetPresentationController)

Applies to