Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetSheetProtectionOptions.AllowEditContainers Property

Specifies if an end-user can create, move, modify, and delete floating containers in a protected worksheet.

#Declaration

Delphi
property AllowEditContainers: Boolean index 2 read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

This property corresponds to the Edit containers checkbox in the Protect Sheet dialog:

The Protect Sheet Dialog

Set the AllowEditContainers property to False to forbid an end-user from creating (including pasting bitmaps), moving, modifying, and deleting floating containers (including comments) and using the following container-related commands in a protected worksheet:

To identify if an end-user is currently able to create, move, modify, and delete floating containers, use the ActualAllowEditContainers property.

The default value of the AllowEditContainers property is True.

See Also