Creates a System.Drawing.Brush object representing the currently effective caption brush of the container.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public Brush GetEffectiveCaptionBrush () |
Visual Basic Copy Code |
---|
Public Function GetEffectiveCaptionBrush () As Brush |
A .NET Brush object.
This method returns a system brush corresponding to the container's CaptionBrush if the container's CaptionBrush is not null, or a system brush corresponding to the TextBrush property of the container's style. The returned object must be disposed by the caller.