Search results

CSS Structure in ASP.NET MVC Diagram control

19 Oct 2021 / 2 minutes to read

Customizing the connector end point handle

Use the following CSS to customize the connector end point handle.

Copied to clipboard
.e-diagram-endpoint-handle {
    fill: red;
    stroke: green;
   }

Customizing the connector end point handle when connected

Use the following CSS to customize the connector end point handle when connected.

Copied to clipboard
.e-diagram-endpoint-handle.e-connected {
    fill: red;
    stroke: green;
   }

Customizing the connector end point handle when disabled

Use the following CSS to customize the connector end point handle when disabled.

Copied to clipboard
.e-diagram-endpoint-handle.e-disabled {
    fill: red;
    opacity: 1;
    stroke: green;
   }

Customizing the bezier connector handle

Use the following CSS to customize the bezier handle properties.

Copied to clipboard
.e-diagram-bezier-handle {
    fill: red;
    stroke: green;
  }

Customizing the bezier connector line

Use the following CSS to customize the bezier line properties.

Copied to clipboard
.e-diagram-bezier-line {
    stroke: black;
  }

Customizing the resize handle

Use the following CSS to customize the resize handle.

Copied to clipboard
.e-diagram-resize-handle {
    fill: white;
    opacity: 1;
    stroke: white;
  }

Customizing the selector pivot line

Use the following CSS to customize the line between the selector and rotate handle.

Copied to clipboard
 .e-diagram-pivot-line {
    stroke: red;
  }

Customizing the selector border

Use the following CSS to customize the selector border.

Copied to clipboard
.e-diagram-border {
    stroke: red;
  }

Customizing the rotate handle

Use the following CSS to customize the rotate handle properties.

Copied to clipboard
.e-diagram-rotate-handle {
    fill: red;
    stroke: green;
  }

Customizing the symbolpalette while hovering

Use the following CSS to customize the symbolpalette while hovering.

Copied to clipboard
.e-symbolpalette .e-symbol-hover:hover {
    background: red;
  }

Customizing the symbolpalette when selected

Use the following CSS to customize the symbolpalette when selected.

Copied to clipboard
.e-symbolpalette .e-symbol-selected {
    background: white;
  }

Customizing the ruler

Use the following CSS to customize the ruler properties.

Copied to clipboard
.e-diagram .e-ruler {
    background-color: red;
    font-size: 13px;
  }

Customizing the ruler overlap

Use the following CSS to ruler overlap properties.

Copied to clipboard
.e-diagram .e-ruler-overlap {
    background-color: red;
  }

Customizing the text edit

Use the following CSS to customize the text edit properties.

Copied to clipboard
 .e-diagram .e-diagram-text-edit {
    background: white;
    border-color: red;
    border-style: dashed;
    border-width: 1px;
    box-sizing: content-box;
    color: black;
    min-width: 50px;
  }

Customizing the text edit on selection

Use the following CSS to customize the text edit on selection properties.

Copied to clipboard
 .e-diagram-text-edit::selection {
    background: red;
    color: green;
  }