Skip to main content
A newer version of this page is available. .

RepositoryItemTimeEdit.AllowDropDownWhenReadOnly Property

Gets or sets whether an editor’s dropdown can be displayed when the editor is in the read-only state.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
public override DefaultBoolean AllowDropDownWhenReadOnly { get; set; }

Property Value

Type Description
DefaultBoolean

A DefaultBoolean value that specifies if an editor’s dropdown can be displayed in the read-only state. The default value is DefaultBoolean.Default.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

This property is supported if the editor is read-only and the TimeEditStyle.TouchUI mode is enabled via the RepositoryItemTimeEdit.TimeEditStyle property.

The Default value assigned to the AllowDropDownWhenReadOnly property is equivalent to True.

See Also