Softelvdm.Controls Class Library for Windows Controls 1.0

AllowMergeFromUpper Property, CellBaseClass Class

Softel vdm, Inc.

Defines whether this cell is eligible to be used for cell merging by the cell above.

Syntax      CellBaseClass Class (Softelvdm.Controls)

VB   

Public Property AllowMergeFromUpper As BoolOptionalEnum

C#   

public BoolOptionalEnum AllowMergeFromUpper { get; set; }

C++   

public: property BoolOptionalEnum AllowMergeFromUpper {
        BoolOptionalEnum get();
        void set(BoolOptionalEnum value);
}

Property Value

True if this cell is eligible to be used for cell merging by the cell above, otherwise False.

BoolOptionalEnum

Value

Description

False

0

False.

True

1

True.

Default

-1

The default value is determined by a containing object or by the environment.

The default value is BoolOptionalEnum.Default.

Comments

The AllowMergeFromUpper property defines whether this cell is eligible to be used for cell merging by the cell above.

For cell merging to take effect, the upper cell merging into the this cell must have its EvaluatedMergeWithLower property set to True. The merged cell (this cell) must have its property EvaluatedAllowMergeFromUpper set to True to indicate that it is a candidate for cell merging. In addition, all cells involved in cell merging must must either have the same cell text or all subordinate cells must be empty.

SftTree/NET 2.0: The control's MergeStyle property determines whether empty cells or cells with the same cell text are candidates for cell merging.

SftTree/NET 2.0: The default settings for cell merging can be defined using these properties: Headers.AllowMergeFromUpperDefault for column headers, Footers.AllowMergeFromUpperDefault for column footers, RowHeaders.AllowMergeFromUpperDefault and ColumnClass.AllowMergeFromUpperDefault for each column.

The EvaluatedAllowMergeFromUpper property can be used to determine the actual status for this cell by evaluating the default settings.

SftTabs/NET 6.0: Cell merging is not used in this product and this property has no effect.

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com