Search
ItemDrawContext.DrawHeaderBorder Method
See Also
 





Renders a header frame around the specified rectangle.

Namespace: MindFusion.Scheduling.WinForms
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public void DrawHeaderBorder (
    Rectangle destination
)

Visual Basic  Copy Code

Public Sub DrawHeaderBorder( _
    destination As Rectangle _
)

 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 HeaderBorderLeftColor, HeaderBorderLeftWidth, 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