GridControlBase Members
Serves as the base class for data-aware controls (e.g., GridControl).Fields
Properties
Name | Description |
---|---|
ActiveEditor | Gets the active editor. This is a dependency property. Inherited from DataControlBase. |
ActualShowFilterPanel | Gets whether the filter panel is displayed within a grid. This is a dependency property. Inherited from DataControlBase. |
AllowColumnFiltering | Gets or sets whether an end-user can filter data by column. This is a dependency property. Inherited from DataControlBase. |
AllowColumnMoving | Gets or sets whether an end-user is allowed to move columns by dragging their headers. This is a dependency property. Inherited from DataControlBase. |
AllowCommitOnValidationAttributeError | Gets or sets whether or not a cell’s value that has failed validation specified by the Data Annotations attribute(s), can be posted to a data source. This is a dependency property. Inherited from DataControlBase. |
AllowEditing | Gets or sets whether end-users are allowed to change cell values. This is a dependency property. Inherited from DataControlBase. |
AllowGrouping | Gets or sets a value that specifies whether an end-user can group data. This is a dependency property. |
AllowLeaveInvalidEditor | Gets or sets whether an editor that did not pass validation can lose focus. This is a dependency property. Inherited from DataControlBase. |
AllowSorting | Gets or sets whether an end-user can sort data. This is a dependency property. Inherited from DataControlBase. |
AutoGenerateColumns | Gets or sets whether columns should be created automatically for all fields in a data source. This is a dependency property. Inherited from DataControlBase. |
AutoScrollOnSorting | Gets or sets whether a grid is automatically scrolled after the order of rows has been changed. This is a dependency property. Inherited from DataControlBase. |
BottomAdditionalRowsCount | Inherited from DataControlBase. |
CellStyle | Gets or sets the style applied to data cells displayed within a grid. This is a dependency property. Inherited from DataControlBase. |
ColumnHeaderStyle | Gets or sets the column header’s style. This is a dependency property. Inherited from DataControlBase. |
ColumnHeaderTemplate | Gets or sets the template that defines the presentation of column header content. This is a dependency property. Inherited from DataControlBase. |
ColumnHeaderTemplateSelector | Gets or sets an object that chooses a column header template based on custom logic. This is a dependency property. Inherited from DataControlBase. |
ColumnHeaderToolTipTemplate | Gets or sets the template that defines the presentation of a column header’s tooltip. This is a dependency property. Inherited from DataControlBase. |
Commands | Provides access to grid commands. This is a dependency property. Inherited from DataControlBase. |
CurrentColumn | Gets or sets the focused column. |
CurrentItem | Gets or sets the currently focused data row. Inherited from DataControlBase. |
FilterCriteria | Gets or sets the grid’s filter criteria. This is a dependency property. Inherited from DataControlBase. |
FilterPanelText | Gets the text displayed within the Filter Panel. This is a dependency property. Inherited from DataControlBase. |
FilterString | Gets or sets the grid’s filter expression. This is a dependency property. Inherited from DataControlBase. |
FixedSummariesLeft | Gets total summaries displayed within the Fixed Summary Panel and aligned to the left. Inherited from DataControlBase. |
FixedSummariesRight | Gets total summaries displayed within the Fixed Summary Panel and aligned to the right. Inherited from DataControlBase. |
FixedTotalSummaryItemTemplate | Gets or sets the template that defines the presentation of total summary items. This is a dependency property. Inherited from DataControlBase. |
FocusedBorderTemplate | Gets or sets the template that defines the presentation of a focused row’s border. This is a dependency property. Inherited from DataControlBase. |
GroupSummaryContentStyle | Gets or sets the style applied to group summary items. This is a dependency property. |
GroupSummaryItemTemplate | Gets or sets the template that defines the presentation of summary items displayed within group rows. This is a dependency property. |
GroupValueTemplate | Gets or sets the template that defines the presentation of column values displayed within group rows. This is a dependency property. |
GroupValueTemplateSelector | Gets or sets an object that chooses a group row value template based on custom logic. This is a dependency property. |
HasValidationError | Gets whether a validation error has been defined for the grid. This is a dependency property. Inherited from DataControlBase. |
HeadersData | Gets the information about column headers. Inherited from DataControlBase. |
IncrementalLoadingThreshold | Gets or sets the threshold range that governs when the grid will begin to prefetch more row items. This is a dependency property. Inherited from DataControlBase. |
IsEditing | Gets whether the focused cell is currently being edited. This is a dependency property. Inherited from DataControlBase. |
IsFilterEnabled | Gets or sets whether the current filter is enabled. This is a dependency property. Inherited from DataControlBase. |
IsGroupPanelVisible | Gets whether the Group Panel is visible. |
IsSynchronizedWithCurrentItem | Gets or sets whether a grid should keep the DataControlBase.SelectedItem synchronized with the current item in the Windows.UI.Xaml.Data.ICollectionView. This is a dependency property. Inherited from DataControlBase. |
ItemClickCommand | Gets or sets the command to invoke when an item is clicked. Inherited from DataControlBase. |
ItemNavigationMode | Gets or sets whether a single or double tap is needed to navigate to an item. Inherited from DataControlBase. |
ItemNavigationTargetParameterBinding | Gets or sets a binding that defines a parameter to be passed to the target page, invoked when clicking an item. Inherited from DataControlBase. |
ItemNavigationTargetType | Allows you to specify a page to be opened when an end-user clicks an item. Inherited from DataControlBase. |
ItemsSource | Gets or sets the grid’s data source. This is a dependency property. Inherited from DataControlBase. |
KeepFocusedRowOnUpdate | Gets or sets whether the currently selected row retains focus when data is sorted, grouped or filtered. Inherited from DataControlBase. |
NavigationStyle | Gets or sets whether row focusing is allowed. This is a dependency property. Inherited from DataControlBase. |
PreserveSorting | Gets or sets whether clicking a column header clears the existing sort settings. This is a dependency property. Inherited from DataControlBase. |
SearchColumns | Gets or sets the field names against which searches are performed by the Search Panel. This is a dependency property. Inherited from DataControlBase. |
SearchDelay | Gets or sets the amount of time in milliseconds, after which a data search is initiated (in an automatic find mode). This is a dependency property. Inherited from DataControlBase. |
SearchPanelAllowFilter | Gets or sets whether the grid displays only those records that match the search criteria. This is a dependency property. Inherited from DataControlBase. |
SearchPanelClearOnClose | Gets or sets whether or not the search string is cleared when closing the Search Panel. This is a dependency property. Inherited from DataControlBase. |
SearchPanelCloseDelay | Gets or sets the amount of time, in milliseconds, after which a Search Panel that doesn’t contain any search criteria is closed. This is a dependency property. Inherited from DataControlBase. |
SearchPanelCriteriaOperatorType | Gets or sets the logical operator type (AND or OR). This is a dependency property. Inherited from DataControlBase. |
SearchPanelFindFilter | Gets or sets the type of the comparison operator used to create filter conditions. This is a dependency property. Inherited from DataControlBase. |
SearchPanelFindMode | Gets or sets whether data searching starts automatically, or must be started manually. This is a dependency property. Inherited from DataControlBase. |
SearchPanelHighlightingSettings | Gets or sets the font settings used to highlight the text that matches the search criteria. This is a dependency property. Inherited from DataControlBase. |
SearchPanelHighlightResults | Gets or sets whether to highlight search results within located records. This is a dependency property. Inherited from DataControlBase. |
SearchString | Gets or sets the search string specified within the Search Panel. This is a dependency property. Inherited from DataControlBase. |
SelectedItem | Get or sets the currently focused data item. Inherited from DataControlBase. |
SelectedItemHandle | Gets or sets the selected item’s handle. This is a dependency property. Inherited from DataControlBase. |
SelectedItems | Gets data objects that correspond to items currently selected within a grid. Inherited from DataControlBase. |
SelectionMode | Gets or sets whether multiple row/cell selection is enabled. This is a dependency property. Inherited from DataControlBase. |
ShowColumnHeaders | Gets or sets whether a grid displays column headers. This is a dependency property. Inherited from DataControlBase. |
ShowFilterPanelMode | Gets or sets when the Filter Panel is displayed within a grid. This is a dependency property. Inherited from DataControlBase. |
ShowFixedTotalSummary | Gets or sets whether or not the Fixed Summary Panel is displayed within the grid. This is a dependency property. Inherited from DataControlBase. |
ShowGroupedColumns | Gets or sets whether the grouped columns are displayed within a grid. This is a dependency property. |
ShowGroupPanel | Gets or sets a value specifying whether the Group Panel is displayed. |
ShowLoadingPanel | Inherited from DataControlBase. |
ShowSearchPanelMode | Gets or sets when the Search Panel is shown within the grid. This is a dependency property. Inherited from DataControlBase. |
ShowTotalSummary | Gets or sets whether to display the total summary panel. Inherited from DataControlBase. |
ShowValidationAttributeErrors | Gets or sets whether or not error icons are displayed within cells that fail validation specified by the Data Annotations attribute(s). This is a dependency property. Inherited from DataControlBase. |
SummariesIgnoreNullValues | Gets or sets whether null values must be ignored when calculating data summaries. This is a dependency property. Inherited from DataControlBase. |
TopRowIndex | Gets or sets the index of the top visible row. Inherited from DataControlBase. |
TotalSummaryContentStyle | Gets or sets the style applied to total summary items displayed within a View. This is a dependency property. Inherited from DataControlBase. |
TotalSummaryData | Gets information about the total summary. Inherited from DataControlBase. |
TotalSummaryItemTemplate | Gets or sets the template that defines the presentation of total summary items. This is a dependency property. Inherited from DataControlBase. |
ValidationError | Provides access to the object, which contains information about the validation error. This is a dependency property. Inherited from DataControlBase. |
VirtualizingCacheHeight | Gets or sets the height of buffer areas above and below the visible area of the grid to be rendered. Inherited from DataControlBase. |
VirtualizingCacheWidth | Gets or sets the width of buffer areas above and below the visible area of the grid to be rendered. This is a dependency property. Inherited from DataControlBase. |
VisibleColumns | Gets the list of visible columns. This is a dependency property. |
VisibleRowCount | Gets the total number of rows displayed within the grid. Inherited from DataControlBase. |
Methods
Name | Description |
---|---|
BeginDataUpdate() | Prevents visual and internal data updates until the DataControlBase.EndDataUpdate method is called. Inherited from DataControlBase. |
BeginInit() | Starts the control’s runtime initialization. Inherited from DataControlBase. |
BeginSelection() | Prevents selection updates until the DataControlBase.EndSelection method is called. Inherited from DataControlBase. |
ClearColumnFilter(ColumnBase) | Removes the filter condition applied to the specified column. Inherited from DataControlBase. |
ClearColumnFilter(String) | Removes the filter condition applied to the specified column. Inherited from DataControlBase. |
ClearSorting() | Clears the sorting applied to the grid. Inherited from DataControlBase. |
CollapseAllGroups() | Collapses all group rows. Inherited from DataControlBase. |
CommitEditing() | Hides the active editor and posts all the changes made within the focused row to a data source if the row values are valid. Inherited from DataControlBase. |
DeleteRow(Int32) | Deletes the specified data row. |
EndDataUpdate() | Enables visual and internal data updates after the DataControlBase.BeginDataUpdate method call, and updates the grid. Inherited from DataControlBase. |
EndInit() | Ends the runtime initialization. Inherited from DataControlBase. |
EndSelection() | Enables selection updates after calling the DataControlBase.BeginSelection method, and forces an immediate update. Inherited from DataControlBase. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
ExpandAllGroups() | Expands all group rows. Inherited from DataControlBase. |
GetCellElementByRowHandleAndColumn(Int32, ColumnBase) | Returns the specified cell’s UI element. Inherited from DataControlBase. |
GetCellElementByTreeElement(DependencyObject) | Returns a cell that contains the specified tree element. Inherited from DataControlBase. |
GetCellValue(Int32, String) | Returns the value of the specified data cell. Inherited from DataControlBase. |
GetColumnByTreeElement(DependencyObject) | Returns a column whose cell contains the specified tree element. Inherited from DataControlBase. |
GetColumnFilterCriteria(ColumnBase) | Returns a filter applied to the specified column. Inherited from DataControlBase. |
GetColumnFilterCriteria(String) | Returns a filter applied to the specified column. Inherited from DataControlBase. |
GetColumnFilterString(ColumnBase) | Returns a filter expression applied to the specified column. Inherited from DataControlBase. |
GetColumnFilterString(String) | Returns a filter expression applied to the specified column. Inherited from DataControlBase. |
GetCurrentGrid(DependencyObject) static | Gets the value of the DataControlBase.CurrentGrid attached property for a specified DependencyObject. Inherited from DataControlBase. |
GetCurrentViewChangedListener(DependencyObject) static | Gets the value of the DataControlBase.CurrentViewChangedListener attached property for a specified DependencyObject. Inherited from DataControlBase. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetRowElementByRowHandle(Int32) | Returns a UI element that is the specified row. Inherited from DataControlBase. |
GetRowState(Int32) | This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DataControlBase. |
GetSelectedCells() | Returns the selected data cells. Inherited from DataControlBase. |
GetTotalSummaryValue(SummaryItemBase) | Returns the value of the specified total summary item. Inherited from DataControlBase. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
HideEditor() | Closes the active editor, discarding all the changes made. Inherited from DataControlBase. |
IsCellSelected(Int32, ColumnBase) | Indicates whether the specified cell is selected. Inherited from DataControlBase. |
IsGroupRow(Int32, Int32) | Indicates whether the specified index corresponds to a group row. For internal use only. |
IsItemSelected(Int32) | Indicates whether the specified item is selected. Inherited from DataControlBase. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
MergeColumnFilters(CriteriaOperator) | Combines the specified filter with the grid’s current filter with the AND operator. Inherited from DataControlBase. |
MergeColumnFilters(String) | Combines the specified filter with the grid’s current filter with the AND operator. Inherited from DataControlBase. |
MoveColumnTo(ColumnBase, Int32) | Moves the specified column to the specified position. Inherited from DataControlBase. |
MoveFirstRow() | Moves focus to the first visible row within a grid. Inherited from DataControlBase. |
MoveLastRow() | Moves focus to the last visible row within a grid. Inherited from DataControlBase. |
MoveNextPage() | Moves focus forward to the bottom row displayed onscreen within a grid. Inherited from DataControlBase. |
MoveNextRow() | Moves focus to the row following the one currently focused. Inherited from DataControlBase. |
MovePrevPage() | Moves focus backward to the top row displayed onscreen within a grid. Inherited from DataControlBase. |
MovePrevRow(Boolean) | Inherited from DataControlBase. |
MoveSelectedItem(Int32) | Selects the specified item. Inherited from DataControlBase. |
PopulateColumns() | Creates columns for all fields in a bound data source. Inherited from DataControlBase. |
PostEditor() | Saves the active editor’s value to a data source without closing the editor. Inherited from DataControlBase. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
RefreshData() | Updates the control data. Inherited from DataControlBase. |
ScrollIntoView(Int32) | Makes the specified row visible onscreen. Inherited from DataControlBase. |
ScrollIntoView(Object) | Makes the specified row visible onscreen. Inherited from DataControlBase. |
SelectAll() | Selects all items within a grid. Inherited from DataControlBase. |
SelectCell(Int32, GridColumnBase) | Selects the cell. Inherited from DataControlBase. |
SelectCells(Int32, GridColumnBase, Int32, GridColumnBase) | Selects multiple cells. Inherited from DataControlBase. |
SelectItem(Int32) | Selects the specified item. Inherited from DataControlBase. |
SelectItem(Object) | Selects the specified item. Inherited from DataControlBase. |
SelectRange(Int32, Int32) | Selects multiple items, while preserving the current selection (if any). Inherited from DataControlBase. |
SetCurrentGrid(DependencyObject, DataControlBase) static | Sets the value of the DataControlBase.CurrentGrid attached property to a specified DependencyObject. Inherited from DataControlBase. |
SetCurrentViewChangedListener(DependencyObject, INotifyCurrentViewChanged) static | Sets the value of the DataControlBase.CurrentViewChangedListener attached property to a specified DependencyObject. Inherited from DataControlBase. |
ShowEditor() | Activates the focused cell’s inplace editor. Inherited from DataControlBase. |
SortBy(String) | Sorts data by the values of the specified column. Inherited from DataControlBase. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
UnselectAll() | Unselects any selected items within a grid. Inherited from DataControlBase. |
UnselectCell(Int32, GridColumnBase) | Unselects the specified cell. Inherited from DataControlBase. |
UnselectCells(Int32, GridColumnBase, Int32, GridColumnBase) | Unselects the specified cells. Inherited from DataControlBase. |
UnselectItem(Int32) | Unselects the specified item. Inherited from DataControlBase. |
UnselectItem(Object) | Unselects the specified item. Inherited from DataControlBase. |
UpdateTotalSummary() | Updates total summaries. Inherited from DataControlBase. |
UpdateUnboundColumnValues(Int32) | Updates unbound column values in the specified row. Inherited from DataControlBase. |
Events
Name | Description |
---|---|
AutoGeneratedColumns | Occurs after the columns have been automatically generated. Inherited from DataControlBase. |
AutoGeneratingColumn | Occurs each time an individual column is auto-generated. Inherited from DataControlBase. |
BeforeLayoutRefresh | Enables you to lock down end-user capabilities that affect the onscreen position of the focused row (e.g. moving row focus, row scrolling, sorting, etc.). Inherited from DataControlBase. |
CellValueChanged | Occurs after a cell’s value has been changed. |
CellValueChanging | Fires in response to changing the edit value. |
ColumnsPopulated | Obsolete. Occurs after the columns have been automatically generated. Inherited from DataControlBase. |
CurrentColumnChanged | Occurs after the focused column has been changed. Inherited from DataControlBase. |
CustomGroupDisplayText | Enables you to provide custom content for group rows. |
FilterChanged | Occurs after the grid’s filter has been changed. Inherited from DataControlBase. |
HiddenEditor | Occurs after a cell’s editor has been closed. |
InvalidRowException | Fires when a row fails validation or when it cannot be saved to a data source. |
ItemsSourceChanged | Occurs after the DataControlBase.ItemsSource property has been changed. Inherited from DataControlBase. |
PropertyChanged | Occurs every time any of the DataControlBase class properties have changed their value. Inherited from DataControlBase. |
RowCanceled | |
RowUpdated | |
SelectedItemChanged | Occurs after the selected item has been changed. Inherited from DataControlBase. |
SelectionChanged | Occurs after grid’s selection has been changed. Inherited from DataControlBase. |
ShowFilterPopup | Enables you to customize a column’s filter dropdown. Inherited from DataControlBase. |
ShownEditor | Occurs after the focused cell’s editor has been shown. |
See Also