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
SilverlightTestElement
Control
DataGrid
Inherited Members
Control.IsTabStopProperty
Control.TabIndexProperty
Control.TabNavigationProperty
Control.PaddingProperty
Control.HorizontalContentAlignmentProperty
Control.VerticalContentAlignmentProperty
Control.BackgroundProperty
Control.BorderBrushProperty
Control.BorderThicknessProperty
Control.FontSizeProperty
Control.ForegroundProperty
Control.IsEnabledProperty
Control.FontFamilyProperty
Control.FontStretchProperty
Control.FontStyleProperty
Control.FontWeightProperty
Control.IsTabStop
Control.TabIndex
Control.TabNavigation
Control.Padding
Control.HorizontalContentAlignment
Control.VerticalContentAlignment
Control.Background
Control.BorderBrush
Control.BorderThickness
Control.FontSize
Control.Foreground
Control.IsEnabled
Control.FontFamily
Control.FontStretch
Control.FontStyle
Control.FontWeight
SilverlightTestElement.UseLayoutRoundingProperty
SilverlightTestElement.UseLayoutRounding
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.ComputedVisibility
FrameworkElement.IsVisible
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.Silverlight.UI
Assembly: ArtOfTest.WebAii.dll

Syntax

public class DataGrid : Control, 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

AreRowGroupHeadersFrozenProperty

Declaration
public static AutomationProperty AreRowGroupHeadersFrozenProperty
Field Value
AutomationProperty

AutoGenerateColumnsProperty

Declaration
public static AutomationProperty AutoGenerateColumnsProperty
Field Value
AutomationProperty

CanUserReorderColumnsProperty

Declaration
public static AutomationProperty CanUserReorderColumnsProperty
Field Value
AutomationProperty

CanUserResizeColumnsProperty

Declaration
public static AutomationProperty CanUserResizeColumnsProperty
Field Value
AutomationProperty

CanUserSortColumnsProperty

Declaration
public static AutomationProperty CanUserSortColumnsProperty
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

CurrentColumnProperty

Declaration
public static AutomationProperty CurrentColumnProperty
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

IsValidProperty

Declaration
public static AutomationProperty IsValidProperty
Field Value
AutomationProperty

MaxColumnWidthProperty

Declaration
public static AutomationProperty MaxColumnWidthProperty
Field Value
AutomationProperty

MinColumnWidthProperty

Declaration
public static AutomationProperty MinColumnWidthProperty
Field Value
AutomationProperty

RowBackgroundProperty

Declaration
public static AutomationProperty RowBackgroundProperty
Field Value
AutomationProperty

RowDetailsVisibilityModeProperty

Declaration
public static AutomationProperty RowDetailsVisibilityModeProperty
Field Value
AutomationProperty

RowHeaderWidthProperty

Declaration
public static AutomationProperty RowHeaderWidthProperty
Field Value
AutomationProperty

RowHeightProperty

Declaration
public static AutomationProperty RowHeightProperty
Field Value
AutomationProperty

SelectedIndexProperty

Declaration
public static AutomationProperty SelectedIndexProperty
Field Value
AutomationProperty

SelectionModeProperty

Declaration
public static AutomationProperty SelectionModeProperty
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

AreRowGroupHeadersFrozen

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

AutoGenerateColumns

Declaration
public bool AutoGenerateColumns { 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

CanUserSortColumns

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

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

CurrentColumn

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

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

IsValid

Declaration
public bool IsValid { 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

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

RowHeaderWidth

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

RowHeight

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

SelectedIndex

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

SelectionMode

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

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
Control.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.