Page.OnSetActive Method
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.
Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. Called each time the page is about to be activated.
public:
virtual bool OnSetActive();
public virtual bool OnSetActive ();
abstract member OnSetActive : unit -> bool
override this.OnSetActive : unit -> bool
Public Overridable Function OnSetActive () As Boolean
Returns
true
if the page should continue to be activated; false
if the previous page should remain active.