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

Definition

Gets the value of a string property for a specific IXamlDirectObject.

public : Platform::String GetStringProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
winrt::hstring GetStringProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex) const;
public string GetStringProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex)
Public Function GetStringProperty(xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As string

Parameters

xamlDirectObject
IXamlDirectObject IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex XamlPropertyIndex

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

Returns

string string

string value of the specified property.

See also