DrawCombobox Event
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Occurs when a combobox for a SelectionFormField must be drawn. The event handler receives an argument of type DrawComboboxEventArgs containing data related to this event.
Syntax
public event DrawComboboxEventHandler DrawCombobox;Public Event DrawCombobox As DrawComboboxEventHandlerExamples
The following example records useful context when draw combobox occurs.
textViewGenerator.DrawCombobox += (sender, e) =>
{
Console.WriteLine($"Bold: {e.Bold}");
};AddHandler textViewGenerator.DrawCombobox,
Sub(sender, e)
Console.WriteLine($"Bold: {e.Bold}")
End Sub