dbicDigit Send comments on this topic.
UserDrawnLineSegment Event
See Also 
dbicDigit Assembly > Dbi.WinControl.Digit Namespace > dbiDigit Class : UserDrawnLineSegment Event

Fires before any line segment is rendered in the display of the control, allowing the developer the chance to custom draw the current line segment.

Syntax

Visual Basic (Declaration) 
Public Event UserDrawnLineSegment As dbiDigit.EventUserDrawnLineSegmentHandler
C# 
public event dbiDigit.EventUserDrawnLineSegmentHandler UserDrawnLineSegment

Event Data

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

PropertyDescription
Character The character from the control's Text property that contains the line segment to be drawn.
EndPoint The ending point of the line segment to be drawn.
Graphics A handle to the Graphics object responsible for the drawing.
LineSegment The line segment being drawn.
PaintLineSegment Indicates to the control if the default painting routines should be used or not.
Position The index of the character within the control's Text property.
StartPoint The starting point of the line segment to be drawn.

Requirements

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

See Also