IsDropDownArrowVisible Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value indicating wheather a dropdown arrow is shown so that the user can select an item.
Syntax
public bool IsDropDownArrowVisible { get; set; }Public Property IsDropDownArrowVisible As BooleanExamples
The following example adds a country selector to a fillable form by using SelectionFormField.IsDropDownArrowVisible.
SelectionFormField selectionFormField = new(new[] { "Germany", "United Kingdom", "United States" }, 0) { Name = "Country" };
textControl.FormFields.Add(selectionFormField);
selectionFormField.IsDropDownArrowVisible = true;
if (selectionFormField.IsDropDownArrowVisible)
{
Console.WriteLine("Selection Form Field: Is Drop Down Arrow Visible is enabled.");
}Dim selectionFormField As New SelectionFormField(New String() { "Germany", "United Kingdom", "United States" }, 0) With { .Name = "Country" }
textControl.FormFields.Add(selectionFormField)
selectionFormField.IsDropDownArrowVisible = True
If selectionFormField.IsDropDownArrowVisible Then
Console.WriteLine("Selection Form Field: Is Drop Down Arrow Visible is enabled.")
End If