[]
        
(Showing Draft Content)

C1.Win.C1TrueDBGrid.Split

Split Class

Represents a horizontal or vertical pane to display and edit data.

Inheritance
Split
Implements
Namespace: C1.Win.C1TrueDBGrid
Assembly: C1.Win.C1TrueDBGrid.4.8.dll
Syntax
public class Split : View, IDisposable

Constructors

Name Description
Split()

Initializes a new instance of the Split class.

Split(Frame)

Initializes a new instance of the Split class.

Split(View)

Initializes a new instance of the Split class.

Properties

Name Description
AllowColMove

Gets or sets a value indicating the ability to move columns.

AllowColSelect

Gets or sets a value indicating the ability to select columns.

AllowFocus

Gets or sets a value indicating whether the split can recive focus.

AllowHorizontalSizing

Gets or sets a value indicating whether a user is allowed to resize horizontal splits.

AllowRowSelect

Gets or sets a value indicating the ability to select rows.

AllowRowSizing

Gets or sets how interactive row resizing is performed.

AllowVerticalSizing

Gets or sets a value indicating whether a user is allowed to resize vertical splits.

AlternatingRowStyle

Gets or sets a value indicating whether the split uses the OddRowStyle for odd-numbered rows and EvenRowStyle for even-numbered rows.

Caption

Gets or sets the caption.

CaptionHeight

Gets or sets the height of the caption.

CaptionStyle

Gets or sets the Style object that controls the appearance of the caption area.

ColumnCaptionHeight

Gets or sets the height of the column captions.

ColumnFooterHeight

Gets or sets the height of column footers.

ColumnSelectorStyle

Gets or sets the Style object that controls the appearance of the column selector.

CurrentCellVisible

Gets or sets a value indicating the visibility of the current cell in a split.

DefRecSelWidth
DisplayColumns

Gets a collection of C1DisplayColumn objects.

EditorStyle

Gets or sets the Style object that controls the appearance of the cell editor within a grid.

EvenRowStyle

Gets or sets the Style object that controls the appearance of an even-numbered row when using AlternatingRows.

ExtendRightColumn

Gets or sets a value that determines how the last column will extend to fill the dead area of the split.

FetchRowStyles

Gets or sets a value indicating whether the FetchRowStyle event will be raised.

FilterActive

Gets or sets a value indicating whether the filter bar has focus.

FilterBar

Gets or sets a value indicating the visibility of the FilterBar.

FilterBarMarqueeStyle

Gets or sets the FilterBarMarqueeStyle for a Split.

FilterBarStyle

Gets or sets the Style object that controls the appearance of the FilterBar.

FilterBorderStyle

Gets or sets the filter border style.

FilterWatermarkStyle

Gets or sets the Style object that controls the appearance of the FilterWatermark.

FirstRow

Gets or sets the row index for the first visible row in a split.

FooterStyle

Gets or sets the Style object that controls the appearance of column footers.

HBarHeight
HBarStyle
HScrollBar

Gets the HBar object that controls the appearance of the horizontal scrollbar.

HeadingHotStyle

Gets or sets the Style object that controls the appearance of the grids hot column headers.

HeadingStyle

Gets or sets the Style object that controls the appearance of the grids column headers.

Height

Gets or sets the height of a split.

HighLightRowStyle

Gets or sets the Style object that controls the current row/cell when the MarqueeStyle is set to Highlight Row/Cell.

HorizontalOffset

Gets or sets the position of the Horizontal scrollbar.

HorizontalScrollGroup

Gets or sets the group which synchronizes horizontal scrolling between splits.

InactiveStyle

Gets or sets the Style object that controls the grids caption when it doesn't have focus.

LeftCol

Gets or sets the left most visible column for a split.

Locked

Gets or sets a value indicating if the cells of a split can be edited.

MarqueeStyle

Gets or sets the MarqueeStyle for a Split.

MinHeight

Gets or sets the minimum height that a split can be interactively resized.

MinWidth

Gets or sets the minimum width that a split can be interactively resized.

Name

Gets or sets the name of a split.

OddRowStyle

Gets or sets the Style object that controls the appearance of an odd-numbered row when using AlternatingRows.

RecordSelectorStyle

Gets or sets the Style object that controls the appearance of the RecordSelectors.

RecordSelectorWidth

Gets or sets the width of the row headers.

RecordSelectors

Gets or sets a value indicating the visibility of row headers for Split.

RowSelectorStyle

Gets or sets the Style object that controls the appearance of the row selector.

Rows

Gets the collection of Rows displayed in the Split.

SelectedStyle

Gets or sets the Style object that controls the appearance of selected rows and columns.

SplitSize

Gets or sets the size of a split.

SplitSizeMode

Gets or sets a value indicating how the SplitSize property is used to determine the actual size of a split.

SpringMode

Gets or sets a value that determines how columns will resize when the grid is resized.

Style

Gets or sets the root Style object for the Split.

SubRows
VBarHeight
VBarStyle
VScrollBar

Gets the VBar object that controls the appearance of the vertical scrollbar.

VerticalOffset

Gets or sets the position of the Vertical scrollbar.

VerticalScrollGroup

Gets or sets the group which synchronizes verticall scrolling between splits.

internalCols

Methods

Name Description
AddCellStyle(CellStyleFlag, Style)

Controls the Style used to change the appearance for cells meeting the specified condition.

AddRegexCellStyle(CellStyleFlag, Style, string)

Controls the Style used to change the appearance of cells according to their contents.

AddRow(int)

Adds the row.

AutoHeightCaption()

Calcs the height of display columns caption by caption string.

CheckMousePoint(Point)
ClearCellStyle(CellStyleFlag)

Removes a cell condition established with a previous call to the AddCellStyle(CellStyleFlag, Style) method.

ClearRegexCellStyle(CellStyleFlag)

Removes a cell condition established with a previous call to the AddCellStyle(CellStyleFlag, Style) method.

ClearRegexCellStyle(CellStyleFlag, string)

Removes a cell condition established with a previous call to the AddRegexCellStyle(CellStyleFlag, Style, string) method.

ClipDataRect(PaintEventArgs)
CreateInternalDropdown()

Creates the internal dropdown for use in the filterbar.

DeleteRows()

Deletes the rows.

Dispose(bool)

Called when the class is being disposed.

DrawFilterCell(PaintEventArgs, int)

Draws the filter cell.

ExitEdit()

Exits editing mode.

ExitEdit(bool)

Exits editing mode.

GetCellBounds(int, int)

Returns the Rectangle for the given Row and Column

GetHeaderCellBounds(int)

Returns the Rectangle for the Header cell of the given Column

HasCombo()

Determines whether this instance has combo.

HasInternalCombo()

Determines whether we have an internal combo.

OnAddNewRow()
OnDisplayColumnChanged(ColumnChangedEnum, C1DisplayColumn)

Called when C1DisplayColumn properties have been changed.

OnGetCellRange(int, int)

Returns the upper and lower bounds for a merged column.

OnPaint(PaintEventArgs)
RepositionEditor()
SetFlatMode(FlatModeEnum)

Sets the flat mode.

ShouldExit()

short circuits exiting the editor on row change when actively filtering

ShouldSerializeHeight()
ShouldSerializeRecordSelectorWidth()
filterColumnAt(Point, out int)
getDropDown()

Gets the drop down for the current column if one exists.

getFilterRect(int)
getFilterTextRect(int)
shouldMerge(string, int, int, int)

returns true if the data at the given row is the same as the passed in string