ISelectionProvider::CanSelectMultiple Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

property bool CanSelectMultiple {
	bool get();
}

Property Value

Type: System::Boolean

true if multiple selection is allowed; otherwise false.

This property may be dynamic. For example, in rare cases a control might allow multiple items to be selected on initialization but subsequently allow only single selections to be made.

The following example shows an implementation of this method for a list that does not allow selection of more than one item at a time.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: