Condividi tramite


DiagramElement.TooltipType Property

Gets or sets the value of TooltipType domain property. If Fixed, the fixed tooltip text is used as the tooltip, if variable the tooltip is defined in custom code.

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("c0d7eb36-c162-4e19-82ea-3f71e2bf4109")> _
Public Property TooltipType As TooltipType
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("c0d7eb36-c162-4e19-82ea-3f71e2bf4109")]
public TooltipType TooltipType { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"c0d7eb36-c162-4e19-82ea-3f71e2bf4109")]
public:
property TooltipType TooltipType {
    TooltipType get ();
    void set (TooltipType value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement/TooltipType.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("c0d7eb36-c162-4e19-82ea-3f71e2bf4109")>]
member TooltipType : TooltipType with get, set
function get TooltipType () : TooltipType 
function set TooltipType (value : TooltipType)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.TooltipType

.NET Framework Security

See Also

Reference

DiagramElement Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace