Compartilhar via


IXRItemsControl::GetDisplayMemberPath (Compact 2013)

3/28/2014

This method retrieves the name or path of the property that is displayed for each data item in this control.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetDisplayMemberPath(
    __out BSTR* pDisplayMemberPath
) = 0;

Parameters

  • pDisplayMemberPath
    [out] Pointer to a string that represents the name or path of the property that is displayed for each data item in the control. The default value is an empty string ("").

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The string in pDisplayMemberPath can use a dotted path (a property string of the form property.subproperty…) to reference subproperties of properties.

.NET Framework Equivalent

System.Windows.Controls.ItemsControl.DisplayMemberPath

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRItemsControl