TX Text Control .NET Server

IsDropDownArrowVisible Property

Property|Introduced in 28.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

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; }

Examples

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.");
}