Udostępnij za pośrednictwem


Właściwość LabelShape.Text —

Zwraca lub ustawia tekst do kształtu Etykieta.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Składnia

'Deklaracja
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LabelShape/Text.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LabelShape/Text.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("5df0fe47-6d8f-4eac-820d-e2f69a6a424f")> _
Public Property Text As String
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LabelShape/Text.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LabelShape/Text.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("5df0fe47-6d8f-4eac-820d-e2f69a6a424f")]
public string Text { get; set; }

Wartość właściwości

Typ: System.String
Tekst do kształtu Etykieta.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

LabelShape Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams