NSExtensionContext_NCWidgetAdditions Class
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.
Extension context methods and properties for an NDWidget.
public static class NSExtensionContext_NCWidgetAdditions
type NSExtensionContext_NCWidgetAdditions = class
- Inheritance
-
NSExtensionContext_NCWidgetAdditions
Methods
GetWidgetActiveDisplayMode(NSExtensionContext) |
Returns the current display mode for the widget. |
GetWidgetLargestAvailableDisplayMode(NSExtensionContext) |
Returns the largest available display mode for the widget. |
GetWidgetMaximumSize(NSExtensionContext, NCWidgetDisplayMode) |
Returns the maximum size of the widget for the specified display mode. |
SetWidgetLargestAvailableDisplayMode(NSExtensionContext, NCWidgetDisplayMode) |
Sets the largest available display mode for the widget. |