Does the combo allow slecting multiple items

Namespace:  QAliber.Engine.Controls.UIA
Assembly:  QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool CanSelectMultiple { get; }
Visual Basic (Declaration)
Public ReadOnly Property CanSelectMultiple As Boolean
Visual C++
public:
virtual property bool CanSelectMultiple {
	bool get () sealed;
}

Return Value

True if allow multiple selection

Examples

This shows the address bar on IE (combobox) doesnt support multiple selection
CopyC#
System.Diagnostics.Process.Start("IExplore");
System.Threading.Thread.Sleep(5000);
UIAPane IEWin = Desktop.UIA[@"Windows Internet Explorer",true][@"", @"ReBarWindow32", @"UIAPane"][@"", @"Address Band Root", @"UIAPane"] as UIAPane;
UIAComboBox addressCombo = IEWin[@"Address", @"ComboBox", @"UIAComboBox"] as UIAComboBox;
MessageBox.Show("Can the address bar on IE have multiple select? " + addressCombo.CanSelectMultiple );

See Also