About 2,000,000 results
Open links in new tab
  1. c# - How can I make a ComboBox non-editable in .NET ... - Stack Overflow

    To make the text portion of a ComboBox non-editable, set the DropDownStyle property to "DropDownList". The ComboBox is now essentially select-only for the user. You can do this in …

  2. ComboBox.IsEditable Property (System.Windows.Controls)

    Gets or sets a value that enables or disables editing of the text in text box of the ComboBox. true if the ComboBox can be edited; otherwise false. The default is false. The following examples …

  3. How can I make a ComboBox non-editable in .NET? - pvq.app

    Here's how to make a ComboBox non-editable in .NET: 1. Use the IsEditable Property: combobox.IsEditable = false; This will prevent the user from typing text into the text box of the …

  4. C# - How to make a ComboBox non-editable in .NET?

    In WPF, the equivalent of a ComboBox that is non-editable (i.e., user cannot type directly into it) is achieved by using a combination of properties and handling events: XAML: <ComboBox …

  5. ComboBox in C# - GeeksforGeeks

    Mar 25, 2025 · Step 1: Create a ComboBox using the ComboBox () constructor provided by the ComboBox class. Step 2: After creating ComboBox, set the properties of the ComboBox …

  6. c# - How do I set combobox read-only or user cannot write in a combo

    Jun 17, 2010 · I am facing a problem in setting the combo property such that only user can select the values form given items, but I cannot write in the combo box. How can I do so in C#?

  7. ComboBox In C# - C# Corner

    C# ComboBox is a combination of a TextBox and a ListBox control. Only one list item is displayed at one time in a ComboBox and other available items are loaded in a drop down list. In this …

  8. How do I set combobox read-only or user cannot write in a combo box

    In C#, you can make a ComboBox read-only by setting the Enabled property to false. This will prevent users from typing new text into the ComboBox and only allow them to select an item …

  9. C# ComboBox Control - Net-Informations.Com

    You can make a ComboBox readonly, that means a user cannot write in a combo box but he can select the given items, in two ways. By default, DropDownStyle property of a Combobox is …

  10. How to prevent manual input into a ComboBox in C#

    Alternatively, you can do this from the WinForms designer by selecting the control, going to the Properties Window, and changing the "DropDownStyle" property to "DropDownList". You can …

  11. Some results have been removed
Refresh