Share via


INSDrawerDelegate Interface

Definition

This interface represents the Objective-C protocol NSDrawerDelegate.

[Foundation.Protocol(Name="NSDrawerDelegate", WrapperType=typeof(AppKit.NSDrawerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerDidClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="drawerDidClose:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerDidOpen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="drawerDidOpen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerShouldClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSDrawer) }, ReturnType=typeof(System.Boolean), Selector="drawerShouldClose:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerShouldOpen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSDrawer) }, ReturnType=typeof(System.Boolean), Selector="drawerShouldOpen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerWillClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="drawerWillClose:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerWillOpen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="drawerWillOpen:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerWillResizeContents", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSDrawer), typeof(CoreGraphics.CGSize) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="drawerWillResizeContents:toSize:")]
public interface INSDrawerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSDrawerDelegate", WrapperType=typeof(AppKit.NSDrawerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerDidClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="drawerDidClose:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerDidOpen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="drawerDidOpen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerShouldClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSDrawer) }, ReturnType=typeof(System.Boolean), Selector="drawerShouldClose:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerShouldOpen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSDrawer) }, ReturnType=typeof(System.Boolean), Selector="drawerShouldOpen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerWillClose", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="drawerWillClose:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerWillOpen", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="drawerWillOpen:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DrawerWillResizeContents", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSDrawer), typeof(CoreGraphics.CGSize) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="drawerWillResizeContents:toSize:")>]
type INSDrawerDelegate = 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
DrawerDidClose(NSNotification)
DrawerDidOpen(NSNotification)
DrawerShouldClose(NSDrawer)
DrawerShouldOpen(NSDrawer)
DrawerWillClose(NSNotification)
DrawerWillOpen(NSNotification)
DrawerWillResizeContents(NSDrawer, CGSize)

Extension Methods

Name Description
DrawerDidClose(INSDrawerDelegate, NSNotification)
DrawerDidOpen(INSDrawerDelegate, NSNotification)
DrawerShouldClose(INSDrawerDelegate, NSDrawer)
DrawerShouldOpen(INSDrawerDelegate, NSDrawer)
DrawerWillClose(INSDrawerDelegate, NSNotification)
DrawerWillOpen(INSDrawerDelegate, NSNotification)
DrawerWillResizeContents(INSDrawerDelegate, NSDrawer, CGSize)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to