Compartilhar via


Compartment.DefaultExpandCollapseState Property

Gets or sets the value of DefaultExpandCollapseState domain property. If Expanded, then the compartment is expanded on creation.

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

Syntax

'Declaração
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("686beb3f-d8d3-4e02-86d8-3ef128e823ea")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property DefaultExpandCollapseState As ExpandCollapseState
    Get
    Set
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("686beb3f-d8d3-4e02-86d8-3ef128e823ea")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public ExpandCollapseState DefaultExpandCollapseState { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"686beb3f-d8d3-4e02-86d8-3ef128e823ea")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property ExpandCollapseState DefaultExpandCollapseState {
    ExpandCollapseState get ();
    void set (ExpandCollapseState value);
}
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("686beb3f-d8d3-4e02-86d8-3ef128e823ea")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/DefaultExpandCollapseState.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member DefaultExpandCollapseState : ExpandCollapseState with get, set
function get DefaultExpandCollapseState () : ExpandCollapseState
function set DefaultExpandCollapseState (value : ExpandCollapseState)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.ExpandCollapseState

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace