Renders the frame around the specified rectangle.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling
C# Copy Code |
---|
public void DrawBorder ( |
Visual Basic Copy Code |
---|
Public Sub DrawBorder( _ |
The rectangle around which to render a border.
This method renders a border around the specified rectangle using the settings from the underlying style, such as BorderLeftColor, BorderLeftWidth, and so on. Since the style is based on the current theme, the rendered frame is guaranteed to be theme independent, that is, the color and thickness of the frame, unless overriden, are the same as those specified in the current theme. If the theme is changed, the color and thickness are updated accordingly.