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

Fires before each symbol segment of a character is drawn.

Syntax

Visual Basic (Declaration) 
Public Event BeforeSymbolSegmentDrawn As dbiDigit.EventBeforeSymbolSegmentDrawnHandler
C# 
public event dbiDigit.EventBeforeSymbolSegmentDrawnHandler BeforeSymbolSegmentDrawn

Event Data

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

PropertyDescription
Character The character the symbol segment is being drawn for.
Position The index of the character within the control's Text property.
SegmentColor The color used to paint the current symbol segment
SymbolSegment The symbol segment being drawn.

Remarks

This event can be used to override the color of individual symbol segments within the same character dispay.

Requirements

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

See Also