Visual Basic (Declaration) | |
---|---|
Public Property Text As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string Text {get; set;} |
XAML Attributes Usage | |
---|---|
<object Text=string/> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | None |
XAML Values | |
---|---|
imageUri System.String The text to display for the item. |
XAML Attributes Usage | |
---|---|
<object Text=string/> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | None |
XAML Values | |
---|---|
imageUri System.String The text to display for the item. |
Return Value
The text to display for the item. Default value is null (Nothing in Visual Basic).
The Text property allows you to change the text displayed for the item. This property is also used as the
default parameter for sorting.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family