Gets or sets the default value for the Brush property of shape nodes.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public Brush ShapeBrush { get; set; } |
Visual Basic Copy Code |
---|
Public Property ShapeBrush As Brush |
An instance of a .NET System.Windows.Media.Brush-derived class.
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.
WpfDiagram Programmer's Guide | © 2024 MindFusion |