Softelvdm.Controls Class Library for Windows Controls 1.0

MergeWithNext Property, CellBaseClass Class

Softel vdm, Inc.

Returns whether this cell is eligible to merge with the next adjacent cell.

Syntax      CellBaseClass Class (Softelvdm.Controls)

VB   

Public Property MergeWithNext As BoolOptionalEnum

C#   

public BoolOptionalEnum MergeWithNext { get; set; }

C++   

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

Property Value

True if this cell is eligible to merge with the next adjacent cell, 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 MergeWithNext property returns whether this cell is eligible to merge with the next adjacent cell.

For cell merging to take effect, this cell must have its EvaluatedMergeWithNext property set to True. The merged cell (the next adjacent cell) must have its property EvaluatedAllowMergeFromPrevious set to True to indicate that it is a candidate for cell merging. In addition, all subordinate cells must be empty.

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

The EvaluatedMergeWithNext property can be used to define the 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