次の方法で共有


IXRListBox::GetSelectionMode (Compact 2013)

3/28/2014

This method retrieves the selection behavior for the list box control.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetSelectionMode(
    __out XRSelectionMode* pSelectionMode
) = 0;

Parameters

  • pSelectionMode
    [out] An XRSelectionMode enumerated value that specifies whether and how the user can select multiple items.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.ListBox.SelectionMode

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRListBox