Search
Diagram.ShapeBrush Property
See Also
 





Gets or sets the default value for the Brush property of shape nodes.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Brush ShapeBrush { get; set; }

Visual Basic  Copy Code

Public Property ShapeBrush As Brush

 Property Value

An instance of a MindFusion.Drawing.Brush-derived class.

 Remarks

The property provides a default value for the brush, with which a node' interior is filled. The Brush property of new shape nodes is initialized with a clone of ShapeBrush, but after the node creation the properties are independent - changing one of them does not change the other.

In ImageMap mode of NetDiagram, this property also specifies the color that fills the DIV element representing the new node being drawn.

 See Also