Share via


IXRListBoxItem::GetIsSelected (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a value that indicates whether this list-box item is selected.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetIsSelected(
    bool *pValue
) = 0;

Parameters

  • pValue
    [out] Pointer to a Boolean that indicates whether this item is selected. This value is true if the item is selected; otherwise, it is false.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

To select an IXRListBoxItem in an IXRListBox, call IXRListBoxItem::SetIsSelected and pass in true.

.NET Framework Equivalent

System.Windows.Controls.ListBoxItem.IsSelected

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRListBoxItem
IXRListBoxItem::SetIsSelected