WidgetContext.IsActive Property

Definition

Gets the activation state of the widget.

public:
 property bool IsActive { bool get(); };
bool IsActive();
public bool IsActive { get; }
var boolean = widgetContext.isActive;
Public ReadOnly Property IsActive As Boolean

Property Value

Boolean

bool

True if the widget is active; otherwise, false.

Remarks

Widget providers are notified when a widget enters and leaves the active state through the IWidgetProvider.Activate(WidgetContext) and IWidgetProvider.Deactivate(String) methods. Widgets are in an active state immediate after IWidgetProvider.CreateWidget(WidgetContext) is called.

Applies to