Modifica

Condividi tramite


NCWidgetProviding.GetWidgetMarginInsets Method

Definition

Overloads

GetWidgetMarginInsets(NSEdgeInsets)
GetWidgetMarginInsets(UIEdgeInsets)

Developers should not use this deprecated method.

GetWidgetMarginInsets(NSEdgeInsets)

[Foundation.Export("widgetMarginInsetsForProposedMarginInsets:")]
public virtual AppKit.NSEdgeInsets GetWidgetMarginInsets (AppKit.NSEdgeInsets defaultMarginInsets);
abstract member GetWidgetMarginInsets : AppKit.NSEdgeInsets -> AppKit.NSEdgeInsets
override this.GetWidgetMarginInsets : AppKit.NSEdgeInsets -> AppKit.NSEdgeInsets

Parameters

defaultMarginInsets
NSEdgeInsets

Returns

Attributes

Applies to

GetWidgetMarginInsets(UIEdgeInsets)

Developers should not use this deprecated method.

[Foundation.Export("widgetMarginInsetsForProposedMarginInsets:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual UIKit.UIEdgeInsets GetWidgetMarginInsets (UIKit.UIEdgeInsets defaultMarginInsets);
abstract member GetWidgetMarginInsets : UIKit.UIEdgeInsets -> UIKit.UIEdgeInsets
override this.GetWidgetMarginInsets : UIKit.UIEdgeInsets -> UIKit.UIEdgeInsets

Parameters

defaultMarginInsets
UIEdgeInsets

Returns

Attributes

Applies to