skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadDataGrid

Inheritance
System.Object
RadControl
RadDataGrid
Inherited Members
RadControl.EndVisualStateUpdate(Boolean, Boolean)
RadControl.UpdateVisualState(Boolean)
RadControl.BeginVisualStateUpdate()
RadControl.SetVisualState(String, Boolean)
RadControl.CanUpdateVisualState()
RadControl.ComposeVisualStateName()
RadControl.MeasureOverride(Size)
RadControl.ArrangeOverride(Size)
RadControl.OnApplyTemplate()
RadControl.OnIsEnabledChanged(Boolean, Boolean)
RadControl.LoadCore()
RadControl.OnLoaded()
RadControl.UnloadCore()
RadControl.CurrentVisualState
RadControl.IsLoaded
RadControl.IsLoading
RadControl.IsUnloaded
RadControl.WasUnloaded
RadControl.IsTemplateApplied
Namespace: Telerik.UI.Xaml.Controls.Grid
Assembly: Telerik.WinUI.Controls.dll

Syntax

public class RadDataGrid : RadControl, IGeneratorsHost, IGridView, IView, IElementPresenter, IUpdateService<UpdateFlags>, ICommandService, ISelectionService, ICurrencyService

Constructors

RadDataGrid()

Declaration
public RadDataGrid()

Fields

AggregateRowBackgroundProperty

Declaration
public static readonly DependencyProperty AggregateRowBackgroundProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

AlternateRowBackgroundProperty

Declaration
public static readonly DependencyProperty AlternateRowBackgroundProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

AlternationStartIndexProperty

Declaration
public static readonly DependencyProperty AlternationStartIndexProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

AlternationStepProperty

Declaration
public static readonly DependencyProperty AlternationStepProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

AutoGenerateColumnsProperty

Declaration
public static readonly DependencyProperty AutoGenerateColumnsProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

CanUserChooseColumnsProperty

Declaration
public static readonly DependencyProperty CanUserChooseColumnsProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ColumnDataOperationsModeProperty

Declaration
public static readonly DependencyProperty ColumnDataOperationsModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ColumnResizeHandleDisplayModeProperty

Declaration
public static readonly DependencyProperty ColumnResizeHandleDisplayModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

CurrentItemProperty

Declaration
public static readonly DependencyProperty CurrentItemProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

DragBehaviorProperty

Declaration
public static readonly DependencyProperty DragBehaviorProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

EnsureCurrentItemIntoViewProperty

Declaration
public static readonly DependencyProperty EnsureCurrentItemIntoViewProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ExternalEditorProperty

Declaration
public static readonly DependencyProperty ExternalEditorProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

FrozenColumnCountProperty

Declaration
public static readonly DependencyProperty FrozenColumnCountProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GridLinesBrushProperty

Declaration
public static readonly DependencyProperty GridLinesBrushProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GridLinesThicknessProperty

Declaration
public static readonly DependencyProperty GridLinesThicknessProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GridLinesVisibilityProperty

Declaration
public static readonly DependencyProperty GridLinesVisibilityProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GroupHeaderDisplayModeProperty

Declaration
public static readonly DependencyProperty GroupHeaderDisplayModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GroupHeaderStyleProperty

Declaration
public static readonly DependencyProperty GroupHeaderStyleProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GroupHeaderStyleSelectorProperty

Declaration
public static readonly DependencyProperty GroupHeaderStyleSelectorProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GroupHeaderTemplateProperty

Declaration
public static readonly DependencyProperty GroupHeaderTemplateProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GroupHeaderTemplateSelectorProperty

Declaration
public static readonly DependencyProperty GroupHeaderTemplateSelectorProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GroupPanelPositionProperty

Declaration
public static readonly DependencyProperty GroupPanelPositionProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

HideFlyoutOnBackButtonPressedProperty

Declaration
public static readonly DependencyProperty HideFlyoutOnBackButtonPressedProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IncrementalLoadingModeProperty

Declaration
public static readonly DependencyProperty IncrementalLoadingModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IndentWidthProperty

Declaration
public static readonly DependencyProperty IndentWidthProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IsBusyIndicatorEnabledProperty

Declaration
public static readonly DependencyProperty IsBusyIndicatorEnabledProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

IsSynchronizedWithCurrentItemProperty

Declaration
public static readonly DependencyProperty IsSynchronizedWithCurrentItemProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ItemsSourceProperty

Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

ListenForNestedPropertyChangeProperty

Declaration
public static readonly DependencyProperty ListenForNestedPropertyChangeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

RealizedItemsBufferScaleProperty

Declaration
public static readonly DependencyProperty RealizedItemsBufferScaleProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

RowBackgroundProperty

Declaration
public static readonly DependencyProperty RowBackgroundProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

RowBackgroundSelectorProperty

Declaration
public static readonly DependencyProperty RowBackgroundSelectorProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

RowDetailsDisplayModeProperty

Declaration
public static readonly DependencyProperty RowDetailsDisplayModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

RowDetailsTemplateProperty

Declaration
public static readonly DependencyProperty RowDetailsTemplateProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

RowHeightProperty

Declaration
public static readonly DependencyProperty RowHeightProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SelectedItemProperty

Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SelectionModeProperty

Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SelectionUnitProperty

Declaration
public static readonly DependencyProperty SelectionUnitProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

UserColumnReorderModeProperty

Declaration
public static readonly DependencyProperty UserColumnReorderModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

UserEditModeProperty

Declaration
public static readonly DependencyProperty UserEditModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

UserFilterModeProperty

Declaration
public static readonly DependencyProperty UserFilterModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

UserGroupModeProperty

Declaration
public static readonly DependencyProperty UserGroupModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

UserSortModeProperty

Declaration
public static readonly DependencyProperty UserSortModeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

Properties

AggregateDescriptors

Declaration
public AggregateDescriptorCollection AggregateDescriptors { get; }
Property Value
AggregateDescriptorCollection

AggregateRowBackground

Declaration
public Brush AggregateRowBackground { get; set; }
Property Value
Microsoft.UI.Xaml.Media.Brush

AlternateRowBackground

Declaration
public Brush AlternateRowBackground { get; set; }
Property Value
Microsoft.UI.Xaml.Media.Brush

AlternationStartIndex

Declaration
public int AlternationStartIndex { get; set; }
Property Value
System.Int32

AlternationStep

Declaration
public int AlternationStep { get; set; }
Property Value
System.Int32

AutoGenerateColumns

Declaration
public bool AutoGenerateColumns { get; set; }
Property Value
System.Boolean

CanUserChooseColumns

Declaration
public bool CanUserChooseColumns { get; set; }
Property Value
System.Boolean

ColumnDataOperationsMode

Declaration
public ColumnDataOperationsMode ColumnDataOperationsMode { get; set; }
Property Value
ColumnDataOperationsMode

ColumnResizeHandleDisplayMode

Declaration
public DataGridColumnResizeHandleDisplayMode ColumnResizeHandleDisplayMode { get; set; }
Property Value
DataGridColumnResizeHandleDisplayMode

Columns

Declaration
public DataGridColumnCollection Columns { get; }
Property Value
DataGridColumnCollection

Commands

Declaration
public CommandCollection<RadDataGrid> Commands { get; }
Property Value
CommandCollection<RadDataGrid>

CommandService

Declaration
public CommandService CommandService { get; }
Property Value
CommandService

CurrentItem

Declaration
public object CurrentItem { get; }
Property Value
System.Object

DragBehavior

Declaration
public DataGridDragBehavior DragBehavior { get; set; }
Property Value
DataGridDragBehavior

EnsureCurrentItemIntoView

Declaration
public bool EnsureCurrentItemIntoView { get; set; }
Property Value
System.Boolean

ExternalEditor

Declaration
public IGridExternalEditor ExternalEditor { get; set; }
Property Value
IGridExternalEditor

FilterDescriptors

Declaration
public FilterDescriptorCollection FilterDescriptors { get; }
Property Value
FilterDescriptorCollection

FrozenColumnCount

Declaration
public int FrozenColumnCount { get; set; }
Property Value
System.Int32

GridLinesBrush

Declaration
public Brush GridLinesBrush { get; set; }
Property Value
Microsoft.UI.Xaml.Media.Brush

GridLinesThickness

Declaration
public double GridLinesThickness { get; set; }
Property Value
System.Double

GridLinesVisibility

Declaration
public GridLinesVisibility GridLinesVisibility { get; set; }
Property Value
GridLinesVisibility

GroupDescriptors

Declaration
public GroupDescriptorCollection GroupDescriptors { get; }
Property Value
GroupDescriptorCollection

GroupHeaderDisplayMode

Declaration
public DataGridGroupHeaderDisplayMode GroupHeaderDisplayMode { get; set; }
Property Value
DataGridGroupHeaderDisplayMode

GroupHeaderStyle

Declaration
public Style GroupHeaderStyle { get; set; }
Property Value
Microsoft.UI.Xaml.Style

GroupHeaderStyleSelector

Declaration
public StyleSelector GroupHeaderStyleSelector { get; set; }
Property Value
Microsoft.UI.Xaml.Controls.StyleSelector

GroupHeaderTemplate

