All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxDiagram.DefaultItemProperties Property

Provide access to default item properties.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

public DiagramDefaultItemProperties DefaultItemProperties { get; }
Public ReadOnly Property DefaultItemProperties As DiagramDefaultItemProperties

Property Value

Type Description
DiagramDefaultItemProperties

An object that contains item properties.

Remarks

Default property values are applied to newly created items if no other values are provided.

<dx:ASPxDiagram ID="Diagram" runat="server" 
    NodeDataSourceID="DepartmentDemoDataSource" OnNodeInserted="Diagram_NodeInserted">
    <Mappings>
        <Node Key="ID" Text="DepartmentName" ParentKey="ParentID" />
    </Mappings>
    <DefaultItemProperties 
        ConnectorLineEnd="None" 
        ConnectorLineStart="FilledTriangle" 
        ConnectorLineType="Straight" 
        Style="fill: #C0C0C0; stroke-width: 3" 
        TextStyle="fill: #ff0000;" />
</dx:ASPxDiagram>
See Also