Method OnHighlight | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
OnHighlight(CancelEventArgs)
Called 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 theNewValue property.
protected virtual bool OnHighlight(CancelEventArgs<HighlightStyle> args)
Parameters
args
CancelEventArgs<HighlightStyle>
Set the NewValue property to true, to cancel, indicating custom highlighting.
Returns
true, to cancel, indicating custom highlighting.