Επεξεργασία

Κοινή χρήση μέσω


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);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetText : System.Windows.DependencyObject -> string
Public Shared Function GetText (element As DependencyObject) As String

Parameters

element
DependencyObject

The element from which the property value is read.

Returns

The string that identifies the specified item.

Attributes

Remarks

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

Applies to