ClassRadGridView
Provides AI-assisted behaviors for the RadGridView control.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
[Themable]
[TelerikToolboxCategory("Data")]
public class RadGridView : GridViewDataControl, INotifyPropertyChanged, IScrollingServiceCore, IScrollingInfo
Inheritance: objectDataControlBaseItemsControlGridViewDataControlRadGridView
Derived Classes:
Implements:
Inherited Members
Constructors
RadGridView()
Initializes a new instance of the RadGridView class.
Declaration
public RadGridView()
Fields
AISettingsProperty
Identifies the AISettings dependency property.
Declaration
public static readonly DependencyProperty AISettingsProperty
Field Value
DependencyProperty
CanUserGroupColumnsProperty
Identifies the CanUserGroupColumnsProperty dependency property.
Declaration
public static readonly DependencyProperty CanUserGroupColumnsProperty
Field Value
DependencyProperty
CanUserSearchInHiddenColumnsProperty
Represents the CanUserSearchInHiddenColumns DependencyProperty.
Declaration
public static readonly DependencyProperty CanUserSearchInHiddenColumnsProperty
Field Value
DependencyProperty
CanUserSearchProperty
Identifies the CanUserSearch dependency property.
Declaration
public static readonly DependencyProperty CanUserSearchProperty
Field Value
DependencyProperty
CanUserSelectColumnsProperty
Identifies the CanUserSelectColumns dependency property.
Declaration
public static readonly DependencyProperty CanUserSelectColumnsProperty
Field Value
DependencyProperty
CancelPromptRequestCommandProperty
Identifies the CancelPromptRequestCommand property.
Declaration
public static readonly DependencyProperty CancelPromptRequestCommandProperty
Field Value
DependencyProperty
ColumnAggregatesAlignmentProperty
Represents the ColumnAggregatesAlignment dependency property.
Declaration
public static readonly DependencyProperty ColumnAggregatesAlignmentProperty
Field Value
DependencyProperty
ColumnsSelectionButtonVisibilityProperty
Identifies the ColumnsSelectionButtonVisibility dependency property.
Declaration
public static readonly DependencyProperty ColumnsSelectionButtonVisibilityProperty
Field Value
DependencyProperty
EnableStickyGroupHeadersProperty
Represents the EnableStickyGroupHeaders DependencyProperty.
Declaration
public static readonly DependencyProperty EnableStickyGroupHeadersProperty
Field Value
DependencyProperty
GroupHeaderRowMinHeightProperty
Identifies the GroupHeaderRowMinHeight dependency property.
Declaration
public static readonly DependencyProperty GroupHeaderRowMinHeightProperty
Field Value
DependencyProperty
IsAIEnabledProperty
Identifies the IsAIEnabled dependency property.
Declaration
public static readonly DependencyProperty IsAIEnabledProperty
Field Value
DependencyProperty
PromptRequestCommandProperty
Identifies the PromptRequestCommand property.
Declaration
public static readonly DependencyProperty PromptRequestCommandProperty
Field Value
DependencyProperty
SearchModeProperty
Identifies the SearchMode dependency property.
Declaration
public static readonly DependencyProperty SearchModeProperty
Field Value
DependencyProperty
Properties
AISettings
Gets or sets the AI configuration settings for the grid.
Declaration
public GridViewAISettings AISettings { get; set; }
Property Value
CanUserGroupColumns
Gets or sets a value indicating whether the columns can be grouped.
CanUserSearch
Gets or sets a value that indicates whether the user can open the SearchPanel by using the Ctrl+F combination.
CanUserSearchInHiddenColumns
Gets or sets a value that indicates whether search will seek for results in hidden columns.
Declaration
public bool CanUserSearchInHiddenColumns { get; set; }
Property Value
CanUserSelectColumns
Gets or sets a value that indicates whether the user can select columns.
Declaration
public bool CanUserSelectColumns { get; set; }
Property Value
true if the user can select columns; otherwise, false. The default is false.
CancelPromptRequestCommand
Gets the command that is executed when a cancel prompt request is made.
Declaration
public ICommand CancelPromptRequestCommand { get; }
Property Value
ColumnAggregatesAlignment
Gets or sets a value that indicates the layout mode for column aggregate results.
Declaration
public ColumnAggregatesAlignment ColumnAggregatesAlignment { get; set; }
Property Value
ColumnsSelectionButtonVisibility
Gets or sets a value that indicates whether the ColumnsSelection button is visible.
Declaration
public Visibility ColumnsSelectionButtonVisibility { get; set; }
Property Value
Visibility
ColumnsSelection button visibility.
EnableStickyGroupHeaders
Gets or sets a value that indicates whether group headers will stay on top while scrolling through their items. Requires GroupRenderMode.Flat.
Declaration
public bool EnableStickyGroupHeaders { get; set; }
Property Value
GroupHeaderRowMinHeight
Gets or sets the MinHeight for all GroupHeaderRow elements. Only applicable when the GroupRenderMode is Flat.
Declaration
public double GroupHeaderRowMinHeight { get; set; }
Property Value
The MinHeight of the GroupHeaderRows, in device-independent units. The registered default is double.NaN.
Remarks
When the value is double.NaN, which is the default, the MinHeight of the GroupHeaderRow for the current theme is used. When you set a value for the GroupHeaderRowMinHeight property, it must be equal to or greater than 0.0. Double.PositiveInfinity is not a valid value for this property.
IsAIEnabled
Gets or sets a value indicating whether AI features are enabled for the grid.
PromptRequestCommand
Gets the command that is executed when a prompt request is made.
SearchMode
Gets or sets a value that represents the matching behavior when search operation is executed.
Methods
CreateTableDefinition()
Creates the specific table definition for the DataControl.
Declaration
protected override TableDefinition CreateTableDefinition()
Returns
The newly created TableDefinition.
Overrides
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Overrides
OnCancelPromptRequest()
Raises the CancelPromptRequest event.
Declaration
protected virtual void OnCancelPromptRequest()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnGotFocus(RoutedEventArgs)
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
Overrides
OnHandlePromptRequest(GridViewPromptRequestCommandEventArgs)
Raises the HandlePromptRequest event.
Declaration
protected virtual void OnHandlePromptRequest(GridViewPromptRequestCommandEventArgs context)
Parameters
context
GridViewPromptRequestCommandEventArgs
The prompt request context.
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
Overrides
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
item
Overrides
ResetTheme()
Resets the theme of the RadGridView to change it or to invalidate it.
Declaration
public void ResetTheme()
SelectCellRegion(CellRegion)
Selects specified region of cells.
Declaration
public void SelectCellRegion(CellRegion cellRegion)
Parameters
cellRegion
SelectCellRegion(IEnumerable<CellRegion>)
Selects specified region of cells.
Declaration
public void SelectCellRegion(IEnumerable<CellRegion> cellRegions)
Parameters
cellRegions
UnselectCellRegion(CellRegion)
Deselects specified region of cells.
Declaration
public void UnselectCellRegion(CellRegion cellRegion)
Parameters
cellRegion
UnselectCellRegion(IEnumerable<CellRegion>)
Deselects specified region of cells.
Declaration
public void UnselectCellRegion(IEnumerable<CellRegion> cellRegions)
Parameters
cellRegions
Events
CancelPromptRequest
Occurs when cancellation of an AI prompt request is raised.
Declaration
public event EventHandler CancelPromptRequest
Event Value
HandlePromptRequest
Occurs when an AI prompt request is raised.
Declaration
public event EventHandler<GridViewPromptRequestCommandEventArgs> HandlePromptRequest
Event Value