Back to Devexpress

DiagramCustomShape.Title Property

aspnet-devexpress-dot-web-dot-aspxdiagram-dot-diagramcustomshape-518337cb.md

latest2.2 KB
Original Source

DiagramCustomShape.Title Property

Specifies the shape’s tooltip in the toolbox.

Namespace : DevExpress.Web.ASPxDiagram

Assembly : DevExpress.Web.ASPxDiagram.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string Title { get; set; }
vb
<DefaultValue("")>
Public Property Title As String

Property Value

TypeDefaultDescription
StringString.Empty

The tooltip text.

|

Remarks

Run Demo: Custom Shapes

Example

aspx
<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
    <SettingsToolbox>
        <Groups>
            <dx:DiagramToolboxGroup Category="Custom" CustomCategoryName="hardware" Title="Hardware" />
        </Groups>
    </SettingsToolbox>
    <CustomShapes>
        <dx:DiagramCustomShape CategoryName="hardware" Type="internet" Title="Internet" 
        BackgroundImageUrl="../Content/customshapes/shapes/internet.svg" 
        BackgroundImageLeft="0.15" BackgroundImageTop="0" BackgroundImageWidth="0.7" BackgroundImageHeight="0.7"
        DefaultWidth="0.75" DefaultHeight="0.75" DefaultText="Internet" AllowEditText="false" 
        TextLeft="0" TextTop="0.7" TextWidth="1" TextHeight="0.3">
        </dx:DiagramCustomShape>
        ...
    </CustomShapes>
</dx:ASPxDiagram>

]

See Also

DiagramCustomShape Class

DiagramCustomShape Members

DevExpress.Web.ASPxDiagram Namespace