XRSelectionMode (Compact 2013)

3/28/2014

This enumeration contains values that describe the selection behavior of an IXRListBox.

Syntax

enum XRSelectionMode
{
        XRSelectionMode_Single,
        XRSelectionMode_Multiple,
        XRSelectionMode_Extended,
};

Members

  • XRSelectionMode_Single
    Indicates that the user can select only one item at a time.
  • XRSelectionMode_Multiple
    Indicates that the user can select multiple items without pressing a modifier key.
  • XRSelectionMode_Extended
    Indicates that the user can select multiple items by pressing a modifier key. The user can select multiple consecutive items by pressing the SHIFT key, or multiple non-consecutive items by pressing the CTRL key.

Remarks

This enumeration is used in the IXRListBox::GetSelectionMode and IXRListBox::SetSelectionMode methods to indicate whether the user can select more that one item in a list box.

.NET Framework Equivalent

System.Windows.Controls.SelectionMode

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations