XamlDirect.GetObjectProperty(IXamlDirectObject, XamlPropertyIndex) XamlDirect.GetObjectProperty(IXamlDirectObject, XamlPropertyIndex) XamlDirect.GetObjectProperty(IXamlDirectObject, XamlPropertyIndex) XamlDirect.GetObjectProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

Gets the value of an object property for a specific IXamlDirectObject.

public : Platform::Object GetObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
winrt::Windows::Foundation::IInspectable GetObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex) const;
public object GetObjectProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
Public Function GetObjectProperty(xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As object

Parameters

xamlDirectObject
IXamlDirectObject IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex XamlPropertyIndex

A reference to the object property to get the value of from the list of supported properties in XamlPropertyIndex enum.

Returns

object object

object value of the specified property.

See also