[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBandedView

C1FlexGridBandedView Class

A C1FlexGrid extension component with ability to create and customize column bands at runtime and design time.

Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.BandedView.8.dll
Syntax
[ToolboxBitmap(typeof(C1FlexGridBandedView), "C1FlexGridBandedView.png")]
public class C1FlexGridBandedView : C1FlexGridMultiRowViewBase, IComponent, IDisposable, ISupportInitialize

Constructors

Name Description
C1FlexGridBandedView()

Initializes a new instance of the C1FlexGridBandedView component.

Properties

Name Description
Bands

Gets the collection of IBand objects representing the column bands.

BandsColumnsRelation

Gets or sets a value indicating how columns and bands will be located in the grid header.

ColumnContextMenuEnabled

Gets or sets the bool value specifying whether column context menu should be updated with Band features when the user performs right mouse click on the column header.

DataFields

Gets data field row/column positions in a multi row record.

Headers

Gets column headers.

ShowBandHeaders

Gets or sets a value indicating whether the band headers should be displayed.

UseScrollWindow

Gets or sets a value indicating whether the ScrollWindow feature is used. ScrollWindow feature allows to redraw only dirty cells when scrolling.

Methods

Name Description
BeginInit()
Dispose(bool)
EndInit()
FindBand(int, int)

Returns the band corresponding to the specified cell.

FindBandPos(IBand)

Returns the band row and column position in the grid.

GetHeaderAndFields(int, int)

Gets two lists of headers and fields. Offsets rows or columns if need.

GetParentBand(IBand)

Gets bands parent.

OnEndUpdate()

Called when C1FlexGridExternalViewBase updating is ended.

OnFlexGridChanged(EventArgs)

Rises the FlexGridChanged event.

OnFlexGridChanging(EventArgs)

Rises the FlexGridChanging event.

RefreshBandsInfo(int, int)

Populates bands info. Offsets rows or columns if need.

ResetBands()

Resets the Bands property to its default value.

UpdateGrid()

Updates grid according to the C1FlexGridExternalViewBase settings.