skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Free Tools
    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
    • Test Studio Trainings
    • Test Studio Consulting
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class DataGrid

Inheritance
System.Object
AutomationObject<FrameworkElement>
FrameworkElement
WpfTestElement
Control
ItemsControl
Selector
MultiSelector
DataGrid
Inherited Members
Selector.IsSynchronizedWithCurrentItemProperty
Selector.SelectedIndexProperty
Selector.SelectedValuePathProperty
Selector.IsSynchronizedWithCurrentItem
Selector.SelectedIndex
Selector.SelectedValuePath
ItemsControl.HasItemsProperty
ItemsControl.DisplayMemberPathProperty
ItemsControl.ItemStringFormatProperty
ItemsControl.ItemBindingGroupProperty
ItemsControl.IsGroupingProperty
ItemsControl.AlternationCountProperty
ItemsControl.IsTextSearchEnabledProperty
ItemsControl.HasItems
ItemsControl.DisplayMemberPath
ItemsControl.ItemStringFormat
ItemsControl.ItemBindingGroup
ItemsControl.IsGrouping
ItemsControl.AlternationCount
ItemsControl.IsTextSearchEnabled
Control.BorderBrushProperty
Control.BorderThicknessProperty
Control.BackgroundProperty
Control.ForegroundProperty
Control.FontSizeProperty
Control.HorizontalContentAlignmentProperty
Control.VerticalContentAlignmentProperty
Control.TabIndexProperty
Control.IsTabStopProperty
Control.PaddingProperty
Control.FontFamilyProperty
Control.FontStretchProperty
Control.FontStyleProperty
Control.FontWeightProperty
Control.BorderBrush
Control.BorderThickness
Control.Background
Control.Foreground
Control.FontSize
Control.HorizontalContentAlignment
Control.VerticalContentAlignment
Control.TabIndex
Control.IsTabStop
Control.Padding
Control.FontFamily
Control.FontStretch
Control.FontStyle
Control.FontWeight
WpfTestElement.OverridesDefaultStyleProperty
WpfTestElement.BindingGroupProperty
WpfTestElement.InputScopeProperty
WpfTestElement.LayoutTransformProperty
WpfTestElement.FlowDirectionProperty
WpfTestElement.ForceCursorProperty
WpfTestElement.ContextMenuProperty
WpfTestElement.IsMouseDirectlyOverProperty
WpfTestElement.IsMouseOverProperty
WpfTestElement.IsStylusOverProperty
WpfTestElement.IsKeyboardFocusWithinProperty
WpfTestElement.IsMouseCapturedProperty
WpfTestElement.IsMouseCaptureWithinProperty
WpfTestElement.IsStylusDirectlyOverProperty
WpfTestElement.IsStylusCapturedProperty
WpfTestElement.IsStylusCaptureWithinProperty
WpfTestElement.IsKeyboardFocusedProperty
WpfTestElement.AllowDropProperty
WpfTestElement.ClipToBoundsProperty
WpfTestElement.SnapsToDevicePixelsProperty
WpfTestElement.IsFocusedProperty
WpfTestElement.IsEnabledProperty
WpfTestElement.IsVisibleProperty
WpfTestElement.FocusableProperty
WpfTestElement.OverridesDefaultStyle
WpfTestElement.BindingGroup
WpfTestElement.InputScope
WpfTestElement.FlowDirection
WpfTestElement.ForceCursor
WpfTestElement.ContextMenu
WpfTestElement.IsMouseDirectlyOver
WpfTestElement.IsMouseOver
WpfTestElement.IsStylusOver
WpfTestElement.IsKeyboardFocusWithin
WpfTestElement.IsMouseCaptured
WpfTestElement.IsMouseCaptureWithin
WpfTestElement.IsStylusDirectlyOver
WpfTestElement.IsStylusCaptured
WpfTestElement.IsStylusCaptureWithin
WpfTestElement.IsKeyboardFocused
WpfTestElement.AllowDrop
WpfTestElement.ClipToBounds
WpfTestElement.SnapsToDevicePixels
WpfTestElement.IsFocused
WpfTestElement.IsEnabled
WpfTestElement.IsVisible
WpfTestElement.Focusable
WpfTestElement.ComputedVisibility
FrameworkElement.ActualWidthProperty
FrameworkElement.ActualHeightProperty
FrameworkElement.WidthProperty
FrameworkElement.HeightProperty
FrameworkElement.MinWidthProperty
FrameworkElement.MaxWidthProperty
FrameworkElement.MinHeightProperty
FrameworkElement.MaxHeightProperty
FrameworkElement.HorizontalAlignmentProperty
FrameworkElement.VerticalAlignmentProperty
FrameworkElement.MarginProperty
FrameworkElement.DesiredSizeProperty
FrameworkElement.RenderSizeProperty
FrameworkElement.NameProperty
FrameworkElement.TagProperty
FrameworkElement.DataContextProperty
FrameworkElement.OpacityProperty
FrameworkElement.ClipProperty
FrameworkElement.RenderTransformProperty
FrameworkElement.OpacityMaskProperty
FrameworkElement.RenderTransformOriginProperty
FrameworkElement.IsHitTestVisibleProperty
FrameworkElement.VisibilityProperty
FrameworkElement.GetIdentifier(String, String)
FrameworkElement.IsChild(FrameworkElement)
FrameworkElement.GetChildTagIndex(FrameworkElement)
FrameworkElement.InitializeMappings(MappingsCollection)
FrameworkElement.As<T>()
FrameworkElement.CastAs<T>()
FrameworkElement.SetProxy(Boolean)
FrameworkElement.SetUid(String)
FrameworkElement.SetFindInfo(VisualFindInfo)
FrameworkElement.SetXamlTag(String)
FrameworkElement.KeyPress(Keys, Int32, Int32, Int32)
FrameworkElement.GetRectangle()
FrameworkElement.GetRectangle(FrameworkElement)
FrameworkElement.GetIntRectangle()
FrameworkElement.IsHitTest()
FrameworkElement.IsHitTest(Boolean)
FrameworkElement.IsHitTest(FrameworkElement, Boolean)
FrameworkElement.Highlight()
FrameworkElement.Highlight(Boolean)
FrameworkElement.Parent()
FrameworkElement.Parent<T>()
FrameworkElement.Parent(String)
FrameworkElement.Parent(String, Boolean)
FrameworkElement.GetNextSibling()
FrameworkElement.GetPrevSibling()
FrameworkElement.NextSibling(String)
FrameworkElement.NextSibling<T>()
FrameworkElement.PreviousSibling(String)
FrameworkElement.PreviousSibling<T>()
FrameworkElement.AnySibling<T>()
FrameworkElement.AnySibling(String)
FrameworkElement.GetScreenRectangle()
FrameworkElement.ScrollToVisible()
FrameworkElement.ScrollToVisible(ScrollToVisibleType)
FrameworkElement.EnsureClickable()
FrameworkElement.ToXml()
FrameworkElement.Refresh()
FrameworkElement.Equals(Object)
FrameworkElement.GetHashCode()
FrameworkElement.GetProperties()
FrameworkElement.GetAttachedProperty<T>(String, String)
FrameworkElement.SetAttachedProperty<T>(String, String, T)
FrameworkElement.SetFocus()
FrameworkElement.ValidateMouseLocationIfNeeded(Point)
FrameworkElement.GetStringPresentation()
FrameworkElement.ToRealObject()
FrameworkElement.FromRealObject(Object)
FrameworkElement.ValidateType(Type, String)
FrameworkElement.GetKnownControlTypes(TechnologyType)
FrameworkElement.RegisterElement(Type, String)
FrameworkElement.InitKnownWpfControlTypes()
FrameworkElement.InitKnownSilverlightControlTypes()
FrameworkElement.InitKnownXamlControlTypes(Type)
FrameworkElement.GetControlTypeFromInterface(Type)
FrameworkElement.Match(IFindExpression)
FrameworkElement.SetDepth(Int32)
FrameworkElement.AddChildNode(ITargetElement)
FrameworkElement.SetClosingTag(ITargetElement)
FrameworkElement.GetChildren()
FrameworkElement.GetParent()
FrameworkElement.GetHostParent()
FrameworkElement.SetParent(ITargetElement)
FrameworkElement.GetUniqueHashCode()
FrameworkElement.ITargetElement.GetRectangle()
FrameworkElement.ToString()
FrameworkElement.Capture()
FrameworkElement.CaptureImage()
FrameworkElement.GetProperty<T>(String)
FrameworkElement.GetPropertyTypeSafe(String)
FrameworkElement.GetAutomationProperty(String)
FrameworkElement.SetProperty(String, Object)
FrameworkElement.ActualWidth
FrameworkElement.ActualHeight
FrameworkElement.Width
FrameworkElement.Height
FrameworkElement.MinWidth
FrameworkElement.MaxWidth
FrameworkElement.MinHeight
FrameworkElement.MaxHeight
FrameworkElement.HorizontalAlignment
FrameworkElement.VerticalAlignment
FrameworkElement.Margin
FrameworkElement.DesiredSize
FrameworkElement.RenderSize
FrameworkElement.Name
FrameworkElement.Opacity
FrameworkElement.Clip
FrameworkElement.RenderTransform
FrameworkElement.OpacityMask
FrameworkElement.RenderTransformOrigin
FrameworkElement.IsHitTestVisible
FrameworkElement.Visibility
FrameworkElement.Uid
FrameworkElement.Mappings
FrameworkElement.AutomationId
FrameworkElement.XamlTagBase
FrameworkElement.Text
FrameworkElement.TextBlockContent
FrameworkElement.TextLiteralContent
FrameworkElement.User
FrameworkElement.XamlTag
FrameworkElement.Wait
FrameworkElement.Find
FrameworkElement.Application
FrameworkElement.AbsoluteTagIndex
FrameworkElement.TagNameIndex
FrameworkElement.AbsoluteSiblingTagIndex
FrameworkElement.EnableValidateMouseLocation
FrameworkElement.ToolTipText
FrameworkElement.Children
FrameworkElement.TechnologyType
FrameworkElement.Depth
FrameworkElement.IsTestRegion
FrameworkElement.ParsedElement
FrameworkElement.Host
AutomationObject<FrameworkElement>.GetProperty(AutomationProperty)
AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, Object)
AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, Object)
AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, Object[])
AutomationObject<FrameworkElement>.InvokeMethod(String, Object[])
AutomationObject<FrameworkElement>.Serialize()
AutomationObject<FrameworkElement>.Deserialize(String)
AutomationObject<FrameworkElement>.Reference
AutomationObject<FrameworkElement>.PropertyBag
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Controls.Xaml.Wpf
Assembly: ArtOfTest.WebAii.dll