Declaration
public DataTemplate GroupHeaderTemplate { get; set; }
Property Value
Microsoft.UI.Xaml.DataTemplate

GroupHeaderTemplateSelector

Declaration
public DataTemplateSelector GroupHeaderTemplateSelector { get; set; }
Property Value
Microsoft.UI.Xaml.Controls.DataTemplateSelector

GroupPanelPosition

Declaration
public GroupPanelPosition GroupPanelPosition { get; set; }
Property Value
GroupPanelPosition

HideFlyoutOnBackButtonPressed

Declaration
public bool HideFlyoutOnBackButtonPressed { get; set; }
Property Value
System.Boolean

HitTestService

Declaration
public HitTestService HitTestService { get; }
Property Value
HitTestService

IncrementalLoadingMode

Declaration
public BatchLoadingMode IncrementalLoadingMode { get; set; }
Property Value
BatchLoadingMode

IndentWidth

Declaration
public double IndentWidth { get; set; }
Property Value
System.Double

IsBusyIndicatorEnabled

Declaration
public bool IsBusyIndicatorEnabled { get; set; }
Property Value
System.Boolean

IsSynchronizedWithCurrentItem

Declaration
public bool IsSynchronizedWithCurrentItem { get; set; }
Property Value
System.Boolean

ItemsSource

Declaration
public object ItemsSource { get; set; }
Property Value
System.Object

ListenForNestedPropertyChange

Declaration
public bool ListenForNestedPropertyChange { get; set; }
Property Value
System.Boolean

RealizedItemsVerticalBufferScale

Declaration
public double RealizedItemsVerticalBufferScale { get; set; }
Property Value
System.Double

RowBackground

Declaration
public Brush RowBackground { get; set; }
Property Value
Microsoft.UI.Xaml.Media.Brush

RowBackgroundSelector

Declaration
public ObjectSelector<Brush> RowBackgroundSelector { get; set; }
Property Value
ObjectSelector<Microsoft.UI.Xaml.Media.Brush>

RowDetailsDisplayMode

Declaration
public DataGridRowDetailsMode RowDetailsDisplayMode { get; set; }
Property Value
DataGridRowDetailsMode

RowDetailsTemplate

Declaration
public DataTemplate RowDetailsTemplate { get; set; }
Property Value
Microsoft.UI.Xaml.DataTemplate

RowHeight

Declaration
public double RowHeight { get; set; }
Property Value
System.Double

SelectedItem

Declaration
public object SelectedItem { get; set; }
Property Value
System.Object

SelectedItems

Declaration
public BindableCollection<object> SelectedItems { get; }
Property Value
BindableCollection<System.Object>

SelectionMode

Declaration
public DataGridSelectionMode SelectionMode { get; set; }
Property Value
DataGridSelectionMode

SelectionUnit

Declaration
public DataGridSelectionUnit SelectionUnit { get; set; }
Property Value
DataGridSelectionUnit

SortDescriptors

Declaration
public SortDescriptorCollection SortDescriptors { get; }
Property Value
SortDescriptorCollection

UserColumnReorderMode

Declaration
public DataGridUserColumnReorderMode UserColumnReorderMode { get; set; }
Property Value
DataGridUserColumnReorderMode

UserEditMode

Declaration
public DataGridUserEditMode UserEditMode { get; set; }
Property Value
DataGridUserEditMode

UserFilterMode

Declaration
public DataGridUserFilterMode UserFilterMode { get; set; }
Property Value
DataGridUserFilterMode

UserGroupMode

Declaration
public DataGridUserGroupMode UserGroupMode { get; set; }
Property Value
DataGridUserGroupMode

UserSortMode

Declaration
public DataGridUserSortMode UserSortMode { get; set; }
Property Value
DataGridUserSortMode

Methods

ApplyTemplateCore()

Declaration
protected override bool ApplyTemplateCore()
Returns
System.Boolean

Overrides
RadControl.ApplyTemplateCore()

BeginEdit(Object)

Declaration
public bool BeginEdit(object item)
Parameters
System.Object item

Returns
System.Boolean

CancelEdit()

Declaration
public bool CancelEdit()
Returns
System.Boolean

CommitEdit()

Declaration
public bool CommitEdit()
Returns
System.Boolean

DeselectAll()

Declaration
public void DeselectAll()

DeselectCell(DataGridCellInfo)

Declaration
public void DeselectCell(DataGridCellInfo item)
Parameters
DataGridCellInfo item

DeselectItem(Object)

Declaration
public void DeselectItem(object item)
Parameters
System.Object item

GetDataView()

Declaration
public IDataView GetDataView()
Returns
IDataView

HideRowDetailsForItem(Object)

Declaration
public void HideRowDetailsForItem(object item)
Parameters
System.Object item

