Skip to main content Skip to complementary content

GetSelectionObserver Method

Overloads

GetSelectionObserver(IApp, String)

Get a selection observer instance.

GetSelectionObserver(IApp, String)

Get a selection observer instance.

Declaration

      public static ISelectionObserver GetSelectionObserver(this IApp app, string stateName = null)
    

Parameters

Type Name Description
IApp app

The app for which to observe selections.

System.String stateName

The name of the selection state to observe. The value null implies the default state.

Returns

Type Description
ISelectionObserver

A selection observer instance.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!