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


CompartmentShape.DefaultExpandCollapseState - свойство

Получает или задает значение свойства домена DefaultExpandCollapseState. Если значение равно Expanded, секции отображаются при создании. Если значение равно Collapsed, они не отображаются.

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

Синтаксис

'Декларация
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("5548b4c4-4b5e-48ea-8464-7c9abc4859cd")> _
Public Property DefaultExpandCollapseState As ExpandCollapseState
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape/DefaultExpandCollapseState.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("5548b4c4-4b5e-48ea-8464-7c9abc4859cd")]
public ExpandCollapseState DefaultExpandCollapseState { get; set; }

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

Тип: Microsoft.VisualStudio.Modeling.DslDefinition.ExpandCollapseState

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

См. также

Ссылки

CompartmentShape Класс

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