TextSearch.GetText(DependencyObject) TextSearch.GetText(DependencyObject) TextSearch.GetText(DependencyObject) TextSearch.GetText(DependencyObject) Method

Definition

Returns the string to that identifies the specified item.

public:
 static System::String ^ GetText(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static string GetText (System.Windows.DependencyObject element);
static member GetText : System.Windows.DependencyObject -> string
Public Shared Function GetText (element As DependencyObject) As String

Parameters

element
DependencyObject DependencyObject DependencyObject DependencyObject

The element from which the property value is read.

Returns

The string that identifies the specified item.

Remarks

This method returns the value of the Text attached property from the specified element.

Applies to