Syntax

public class DataGrid : MultiSelector, IAutomationPeer, IPeerConverter, IDataGrid, IControl, IFrameworkElement, ITargetElement

Constructors

DataGrid()

Declaration
public DataGrid()

Fields

AlternatingRowBackgroundProperty

Declaration
public static AutomationProperty AlternatingRowBackgroundProperty
Field Value
AutomationProperty

AreRowDetailsFrozenProperty

Declaration
public static AutomationProperty AreRowDetailsFrozenProperty
Field Value
AutomationProperty

AutoGenerateColumnsProperty

Declaration
public static AutomationProperty AutoGenerateColumnsProperty
Field Value
AutomationProperty

CanUserAddRowsProperty

Declaration
public static AutomationProperty CanUserAddRowsProperty
Field Value
AutomationProperty

CanUserDeleteRowsProperty

Declaration
public static AutomationProperty CanUserDeleteRowsProperty
Field Value
AutomationProperty

CanUserReorderColumnsProperty

Declaration
public static AutomationProperty CanUserReorderColumnsProperty
Field Value
AutomationProperty

CanUserResizeColumnsProperty

Declaration
public static AutomationProperty CanUserResizeColumnsProperty
Field Value
AutomationProperty

CanUserResizeRowsProperty

Declaration
public static AutomationProperty CanUserResizeRowsProperty
Field Value
AutomationProperty

