Table of Contents

Event Highlight

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Raised when the view is to be highlighted. The HighlightStyle passed in the event indicates the highlight style that will be applied. The view can modify the highlight style by setting the NewValue property. Set to true, to cancel, indicating custom highlighting.

public event EventHandler<CancelEventArgs<HighlightStyle>>? Highlight

Returns

EventHandler<CancelEventArgs<HighlightStyle>>
Raised when the view is to be highlighted. The passed in the event indicates the highlight style that will be applied. The view can modify the highlight style by setting the property. Set to true, to cancel, indicating custom highlighting.