Search
ItemDrawContext.DrawBorder Method
See Also
 






Renders the frame around the specified rectangle.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public void DrawBorder (
    Rect destination
)

Visual Basic  Copy Code

Public Sub DrawBorder( _
    destination As Rect _
)

 Parameters

destination

The rectangle around which to render a border.

 Remarks

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.

 See Also