OnCreateAutomationPeer()

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Microsoft.UI.Xaml.Automation.Peers.AutomationPeer

Overrides
RadControl.OnCreateAutomationPeer()

OnKeyDown(KeyRoutedEventArgs)

Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
Microsoft.UI.Xaml.Input.KeyRoutedEventArgs e

OnTemplateApplied()

Declaration
protected override void OnTemplateApplied()
Overrides
RadControl.OnTemplateApplied()

ScrollColumnIntoView(DataGridColumn)

Declaration
public void ScrollColumnIntoView(DataGridColumn column)
Parameters
DataGridColumn column

ScrollColumnIntoView(DataGridColumn, Action)

Declaration
public void ScrollColumnIntoView(DataGridColumn column, Action scrollCompletedAction)
Parameters
DataGridColumn column

System.Action scrollCompletedAction

ScrollIndexIntoView(Int32)

Declaration
public void ScrollIndexIntoView(int index)
Parameters
System.Int32 index

ScrollIndexIntoView(Int32, Action)

Declaration
public void ScrollIndexIntoView(int index, Action scrollCompletedAction)
Parameters
System.Int32 index

System.Action scrollCompletedAction

ScrollItemIntoView(Object)

Declaration
public void ScrollItemIntoView(object item)
Parameters
System.Object item

ScrollItemIntoView(Object, Action)

Declaration
public void ScrollItemIntoView(object item, Action scrollCompletedAction)
Parameters
System.Object item

System.Action scrollCompletedAction

SelectAll()

Declaration
public void SelectAll()

SelectCell(DataGridCellInfo)

Declaration
public void SelectCell(DataGridCellInfo item)
Parameters
DataGridCellInfo item

SelectItem(Object)

Declaration
public void SelectItem(object item)
Parameters
System.Object item

ShowRowDetailsForItem(Object)

Declaration
public void ShowRowDetailsForItem(object item)
Parameters
System.Object item

UnapplyTemplateCore()

Declaration
protected override void UnapplyTemplateCore()
Overrides
RadControl.UnapplyTemplateCore()

Events

AsyncExportCompleted

Declaration
public event AsyncCompletedEventHandler AsyncExportCompleted
Event Type
System.ComponentModel.AsyncCompletedEventHandler

AsyncExportProgressChanged

Declaration
public event ProgressChangedEventHandler AsyncExportProgressChanged
Event Type
System.ComponentModel.ProgressChangedEventHandler

CurrentItemChanged

Declaration
public event EventHandler CurrentItemChanged
Event Type
System.EventHandler

CurrentItemChanging

Declaration
public event CurrentChangingEventHandler CurrentItemChanging
Event Type
Microsoft.UI.Xaml.Data.CurrentChangingEventHandler

DataBindingComplete

Declaration
public event EventHandler<DataBindingCompleteEventArgs> DataBindingComplete
Event Type
System.EventHandler<DataBindingCompleteEventArgs>

ElementExported

Declaration
public event EventHandler<DataGridElementExportedEventArgs> ElementExported
Event Type
System.EventHandler<DataGridElementExportedEventArgs>

ElementExporting

Declaration
public event EventHandler<DataGridElementExportingEventArgs> ElementExporting
Event Type
System.EventHandler<DataGridElementExportingEventArgs>

SelectionChanged

Declaration
public event EventHandler<DataGridSelectionChangedEventArgs> SelectionChanged
Event Type
System.EventHandler<DataGridSelectionChangedEventArgs>

Explicit Interface Implementations

IElementPresenter.IsVisible

Declaration
bool IElementPresenter.IsVisible { get; }
Returns
System.Boolean

Implements
IElementPresenter.IsVisible

IElementPresenter.MeasureContent(Object, Object)

Declaration
RadSize IElementPresenter.MeasureContent(object owner, object content)
Parameters
System.Object owner

System.Object content

Returns
RadSize

Implements
IElementPresenter.MeasureContent(Object, Object)

IElementPresenter.RefreshNode(Object)

Declaration
void IElementPresenter.RefreshNode(object node)
Parameters
System.Object node

Implements
IElementPresenter.RefreshNode(Object)

IView.ViewportHeight

Declaration
double IView.ViewportHeight { get; }
Returns
System.Double

Implements
IView.ViewportHeight

IView.ViewportWidth

Declaration
double IView.ViewportWidth { get; }
Returns
System.Double

Implements
IView.ViewportWidth

Extension Methods

DataGridExportExtensions.Export(RadDataGrid, Stream, ExportFormat, DataGridExportOptions)
DataGridExportExtensions.ExportAsync(RadDataGrid, Stream, ExportFormat, DataGridExportOptions)
CollectionExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
Support Resources
  • Knowledge Base
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.