Compartment.TitleVisibility Property
Gets the compartment shape and verifies whether the title appears on it.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/TitleVisibility.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("77aa07b1-fef1-4094-b379-c741e8187d7d")> _
<BrowsableAttribute(False)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/TitleVisibility.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
Public Property TitleVisibility As Boolean
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/TitleVisibility.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("77aa07b1-fef1-4094-b379-c741e8187d7d")]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/TitleVisibility.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public bool TitleVisibility { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Compartment/TitleVisibility.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"77aa07b1-fef1-4094-b379-c741e8187d7d")]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Compartment/TitleVisibility.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public:
property bool TitleVisibility {
bool get ();
void set (bool value);
}
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/TitleVisibility.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("77aa07b1-fef1-4094-b379-c741e8187d7d")>]
[<BrowsableAttribute(false)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Compartment/TitleVisibility.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
member TitleVisibility : bool with get, set
function get TitleVisibility () : boolean
function set TitleVisibility (value : boolean)
Property Value
Type: Boolean
true if the title appears on the compartment shape; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.