Skip to main content

BootstrapListBoxProperties.DataSecurityMode Property

OBSOLETE

Use the AllowCustomValues property instead. Refer to http://www.devexpress.com/bcid=BC4140 to learn more.

Provides the capability to restrict setting the editor value on the client side to values listed in the server BootstrapListBox.Items.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[Browsable(false)]
[DefaultValue(DataSecurityMode.Strict)]
[Obsolete("Use the AllowCustomValues property instead. Refer to http://www.devexpress.com/bcid=BC4140 to learn more.", true)]
[Themeable(false)]
public DataSecurityMode DataSecurityMode { get; set; }

Property Value

Type Default Description
DataSecurityMode Strict

One of the DataSecurityMode enumeration values.

Available values:

Name Description
Default

The data editor allows users to enter and select custom items.

Strict

The data editor does not allow users to enter and select custom items.

Remarks

By default, the DataSecurityMode property is set to Strict to prevent setting the editor’s value to any value except values listed within the editor’s server-side BootstrapListBox.Items collection.

See Also