CanUserSortColumnsProperty

Declaration
public static AutomationProperty CanUserSortColumnsProperty
Field Value
AutomationProperty

CellsPanelHorizontalOffsetProperty

Declaration
public static AutomationProperty CellsPanelHorizontalOffsetProperty
Field Value
AutomationProperty

ClipboardCopyModeProperty

Declaration
public static AutomationProperty ClipboardCopyModeProperty
Field Value
AutomationProperty

ColumnHeaderHeightProperty

Declaration
public static AutomationProperty ColumnHeaderHeightProperty
Field Value
AutomationProperty

ColumnWidthProperty

Declaration
public static AutomationProperty ColumnWidthProperty
Field Value
AutomationProperty

CurrentCellProperty

Declaration
public static AutomationProperty CurrentCellProperty
Field Value
AutomationProperty

CurrentColumnProperty

Declaration
public static AutomationProperty CurrentColumnProperty
Field Value
AutomationProperty

EnableColumnVirtualizationProperty

Declaration
public static AutomationProperty EnableColumnVirtualizationProperty
Field Value
AutomationProperty

EnableRowVirtualizationProperty

Declaration
public static AutomationProperty EnableRowVirtualizationProperty
Field Value
AutomationProperty

FrozenColumnCountProperty

Declaration
public static AutomationProperty FrozenColumnCountProperty
Field Value
AutomationProperty

