Return Value
True (the default) this TrayButton should be displayed. False, this TrayButton should be hidden
A TrayButton implementation can determine visibility based on the type of view within the current pane.
The tray will use this property at certain times, to determine if this TrayButton should be visible.
For a Map pane, this is a straightforward process - IsVisibleOnView will be called after the Pane is loaded.
For a Layout pane, IsVisibleOnView will also be called any time that a MapFrame is activated or deactivated.
Target Platforms: Windows 11, Windows 10