Dela via


ComboBox.IsEditable Property

Definition

Gets or sets a value that indicates whether the user can edit text in the text box portion of the ComboBox. See remarks.

public:
 property bool IsEditable { bool get(); };
public:
 property bool IsEditable { bool get(); void set(bool value); };
bool IsEditable();
bool IsEditable();

void IsEditable(bool value);
public bool IsEditable { get; }
public bool IsEditable { get; set; }
var boolean = comboBox.isEditable;
var boolean = comboBox.isEditable;
comboBox.isEditable = boolean;
Public ReadOnly Property IsEditable As Boolean
Public Property IsEditable As Boolean
<ComboBox IsEditable="bool"/>

Property Value

Boolean

bool

true if the user can edit text in the ComboBox, otherwise false. The default is false. See remarks.

Remarks

Important

The behavior of this property is changed in Windows 10, version 1809 (SDK 17763). In earlier versions of Windows, this property is read-only and always returns false.

For more info, see Make a combo box editable.

Applies to