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

TreeListSettingsDataSecurity.AllowDelete Property

Gets or sets a value that specifies whether row deletion is allowed within the ASPxTreeList.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v19.2.dll

Declaration

[DefaultValue(true)]
public bool AllowDelete { get; set; }

Property Value

Type Default Description
Boolean **true**

true, to allow row delete operations; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowDelete
ASPxTreeList
.SettingsDataSecurity.AllowDelete
MVCxTreeList
.SettingsDataSecurity.AllowDelete
TreeListSettings
.SettingsDataSecurity.AllowDelete
TreeListSettings<RowType>
.SettingsDataSecurity.AllowDelete

Remarks

Use the AllowDelete property to disable row deletion within the ASPxTreeList if required. If this property set to true, data rows cannot be deleted either by an end-user or programmatically via the ASPxTreeList’s API.

See Also