MindFusion.Wpf Pack Programmer's Guide
Diagram.ShapeBrush Property
See Also
 





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Brush ShapeBrush { get; set; }

Visual Basic  Copy Code

Public Property ShapeBrush As Brush

 Property Value

An instance of a .NET System.Windows.Media.Brush-derived class.

 Remarks

The property provides a default value for the brush, with which a node's 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.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace
ShapePen Property