RadGridView
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
Initializes a new instance of the RadGridView class.
public RadGridView()
Fields
AISettingsProperty
DependencyProperty
Identifies the AISettings dependency property.
public static readonly DependencyProperty AISettingsProperty
CancelPromptRequestCommandProperty
DependencyProperty
Identifies the CancelPromptRequestCommand property.
public static readonly DependencyProperty CancelPromptRequestCommandProperty
CanUserGroupColumnsProperty
DependencyProperty
Identifies the CanUserGroupColumnsProperty dependency property.
public static readonly DependencyProperty CanUserGroupColumnsProperty
CanUserSearchInHiddenColumnsProperty
DependencyProperty
Represents the CanUserSearchInHiddenColumns DependencyProperty.
public static readonly DependencyProperty CanUserSearchInHiddenColumnsProperty
CanUserSearchProperty
DependencyProperty
Identifies the CanUserSearch dependency property.
public static readonly DependencyProperty CanUserSearchProperty
CanUserSelectColumnsProperty
DependencyProperty
Identifies the CanUserSelectColumns dependency property.
public static readonly DependencyProperty CanUserSelectColumnsProperty
ColumnAggregatesAlignmentProperty
DependencyProperty
Represents the ColumnAggregatesAlignment dependency property.
public static readonly DependencyProperty ColumnAggregatesAlignmentProperty
ColumnsSelectionButtonVisibilityProperty
DependencyProperty
Identifies the ColumnsSelectionButtonVisibility dependency property.
public static readonly DependencyProperty ColumnsSelectionButtonVisibilityProperty
EnableStickyGroupHeadersProperty
DependencyProperty
Represents the EnableStickyGroupHeaders DependencyProperty.
public static readonly DependencyProperty EnableStickyGroupHeadersProperty
GroupHeaderRowMinHeightProperty
DependencyProperty
Identifies the GroupHeaderRowMinHeight dependency property.
public static readonly DependencyProperty GroupHeaderRowMinHeightProperty
IsAIEnabledProperty
DependencyProperty
Identifies the IsAIEnabled dependency property.
public static readonly DependencyProperty IsAIEnabledProperty
PromptRequestCommandProperty
DependencyProperty
Identifies the PromptRequestCommand property.
public static readonly DependencyProperty PromptRequestCommandProperty
SearchModeProperty
DependencyProperty
Identifies the SearchMode dependency property.
public static readonly DependencyProperty SearchModeProperty
Properties
Gets or sets the AI configuration settings for the grid.
public GridViewAISettings AISettings { get; set; }
Gets the command that is executed when a cancel prompt request is made.
public ICommand CancelPromptRequestCommand { get; }
Gets or sets a value indicating whether the columns can be grouped.
public bool CanUserGroupColumns { get; set; }
Gets or sets a value that indicates whether the user can open the SearchPanel by using the Ctrl+F combination.
public bool CanUserSearch { get; set; }
Gets or sets a value that indicates whether search will seek for results in hidden columns.
public bool CanUserSearchInHiddenColumns { get; set; }
Gets or sets a value that indicates whether the user can select columns.
public bool CanUserSelectColumns { get; set; }
true if the user can select columns; otherwise, false. The default is false.
Gets or sets a value that indicates the layout mode for column aggregate results.
public ColumnAggregatesAlignment ColumnAggregatesAlignment { get; set; }
ColumnsSelectionButtonVisibility
Visibility
Gets or sets a value that indicates whether the ColumnsSelection button is visible.
public Visibility ColumnsSelectionButtonVisibility { get; set; }
ColumnsSelection button visibility.
Gets or sets a value that indicates whether group headers will stay on top while scrolling through their items. Requires GroupRenderMode.Flat.
public bool EnableStickyGroupHeaders { get; set; }
Gets or sets the MinHeight for all GroupHeaderRow elements. Only applicable when the GroupRenderMode is Flat.
public double GroupHeaderRowMinHeight { get; set; }
The MinHeight of the GroupHeaderRows, in device-independent units. The registered default is double.NaN.
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.
Gets or sets a value indicating whether AI features are enabled for the grid.
public bool IsAIEnabled { get; set; }
Gets the command that is executed when a prompt request is made.
public ICommand PromptRequestCommand { get; }
Gets or sets a value that represents the matching behavior when search operation is executed.
public SearchMode SearchMode { get; set; }
Methods
Creates the specific table definition for the DataControl.
protected override TableDefinition CreateTableDefinition()
The newly created TableDefinition.
Overrides:
public override void OnApplyTemplate()
Overrides:
Raises the CancelPromptRequest event.
protected virtual void OnCancelPromptRequest()
OnCreateAutomationPeer()
AutomationPeer
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
protected override void OnGotFocus(RoutedEventArgs e)
Overrides:
Raises the HandlePromptRequest event.
protected virtual void OnHandlePromptRequest(GridViewPromptRequestCommandEventArgs context)
The prompt request context.
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Overrides:
Resets the theme of the RadGridView to change it or to invalidate it.
public void ResetTheme()
Selects specified region of cells.
Selects specified region of cells.
public void SelectCellRegion(IEnumerable<CellRegion> cellRegions)
Deselects specified region of cells.
Deselects specified region of cells.
public void UnselectCellRegion(IEnumerable<CellRegion> cellRegions)
Events
Occurs when cancellation of an AI prompt request is raised.
public event EventHandler CancelPromptRequest
Occurs when an AI prompt request is raised.
public event EventHandler<GridViewPromptRequestCommandEventArgs> HandlePromptRequest