TextSearch.GetText(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.