Share via


INCWidgetProviding Interface

Definition

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

Methods

Name Description
GetWidgetMarginInsets(NSEdgeInsets)
GetWidgetMarginInsets(UIEdgeInsets)
WidgetActiveDisplayModeDidChange(NCWidgetDisplayMode, CGSize)
WidgetDidBeginEditing()
WidgetDidEndEditing()
WidgetPerformUpdate(Action<NCUpdateResult>)

Extension Methods

Name Description
GetWidgetAllowsEditing(INCWidgetProviding)
GetWidgetMarginInsets(INCWidgetProviding, NSEdgeInsets)
GetWidgetMarginInsets(INCWidgetProviding, UIEdgeInsets)
WidgetActiveDisplayModeDidChange(INCWidgetProviding, NCWidgetDisplayMode, CGSize)
WidgetDidBeginEditing(INCWidgetProviding)
WidgetDidEndEditing(INCWidgetProviding)
WidgetPerformUpdate(INCWidgetProviding, Action<NCUpdateResult>)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also