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

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.v18.2.dll

Declaration

[Browsable(false)]
[Obsolete("Use the AllowCustomValues property instead. Refer to http://www.devexpress.com/bcid=BC4140 to learn more.", true)]
[DefaultValue(DataSecurityMode.Strict)]
[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 adding and selecting custom editor items.

Strict

The data editor does not allow adding and selecting custom editor 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