Поделиться через


LineLabelShape.Alignment - свойство

Возвращает или задает значение свойства домена выравнивания.Описание Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape.Alignment

Пространство имен:  Microsoft.VisualStudio.Modeling.Diagrams
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Синтаксис

'Декларация
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("6dfda511-00f1-47f4-959a-683d0fdde1de")> _
<BrowsableAttribute(False)> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
Public Property Alignment As LabelAlignment
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LineLabelShape/Alignment.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("6dfda511-00f1-47f4-959a-683d0fdde1de")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
public LabelAlignment Alignment { get; set; }

Значение свойства

Тип: Microsoft.VisualStudio.Modeling.Diagrams.LabelAlignment

Безопасность платформы .NET Framework

См. также

Ссылки

LineLabelShape Класс

Microsoft.VisualStudio.Modeling.Diagrams - пространство имен