GridLinesVisibilityProperty

Declaration
public static AutomationProperty GridLinesVisibilityProperty
Field Value
AutomationProperty

HeadersVisibilityProperty

Declaration
public static AutomationProperty HeadersVisibilityProperty
Field Value
AutomationProperty

HorizontalGridLinesBrushProperty

Declaration
public static AutomationProperty HorizontalGridLinesBrushProperty
Field Value
AutomationProperty

HorizontalScrollBarVisibilityProperty

Declaration
public static AutomationProperty HorizontalScrollBarVisibilityProperty
Field Value
AutomationProperty

IsReadOnlyProperty

Declaration
public static AutomationProperty IsReadOnlyProperty
Field Value
AutomationProperty

MaxColumnWidthProperty

Declaration
public static AutomationProperty MaxColumnWidthProperty
Field Value
AutomationProperty

MinColumnWidthProperty

Declaration
public static AutomationProperty MinColumnWidthProperty
Field Value
AutomationProperty

MinRowHeightProperty

Declaration
public static AutomationProperty MinRowHeightProperty
Field Value
AutomationProperty

NonFrozenColumnsViewportHorizontalOffsetProperty

Declaration
public static AutomationProperty NonFrozenColumnsViewportHorizontalOffsetProperty
Field Value
AutomationProperty

RowBackgroundProperty

Declaration
public static AutomationProperty RowBackgroundProperty
Field Value
AutomationProperty

RowDetailsVisibilityModeProperty

Declaration
public static AutomationProperty RowDetailsVisibilityModeProperty
Field Value
AutomationProperty

RowHeaderActualWidthProperty

Declaration
public static AutomationProperty RowHeaderActualWidthProperty
Field Value
AutomationProperty

RowHeaderWidthProperty

Declaration
public static AutomationProperty RowHeaderWidthProperty
Field Value
AutomationProperty

RowHeightProperty

Declaration
public static AutomationProperty RowHeightProperty
Field Value
AutomationProperty

SelectionModeProperty

Declaration
public static AutomationProperty SelectionModeProperty
Field Value
AutomationProperty

