INSDrawerDelegate
DrawerDidClose(NSNotification)
DrawerDidOpen(NSNotification)
DrawerShouldClose(NSDrawer)
DrawerShouldOpen(NSDrawer)
DrawerWillClose(NSNotification)
DrawerWillOpen(NSNotification)
DrawerWillResizeContents(NSDrawer, CGSize)
DrawerDidClose(INSDrawerDelegate, NSNotification)
DrawerDidOpen(INSDrawerDelegate, NSNotification)
DrawerShouldClose(INSDrawerDelegate, NSDrawer)
DrawerShouldOpen(INSDrawerDelegate, NSDrawer)
DrawerWillClose(INSDrawerDelegate, NSNotification)
DrawerWillOpen(INSDrawerDelegate, NSNotification)
DrawerWillResizeContents(INSDrawerDelegate, NSDrawer, CGSize)
net10.0-macos14.2
namespace AppKit
{
[ObsoletedOSPlatform("macos10.13", "Use 'NSSplitViewController' instead.")]
[Protocol(Name = "NSDrawerDelegate", WrapperType = typeof(NSDrawerDelegateWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DrawerDidClose", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "drawerDidClose:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DrawerDidOpen", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "drawerDidOpen:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DrawerWillClose", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "drawerWillClose:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DrawerWillOpen", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "drawerWillOpen:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DrawerShouldClose", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSDrawer) }, ReturnType = typeof(bool), Selector = "drawerShouldClose:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DrawerShouldOpen", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSDrawer) }, ReturnType = typeof(bool), Selector = "drawerShouldOpen:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DrawerWillResizeContents", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSDrawer), typeof(CGSize) }, ReturnType = typeof(CGSize), Selector = "drawerWillResizeContents:toSize:")]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("maccatalyst")]
public interface INSDrawerDelegate : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("drawerWillResizeContents:toSize:")]
[OptionalMember]
virtual CGSize DrawerWillResizeContents(NSDrawer! sender, CGSize toSize);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
Information specific to net10.0-macos14.2 | |
| Assembly | Microsoft.macOS , Version=15.5.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API