Skip to main content

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

NuGet Package: DevExpress.Web

#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

#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