INCWidgetProviding 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.
Customizes the appearance and behavior of a widget.
[Foundation.Protocol(Name="NCWidgetProviding", WrapperType=typeof(NotificationCenter.NCWidgetProvidingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetPerformUpdate", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V227) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<NotificationCenter.NCUpdateResult>) }, Selector="widgetPerformUpdateWithCompletionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetWidgetMarginInsets", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIEdgeInsets) }, ReturnType=typeof(UIKit.UIEdgeInsets), Selector="widgetMarginInsetsForProposedMarginInsets:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetActiveDisplayModeDidChange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NotificationCenter.NCWidgetDisplayMode), typeof(CoreGraphics.CGSize) }, Selector="widgetActiveDisplayModeDidChange:withMaximumSize:")]
public interface INCWidgetProviding : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="NCWidgetProviding", WrapperType=typeof(NotificationCenter.NCWidgetProvidingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetPerformUpdate", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V88) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<NotificationCenter.NCUpdateResult>) }, Selector="widgetPerformUpdateWithCompletionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetWidgetMarginInsets", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSEdgeInsets) }, ReturnType=typeof(AppKit.NSEdgeInsets), Selector="widgetMarginInsetsForProposedMarginInsets:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetDidBeginEditing", Selector="widgetDidBeginEditing")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetDidEndEditing", Selector="widgetDidEndEditing")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="widgetAllowsEditing", IsProperty=true, IsRequired=false, IsStatic=false, Name="WidgetAllowsEditing", PropertyType=typeof(System.Boolean), Selector="widgetAllowsEditing")]
public interface INCWidgetProviding : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NCWidgetProviding", WrapperType=typeof(NotificationCenter.NCWidgetProvidingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetPerformUpdate", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V227) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<NotificationCenter.NCUpdateResult>) }, Selector="widgetPerformUpdateWithCompletionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetWidgetMarginInsets", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIEdgeInsets) }, ReturnType=typeof(UIKit.UIEdgeInsets), Selector="widgetMarginInsetsForProposedMarginInsets:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetActiveDisplayModeDidChange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NotificationCenter.NCWidgetDisplayMode), typeof(CoreGraphics.CGSize) }, Selector="widgetActiveDisplayModeDidChange:withMaximumSize:")>]
type INCWidgetProviding = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="NCWidgetProviding", WrapperType=typeof(NotificationCenter.NCWidgetProvidingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetPerformUpdate", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V88) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<NotificationCenter.NCUpdateResult>) }, Selector="widgetPerformUpdateWithCompletionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetWidgetMarginInsets", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSEdgeInsets) }, ReturnType=typeof(AppKit.NSEdgeInsets), Selector="widgetMarginInsetsForProposedMarginInsets:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetDidBeginEditing", Selector="widgetDidBeginEditing")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WidgetDidEndEditing", Selector="widgetDidEndEditing")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="widgetAllowsEditing", IsProperty=true, IsRequired=false, IsStatic=false, Name="WidgetAllowsEditing", PropertyType=typeof(System.Boolean), Selector="widgetAllowsEditing")>]
type INCWidgetProviding = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| WidgetAllowsEditing | |