SelectionUnitProperty

Declaration
public static AutomationProperty SelectionUnitProperty
Field Value
AutomationProperty

VerticalGridLinesBrushProperty

Declaration
public static AutomationProperty VerticalGridLinesBrushProperty
Field Value
AutomationProperty

VerticalScrollBarVisibilityProperty

Declaration
public static AutomationProperty VerticalScrollBarVisibilityProperty
Field Value
AutomationProperty

Properties

AlternatingRowBackground

Declaration
public Brush AlternatingRowBackground { get; set; }
Property Value
Brush

AreRowDetailsFrozen

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

AutoGenerateColumns

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

CanUserAddRows

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

CanUserDeleteRows

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

CanUserReorderColumns

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

CanUserResizeColumns

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

CanUserResizeRows

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

CanUserSortColumns

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

CellsPanelHorizontalOffset

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

ClipboardCopyMode

Declaration
public DataGridClipboardCopyMode ClipboardCopyMode { get; set; }
Property Value
DataGridClipboardCopyMode

ColumnHeaderContainer

Declaration
public virtual FrameworkElement ColumnHeaderContainer { get; }
Property Value
FrameworkElement

ColumnHeaderElements

Declaration
public IList<IDataGridColumnHeader> ColumnHeaderElements { get; }
Property Value
System.Collections.Generic.IList<IDataGridColumnHeader>

Implements
IDataGrid.ColumnHeaderElements

ColumnHeaderHeight

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

ColumnWidth

Declaration
public DataGridLength ColumnWidth { get; set; }
Property Value
DataGridLength

CurrentCell

Declaration
public DataGridCellInfo CurrentCell { get; set; }
Property Value
DataGridCellInfo

CurrentColumn

Declaration
public DataGridColumn CurrentColumn { get; set; }
Property Value
DataGridColumn

EnableColumnVirtualization

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

EnableRowVirtualization

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

FrozenColumnCount

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

GridData

Declaration
public Dictionary<int, string[]> GridData { get; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, System.String[]>

GridLinesVisibility

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

HeadersVisibility

Declaration
public DataGridHeadersVisibility HeadersVisibility { get; set; }
Property Value
DataGridHeadersVisibility

HorizontalGridLinesBrush

Declaration
public Brush HorizontalGridLinesBrush { get; set; }
Property Value
Brush

HorizontalScrollBarVisibility

Declaration
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
Property Value
ScrollBarVisibility

IsReadOnly

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

MaxColumnWidth

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

MinColumnWidth

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

MinRowHeight

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

NonFrozenColumnsViewportHorizontalOffset

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

RowBackground

Declaration
public Brush RowBackground { get; set; }
Property Value
Brush

RowContainer

Declaration
public virtual FrameworkElement RowContainer { get; }
Property Value
FrameworkElement

RowDetailsVisibilityMode

Declaration
public DataGridRowDetailsVisibilityMode RowDetailsVisibilityMode { get; set; }
Property Value
DataGridRowDetailsVisibilityMode

RowElements

Declaration
public IList<IDataGridRow> RowElements { get; }
Property Value
System.Collections.Generic.IList<IDataGridRow>

Implements
IDataGrid.RowElements

RowHeaderActualWidth

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

RowHeaderWidth

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

RowHeight

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

SelectionMode

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

SelectionUnit

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

VerticalGridLinesBrush

Declaration
public Brush VerticalGridLinesBrush { get; set; }
Property Value
Brush

VerticalScrollBarVisibility

Declaration
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
ScrollBarVisibility

Methods

AssignReference(AutomationReference)

Declaration
public override void AssignReference(AutomationReference reference)
Parameters
AutomationReference reference

Overrides
FrameworkElement.AssignReference(AutomationReference)
Implements
IFrameworkElement.AssignReference(AutomationReference)

GetRealType()

Declaration
public override string GetRealType()
Returns
System.String

Overrides
MultiSelector.GetRealType()
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • 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.