SpreadsheetGroupBehaviorOptions.CollapseExpandOnProtectedSheet Property

Gets or sets the document's capability to collapse or expand groups located on a protected worksheet. This is a dependency property.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v20.2.dll

Declaration

public DocumentCapability CollapseExpandOnProtectedSheet { get; set; }
Public Property CollapseExpandOnProtectedSheet As DocumentCapability

Property Value

Type Description
DocumentCapability

A DocumentCapability enumeration value specifying the document's capability to perform an operation.

Property Paths

You can access this nested property as listed below:

Object Type Path to CollapseExpandOnProtectedSheet
SpreadsheetBehaviorOptions
.Group.CollapseExpandOnProtectedSheet
SpreadsheetControl
.Options.Behavior.Group.CollapseExpandOnProtectedSheet
SpreadsheetControlOptions
.Behavior.Group.CollapseExpandOnProtectedSheet

Remarks

The DocumentCapability.Default property value for the CollapseExpandOnProtectedSheet is equal to the DocumentCapability.Disabled, so that collapsing or expanding groups in a protected worksheet is unavailable for the Spreadsheet document by default.

See Also