The C1FlexGrid type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
C1FlexGrid |
Initializes a new instance of a C1FlexGrid.
|
Methods
| Name | Description | |
|---|---|---|
|
|
ApplyTemplate | (Inherited from Control.) |
|
|
Arrange | (Inherited from UIElement.) |
|
|
AutoSizeColumn |
Resizes a column to fit its visible contents.
|
|
|
AutoSizeColumns(Int32, Int32, Double) |
Resizes a column range to fit their visible content.
|
|
|
AutoSizeColumns(Int32, Int32, Double, Boolean, Boolean) |
Resizes a column range to fit their content.
|
|
|
AutoSizeFixedColumn |
Resizes a fixed column to fit its visible contents.
|
|
|
AutoSizeFixedColumns(Int32, Int32, Double) |
Resizes a range of fixed columns to fit their visible contents.
|
|
|
AutoSizeFixedColumns(Int32, Int32, Double, Boolean, Boolean) |
Resizes a range of fixed columns to fit their content.
|
|
|
AutoSizeFixedRow |
Resizes a fixed row to fit its visible contents.
|
|
|
AutoSizeFixedRows(Int32, Int32, Double) |
Resizes a range of fixed rows to fit their visible contents.
|
|
|
AutoSizeFixedRows(Int32, Int32, Double, Boolean) |
Resizes a range of fixed rows to fit their content.
|
|
|
AutoSizeRow |
Resizes a row to fit its visible contents.
|
|
|
AutoSizeRows(Int32, Int32, Double) |
Resizes a row range to fit their visible contents.
|
|
|
AutoSizeRows(Int32, Int32, Double, Boolean) |
Resizes a row range to fit their content.
|
|
|
CaptureMouse | (Inherited from UIElement.) |
|
|
CheckAccess | (Inherited from DependencyObject.) |
|
|
ClearValue | (Inherited from DependencyObject.) |
|
|
CollapseGroupsToLevel |
Collapses all the group rows to a given level.
|
|
|
Copy |
Copy the current selection to the clipboard.
|
|
|
Equals | (Inherited from Object.) |
|
|
FindName | (Inherited from FrameworkElement.) |
|
|
FinishEditing()()()() |
Commits any pending edits and exits edit mode.
|
|
|
FinishEditing(Boolean) |
Commits or cancels any pending edits and exits edit mode.
|
|
|
Focus | (Inherited from Control.) |
|
|
GetAggregate |
Calculates aggregate statistics for a cell range.
|
|
|
GetAnimationBaseValue | (Inherited from DependencyObject.) |
|
|
GetCellFactory |
Gets the ICellFactory class responsible for creating and destroying
FrameworkElement objects used to represent grid cells.
|
|
|
GetClipString(ClipboardCopyMode) |
Gets the current selection as a string suitable for copying to the clipboard.
|
|
|
GetClipString(CellRange, ClipboardCopyMode) |
Gets a range of cells as a string suitable for copying to the clipboard.
|
|
|
GetGridImage |
Gets a FrameworkElement that represents a given part of the grid.
|
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetPageImages(ScaleMode, Size, Int32) |
Gets a list of elements that represent parts of the grid fit for rendering
into pages of a document.
|
|
|
GetPageImages(CellRange, ScaleMode, Size, Int32) |
Gets a list of elements that represent parts of the grid fit for rendering
into pages of a document.
|
|
|
GetSelectedState |
Gets a SelectedState value that indicates the selected
state of the cells in a CellRange.
|
|
|
GetType | (Inherited from Object.) |
|
|
GetValue | (Inherited from DependencyObject.) |
|
|
HitTest(Point) |
Gets a HitTestInfo object that contains information about the
grid at a given location.
|
|
|
HitTest(RoutedEventArgs) |
Gets a HitTestInfo object that contains information about the
grid at a given location.
|
|
|
IncludeInAggregate |
Gets a value that determines whether a cell should be included in the aggregates
calculated with the GetAggregate(Aggregate, CellRange) method.
|
|
|
Invalidate()()()() |
Forces the grid to re-create all visible elements.
|
|
|
Invalidate(Boolean) |
Forces the grid to re-create all visible elements.
|
|
|
Invalidate(CellRange) |
Forces the grid to re-create the elements in a given CellRange.
|
|
|
InvalidateArrange | (Inherited from UIElement.) |
|
|
InvalidateMeasure | (Inherited from UIElement.) |
|
|
LoadColumnLayout |
Loads a column layout from an XmlReader.
|
|
|
Measure | (Inherited from UIElement.) |
|
|
OnApplyTemplate |
Applies the template defined in the Template property.
(Overrides FrameworkElement..::..OnApplyTemplate()()()().) |
|
|
Paste |
Pastes the content of the clipboard to the grid.
|
|
|
Print(String) |
Prints the grid.
|
|
|
Print(String, ScaleMode, Thickness, Int32) |
Prints the grid using a specified scale mode.
|
|
|
ReadLocalValue | (Inherited from DependencyObject.) |
|
|
ReleaseMouseCapture | (Inherited from UIElement.) |
|
|
Save(Stream, FileFormat) |
Saves the contents of the grid to an UTF8-encoded stream.
|
|
|
Save(String, FileFormat) |
Saves the contents of the grid to an UTF8-encoded file.
|
|
|
Save(Stream, FileFormat, SaveOptions) |
Saves the contents of the grid to an UTF8-encoded stream.
|
|
|
Save(StreamWriter, FileFormat, SaveOptions) |
Saves the contents of the grid to a StreamWriter.
|
|
|
Save(String, FileFormat, SaveOptions) |
Saves the contents of the grid to an UTF8-encoded file.
|
|
|
Save(Stream, FileFormat, Encoding, SaveOptions) |
Saves the contents of the grid to a stream.
|
|
|
Save(String, FileFormat, Encoding, SaveOptions) |
Saves the contents of the grid to a file.
|
|
|
SaveColumnLayout |
Saves the current column layout to an XmlWriter.
|
|
|
ScrollIntoView |
Scrolls the grid to bring a specific cell into view.
|
|
|
Select(Int32, Int32) |
Selects a given cell.
|
|
|
Select(CellRange, Boolean) |
Selects a given cell and optionally scrolls it into view.
|
|
|
Select(Int32, Int32, Boolean) |
Selects a given cell and optionally scrolls it into view.
|
|
|
Select(Int32, Int32, Int32, Int32, Boolean) |
Selects cell range and optionally scrolls it into view.
|
|
|
SelectAll |
Selects all cells.
|
|
|
SetBinding | (Inherited from FrameworkElement.) |
|
|
SetClipString |
Parses a string into rows and columns and applies the content to a given range.
|
|
|
SetValue | (Inherited from DependencyObject.) |
|
|
StartEditing(Boolean) |
Starts editing the cell that is currently selected.
|
|
|
StartEditing(Boolean, Int32, Int32) |
Starts editing a specific cell.
|
|
|
ToString | (Inherited from Object.) |
|
|
TransformToVisual | (Inherited from UIElement.) |
|
|
UpdateLayout | (Inherited from UIElement.) |
Fields
Properties
| Name | Description | |
|---|---|---|
|
|
ActiveEditor |
Gets the cell editor that is currently active.
|
|
|
ActualHeight | (Inherited from FrameworkElement.) |
|
|
ActualWidth | (Inherited from FrameworkElement.) |
|
|
AllowAddNew |
Gets or sets a value that indicates whether the grid should provide a new row
template so users can add items to the source collection.
|
|
|
AllowDragging |
Gets or sets a value that indicates whether users are allowed to move
rows and columns to new positions using the mouse.
|
|
|
AllowMerging |
Gets or sets a value that indicates which parts of the grid support
cell merging.
|
|
|
AllowResizing |
Gets or sets a value that indicates whether users are allowed to resize
rows and columns using the mouse.
|
|
|
AllowSorting |
Gets or sets a value that indicates whether users are allowed to sort
columns by clicking the column header cells.
|
|
|
AlternatingRowBackground |
Gets or sets the Brush that is used to paint the background of odd-numbered rows.
|
|
|
AreRowGroupHeadersFrozen |
Gets or sets a value that indicates whether the row group header sections
remain fixed at the width of the display area or can scroll horizontally.
|
|
|
AutoComplete |
Gets or sets a value that determines whether the control should try to automatically
complete entries as the user types, based on other entries in the same column
(like Microsoft Excel does).
|
|
|
AutoGenerateColumns |
Gets or sets a value that indicates whether columns are created automatically
when the ItemsSource property is set.
|
|
|
Background | (Inherited from Control.) |
|
|
BorderBrush | (Inherited from Control.) |
|
|
BorderThickness | (Inherited from Control.) |
|
|
BottomLeftCells |
Gets the GridPanel that contains the cells in the lower left corner of the grid.
|
|
|
BottomRightCellBackground |
Gets or sets the Brush that is used to paint the background of the
cell at the bottom right corner of the grid.
|
|
|
CellFactory |
Gets or sets the ICellFactory class responsible for creating
and destroying FrameworkElement objects used to represent grid cells.
|
|
|
Cells |
Gets the GridPanel that contains the data cells in the grid.
|
|
|
ChildItemsPath |
Gets or sets the name of the property used to generate child rows.
|
|
|
Clip | (Inherited from UIElement.) |
|
|
ClipboardCopyMode |
Gets or sets a value that indicates how content is copied to the clipboard.
|
|
|
ClipboardPasteMode |
Gets or sets a value that indicates how content is pasted from the clipboard.
|
|
|
CollectionView |
Gets the ICollectionView that represents the current data source.
|
|
|
ColumnFooterRows |
Gets the collection of column footer rows.
|
|
|
ColumnFooters |
Gets the GridPanel that contains the column footer cells.
|
|
|
ColumnHeaderBackground |
Gets or sets the Brush that is used to paint column header backgrounds.
|
|
|
ColumnHeaderForeground |
Gets or sets the Brush that is used to paint column header content.
|
|
|
ColumnHeaders |
Gets the GridPanel that contains the column header cells.
|
|
|
ColumnHeaderSelectedBackground |
Gets or sets the Brush that is used to paint column header backgrounds
for selected cells.
|
|
|
ColumnLayout |
Gets or sets a string that defines the current column layout.
|
|
|
Columns |
Gets the collection of columns in the grid.
|
|
|
Cursor | (Inherited from FrameworkElement.) |
|
|
CursorBackground |
Gets or sets the Brush that is used to paint the background of
the cursor cell.
|
|
|
CursorForeground |
Gets or sets the Brush that is used to paint the foreground of
the cursor cell.
|
|
|
DataContext | (Inherited from FrameworkElement.) |
|
|
DeferScrolling |
Gets or sets a value that determines whether scrolling should be deferred until the
user releases the scrollbar thumb.
|
|
|
DesiredSize | (Inherited from UIElement.) |
|
|
Dispatcher | (Inherited from DependencyObject.) |
|
|
EditorBackground |
Gets or sets the Brush that is used to paint the background of
cells in edit mode.
|
|
|
EditorForeground |
Gets or sets the Brush that is used to paint the foreground of
cells in edit mode.
|
|
|
EditorRange |
Gets the CellRange that corresponds to the cell currently being edited.
|
|
|
ErrorStyle |
Gets or sets the CellStyle used to highlight cells that
contain errors.
|
|
|
FontFamily | (Inherited from Control.) |
|
|
FontSize | (Inherited from Control.) |
|
|
FontStretch | (Inherited from Control.) |
|
|
FontStyle | (Inherited from Control.) |
|
|
FontWeight | (Inherited from Control.) |
|
|
Foreground | (Inherited from Control.) |
|
|
FrozenColumns |
Gets or sets the number of non-scrollable columns.
|
|
|
FrozenLinesBrush |
Gets or sets the Brush that is used to paint the lines between frozen
and scrollable areas of the grid.
|
|
|
FrozenRows |
Gets or sets the number of non-scrollable rows.
|
|
|
GridLinesBrush |
Gets or sets the Brush that is used to paint the lines between cells.
|
|
|
GridLinesVisibility |
Gets or sets a value that indicates which grid lines separating inner cells are shown.
|
|
|
GroupHeaderConverter |
Gets or sets the IValueConverter used to create the content shown
in GroupRow cells to summarize group information.
|
|
|
GroupRowBackground |
Gets or sets the Brush that is used to paint the background of group rows.
|
|
|
GroupRowForeground |
Gets or sets the Brush that is used to paint the foreground of group rows.
|
|
|
GroupRowPosition |
Gets or sets a value that indicates where group rows should be displayed with
respect to the data.
|
|
|
HeaderFontWeight |
Gets or sets the FontWeight used to render text in header cells.
|
|
|
HeaderGridLinesBrush |
Gets or sets the Brush that is used to paint the lines between
row and column header cells.
|
|
|
HeadersVisibility |
Gets or sets a value that indicates the visibility of row and column headers.
|
|
|
Height | (Inherited from FrameworkElement.) |
|
|
HorizontalAlignment | (Inherited from FrameworkElement.) |
|
|
HorizontalContentAlignment | (Inherited from Control.) |
|
|
HorizontalScrollBarVisibility |
Gets or sets a value that indicates how the horizontal scroll bar is displayed.
|
|
|
IsEnabled | (Inherited from Control.) |
|
|
IsHitTestVisible | (Inherited from UIElement.) |
|
|
IsReadOnly |
Gets or sets a value that indicates whether the user can edit values
in the grid.
|
|
|
IsSynchronizedWithCurrentItem |
Gets or sets a value that determines whether the control should synchronize the selection
with the selection in the ItemsSource property.
|
|
|
IsTabStop | (Inherited from Control.) |
|
|
Item[([( Int32, Column])]) |
Gets or sets the value of a specific cell.
|
|
|
Item[([( Int32, Int32])]) |
Gets or sets the value of a specific cell.
|
|
|
Item[([( Int32, String])]) |
Gets or sets the value of a specific cell.
|
|
|
ItemsSource |
Gets or sets a collection that is used to generate the content of the control.
|
|
|
ItemType |
Gets the type of item contained in the current data source.
|
|
|
KeepCurrentVisible |
Gets or sets a value that indicates whether the grid should automatically
scroll to keep the current item visible.
|
|
|
KeyActionEnter |
Gets or sets a value that indicates the action performed by the grid
when the user presses the Enter key.
|
|
|
KeyActionTab |
Gets or sets a value that indicates the action performed by the grid
when the user presses the Tab key.
|
|
|
Language | (Inherited from FrameworkElement.) |
|
|
Margin | (Inherited from FrameworkElement.) |
|
|
Marquee |
Gets the Rectangle used to show the Excel-style marquee around
the current selection.
|
|
|
MaxColumnWidth |
Gets or sets the maximum width of columns in the C1FlexGrid.
|
|
|
MaxHeight | (Inherited from FrameworkElement.) |
|
|
MaxRowHeight |
Gets or sets the maximum height of rows in the C1FlexGrid.
|
|
|
MaxWidth | (Inherited from FrameworkElement.) |
|
|
MergeManager |
Gets or sets the IMergeManager class responsible for handling cell
merging on the grid.
|
|
|
MinColumnWidth |
Gets or sets the minimum width of columns in the C1FlexGrid.
|
|
|
MinHeight | (Inherited from FrameworkElement.) |
|
|
MinRowHeight |
Gets or sets the minimum height of rows in the C1FlexGrid.
|
|
|
MinWidth | (Inherited from FrameworkElement.) |
|
|
Name | (Inherited from FrameworkElement.) |
|
|
NewRowBackground |
Gets or sets the Brush that is used to paint the background of the
new row template.
|
|
|
NewRowPosition |
Gets or sets a value that indicates whether the new row template should be
displayed at the bottom or at the top of the grid.
|
|
|
Opacity | (Inherited from UIElement.) |
|
|
OpacityMask | (Inherited from UIElement.) |
|
|
Padding | (Inherited from Control.) |
|
|
Parent | (Inherited from FrameworkElement.) |
|
|
RenderSize | (Inherited from UIElement.) |
|
|
RenderTransform | (Inherited from UIElement.) |
|
|
RenderTransformOrigin | (Inherited from UIElement.) |
|
|
Resources | (Inherited from FrameworkElement.) |
|
|
RowBackground |
Gets or sets the Brush that is used to paint row backgrounds.
|
|
|
RowHeaderBackground |
Gets or sets the Brush that is used to paint row header backgrounds.
|
|
|
RowHeaderForeground |
Gets or sets the Brush that is used to paint row header content.
|
|
|
RowHeaders |
Gets the GridPanel that contains the row header cells.
|
|
|
RowHeaderSelectedBackground |
Gets or sets the Brush that is used to paint row header backgrounds
for selected cells.
|
|
|
Rows |
Gets the collection of rows in the grid.
|
|
|
ScrollPosition |
Gets or sets a value that represents the value of the grid scroll bars.
|
|
|
SelectedIndex |
Gets or sets the index of the data item corresponding to the selected row.
|
|
|
SelectedItem |
Gets or sets the data item corresponding to the selected row.
|
|
|
SelectedItems |
Gets a collection of data items corresponding to the currently selected rows.
|
|
|
Selection |
Gets or sets the current selection.
|
|
|
SelectionBackground |
Gets or sets the Brush that is used to paint the background of
selected cells excluding the cursor cell.
|
|
|
SelectionForeground |
Gets or sets the Brush that is used to paint the foreground of
selected cells excluding the cursor cell.
|
|
|
SelectionMode |
Gets or sets the grid's selection mode.
|
|
|
ShowErrors |
Gets or sets a value that determines whether the grid should display
validation errors.
|
|
|
ShowGroups |
Gets or sets a value that indicates whether the grid shows group rows
between data groups.
|
|
|
ShowMarquee |
Gets or sets a value that indicates whether the grid shows an Excel-style
marquee around the current selection.
|
|
|
ShowOutlineBar |
Gets or sets a value that determines whether the grid should display
the outline button bar.
|
|
|
ShowSort |
Gets or sets a value that indicates whether the grid shows the current
sort state by adding a glyph to the column headers of sorted columns.
|
|
|
Style | (Inherited from FrameworkElement.) |
|
|
TabIndex | (Inherited from Control.) |
|
|
TabNavigation | (Inherited from Control.) |
|
|
Tag | (Inherited from FrameworkElement.) |
|
|
Template | (Inherited from Control.) |
|
|
TopLeftCellBackground |
Gets or sets the Brush that is used to paint the background of the
cell at the left top corner of the grid.
|
|
|
TopLeftCells |
Gets the GridPanel that contains the cells in the upper left corner of the grid.
|
|
|
TreeIndent |
Gets or sets the indent used to offset each group of rows in the grid.
|
|
|
Triggers | (Inherited from FrameworkElement.) |
|
|
UseLayoutRounding | (Inherited from UIElement.) |
|
|
VerticalAlignment | (Inherited from FrameworkElement.) |
|
|
VerticalContentAlignment | (Inherited from Control.) |
|
|
VerticalScrollBarVisibility |
Gets or sets a value that indicates how the vertical scroll bar is displayed.
|
|
|
ViewRange |
Gets a CellRange value that indicates the range of cells
currently visible on the grid.
|
|
|
Visibility | (Inherited from UIElement.) |
|
|
Width | (Inherited from FrameworkElement.) |
Events
| Name | Description | |
|---|---|---|
|
|
BeginningEdit |
Occurs before a cell enters editing mode.
|
|
|
BindingValidationError | (Inherited from FrameworkElement.) |
|
|
CellEditEnded |
Occurs when a cell edit has been committed or canceled.
|
|
|
CellEditEnding |
Occurs when a cell edit is ending.
|
|
|
Click |
Occurs when the user clicks the mouse over the grid.
|
|
|
CustomAggregate |
Occurs when the grid needs to calculate a custom aggregate.
|
|
|
DoubleClick |
Occurs when the user double-clicks the mouse over the grid.
|
|
|
DraggedColumn |
Occurs when the user finishes dragging a column to a new position using the mouse.
|
|
|
DraggedRow |
Occurs when the user finishes dragging a row to a new position using the mouse.
|
|
|
DraggingColumn |
Occurs when the user starts dragging a column to a new position using the mouse.
|
|
|
DraggingRow |
Occurs when the user starts dragging a row to a new position using the mouse.
|
|
|
GotFocus | (Inherited from UIElement.) |
|
|
GroupCollapsedChanged |
Occurs after the IsCollapsed property of a GroupRow object changes.
|
|
|
GroupCollapsedChanging |
Occurs before the IsCollapsed property of a GroupRow object changes.
|
|
|
IsEnabledChanged | (Inherited from Control.) |
|
|
ItemsSourceChanged |
Occurs after the value of the ItemsSource property changes.
|
|
|
ItemsSourceChanging |
Occurs when the value of the ItemsSource property is about to change.
|
|
|
KeyDown | (Inherited from UIElement.) |
|
|
KeyUp | (Inherited from UIElement.) |
|
|
LayoutUpdated | (Inherited from FrameworkElement.) |
|
|
Loaded | (Inherited from FrameworkElement.) |
|
|
LoadedRows |
Occurs when the grid finishes loading the rows with items from the data source.
|
|
|
LoadingRows |
Occurs when the grid starts loading the rows with items from the data source.
|
|
|
LostFocus | (Inherited from UIElement.) |
|
|
LostMouseCapture | (Inherited from UIElement.) |
|
|
MouseEnter | (Inherited from UIElement.) |
|
|
MouseLeave | (Inherited from UIElement.) |
|
|
MouseLeftButtonDown | (Inherited from UIElement.) |
|
|
MouseLeftButtonUp | (Inherited from UIElement.) |
|
|
MouseMove | (Inherited from UIElement.) |
|
|
PrepareCellForEdit |
Occurs when an editor cell is created and before it becomes active.
|
|
|
PreviewKeyDown |
Occurs when the user presses a key while the grid has focus.
|
|
|
PreviewMouseLeftButtonDown |
Occurs when the user presses the left mouse button over the grid.
|
|
|
ResizedColumn |
Occurs when the user finishes resizing a column with the mouse.
|
|
|
ResizedRow |
Occurs when the user finishes resizing a row with the mouse.
|
|
|
ResizingColumn |
Occurs when the user starts resizing a column with the mouse.
|
|
|
ResizingRow |
Occurs when the user starts resizing a row with the mouse.
|
|
|
RowEditEnded |
Occurs when a row edit has been committed or canceled.
|
|
|
RowEditEnding |
Occurs when a row edit is ending.
|
|
|
ScrollingDeferred |
Occurs when scrolling is deferred while the user drags a scrollbar thumb.
|
|
|
ScrollPositionChanged |
Occurs after the value of the ScrollPosition
property changes.
|
|
|
ScrollPositionChanging |
Occurs before the value of the ScrollPosition
property changes.
|
|
|
SelectedItemChanged |
Occurs when the value of the SelectedItem property changes.
|
|
|
SelectionChanged |
Occurs after the value of the Selection
property changes.
|
|
|
SelectionChanging |
Occurs before the value of the Selection
property changes.
|
|
|
SizeChanged | (Inherited from FrameworkElement.) |
|
|
SortedColumn |
Occurs after a column is sorted when the user clicks a column header.
|
|
|
SortingColumn |
Occurs before a column is sorted when the user clicks a column header.
|