skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ListBoxField

Represents a list box form field that displays a scrollable list of options, allowing users to select one or multiple items depending on the configuration.

Inheritance
System.Object
FormField
FormField<VariableContentWidget>
ChoiceField
ListBoxField
Inherited Members
ChoiceField.Options
ChoiceField.ShouldCommitOnSelectionChange
FormField<VariableContentWidget>.Widgets
FormField.Equals(Object)
FormField.GetHashCode()
FormField.Name
FormField.TextProperties
FormField.Actions
FormField.UserInterfaceName
FormField.MappingName
FormField.IsReadOnly
FormField.IsRequired
FormField.ShouldBeSkipped
FormField.StructureTag
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.InteractiveForms
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public sealed class ListBoxField : ChoiceField, IInstanceIdOwner, IStructuralElement, IWidgetCreator<VariableContentWidget>

Constructors

ListBoxField(String)

Initializes a new instance of ListBoxField class.

Declaration
public ListBoxField(string fieldName)
Parameters
System.String fieldName

The field name.

Properties

AllowMultiSelection

Gets or sets a value indicating whether users can select multiple items simultaneously from the list box.

Declaration
public bool AllowMultiSelection { get; set; }
Property Value
System.Boolean

true to allow multiple selection; false to restrict selection to a single item.

DefaultValue

Gets or sets an array of choice options that will be selected by default when the form is reset to its initial state.

Declaration
public ChoiceOption[] DefaultValue { get; set; }
Property Value
ChoiceOption[]

An array of default selected options, or null if no default selections are specified.

FieldType

Gets the field type.

Declaration
public override sealed FormFieldType FieldType { get; }
Property Value
FormFieldType

Overrides
FormField.FieldType

TopIndex

Gets or sets the index of the first item to be visible when displaying the ListBox.

Declaration
public int TopIndex { get; set; }
Property Value
System.Int32

Value

Gets or sets an array of currently selected choice options in the list box.

Declaration
public ChoiceOption[] Value { get; set; }
Property Value
ChoiceOption[]

An array containing all selected options, or null if no options are selected.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.