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 | AffectsRender |
XAML Attributes Usage | |
---|---|
<object Text=string .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
The text string associated with this AnnTextObject objectFor XAML example, refer to AnnGroupObject.
For C#/VB examples, refer to AnnTextObject.
For more information, refer to Using Text in WPF Annotation Objects.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family