Common Activatable Widget Activated/Deactivated Visibility Properties

Hello, I wasn’t sure how the Activated/Deactivated Visibility properties on Common Activatable Widgets are meant to be used? They didn’t seem to do anything when modifying the properties.

Hello [mention removed]​,

These properties are used whenever you call the following functions from the CommonActivatableWidget class:

  • ActivateWidget: if inactive, an internal process begins that ends up calling NativeOnActivated where the desired ActivatedVisibility is set.
  • DeactivateWidget: if active, an internal process begins that ends up calling NativeOnDeactivated where the desired DeactivatedVisibility is set.

You may also call IsActivated() to check the activation state of the ActivatableWidget.

Note that these properties will work if visibility is not also changed outside the widget. For example, if the ActivatableWidget is contained by a Common Activatable Widget Stack, deactivating the top-most widget will also remove it and won’t be visible regardless of the DeactivatedVisibility parameter.

Please let me know if this information helps your case.

Best,

Francisco