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

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

Syntax

Visual Basic (Declaration) 
Public Event UserDrawnSymbolSegment As dbiDigit.EventUserDrawnSymbolSegmentHandler
C# 
public event dbiDigit.EventUserDrawnSymbolSegmentHandler UserDrawnSymbolSegment

Event Data

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

PropertyDescription
Character The character from the control's Text property that contains the symbol segment to be drawn.
Graphics A handle to the Graphics object responsible for the drawing.
PaintSymbolSegment 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.
Rect The rectangle representing the size and location of the symbol segment being drawn.
SymbolSegment The symbol segment being drawn.

Requirements

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

See Also