.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

SpreadsheetColumnBehaviorOptions Members

Provides options to restrict an end-user’s ability to manage columns in a worksheet of the workbook loaded into SpreadsheetControl.

Constructors

Name Description
SpreadsheetColumnBehaviorOptions() Initializes a new instance of the SpreadsheetColumnBehaviorOptions class with the default settings.

Properties

Name Description
AutoFit Gets or sets the document’s capability to adjust the column width to accommodate cell content.
AutoFitAllowed Gets whether an end-user is allowed to use the AutoFit feature for columns.
Delete Gets or sets the document’s capability to delete columns.
DeleteAllowed Gets whether an end-user is allowed to delete columns.
Hide Gets or sets the document’s capability to hide columns.
HideAllowed Gets whether an end-user is allowed to hide columns.
Insert Gets or sets the document’s capability to insert new columns.
InsertAllowed Gets whether an end-user is allowed to insert columns.
Resize Gets or sets the document’s capability to change column widths.
ResizeAllowed Gets whether an end-user is allowed to resize columns.
Unhide Gets or sets the document’s capability to unhide columns.
UnhideAllowed Gets whether an end-user is allowed to unhide columns.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the SpreadsheetColumnBehaviorOptions object passed as a parameter.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.
See Also