dbicCalc Send comments on this topic.
UserDrawnDisplayArea Event
See Also 
dbicCalc Assembly > Dbi.WinControl.Calc Namespace > dbiCalc Class : UserDrawnDisplayArea Event

Occurs before the Display Area is rendered, allowing the developer to handle the drawing themselves.

Syntax

Visual Basic (Declaration) 
Public Event UserDrawnDisplayArea As dbiCalc.EventUserDrawnDisplayAreaHandler
C# 
public event dbiCalc.EventUserDrawnDisplayAreaHandler UserDrawnDisplayArea

Event Data

The event handler receives an argument of type UserDrawnDisplayAreaEventArgs containing data related to this event. The following UserDrawnDisplayAreaEventArgs properties provide information specific to this event.

PropertyDescription
Graphics A handle to the graphics object used to draw the display area.
PaintDisplayArea

Determines if the internal routines of the control should draw the display area. When the PaintDisplayArea property is set to False the control does not execute its internal paint routine and the developer has control over the painting of the display area.

Rect A rectangle representing the dimensions of the Display Area in the control.
Text Determines the current text of the Display area.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also