Condividi tramite


LineLabelShape.Alignment Property

Gets or sets the value of Alignment domain property. Description for Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape.Alignment

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Dichiarazione
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("6dfda511-00f1-47f4-959a-683d0fdde1de")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
Public Property Alignment As LabelAlignment
    Get
    Set
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("6dfda511-00f1-47f4-959a-683d0fdde1de")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public LabelAlignment Alignment { get; set; }
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DomainObjectIdAttribute(L"6dfda511-00f1-47f4-959a-683d0fdde1de")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public:
property LabelAlignment Alignment {
    LabelAlignment get ();
    void set (LabelAlignment value);
}
[<DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)>]
[<DomainObjectIdAttribute("6dfda511-00f1-47f4-959a-683d0fdde1de")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<BrowsableAttribute(false)>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
member Alignment : LabelAlignment with get, set
function get Alignment () : LabelAlignment
function set Alignment (value : LabelAlignment)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.LabelAlignment

.NET Framework Security

See Also

Reference

LineLabelShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace