New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.WebAii.Controls.Xaml.Wpf

Assembly:ArtOfTest.WebAii.dll

Syntax:

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

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlItemsControlSelectorMultiSelectorDataGrid...

Implements: IAutomationPeerIControlIDataGridIFrameworkElementIPeerConverterITargetElement...

Inherited Members Selector.IsSynchronizedWithCurrentItemPropertySelector.SelectedIndexPropertySelector.SelectedValuePathPropertySelector.IsSynchronizedWithCurrentItemSelector.SelectedIndexSelector.SelectedValuePathItemsControl.HasItemsPropertyItemsControl.DisplayMemberPathPropertyItemsControl.ItemStringFormatPropertyItemsControl.ItemBindingGroupPropertyItemsControl.IsGroupingPropertyItemsControl.AlternationCountPropertyItemsControl.IsTextSearchEnabledPropertyItemsControl.HasItemsItemsControl.DisplayMemberPathItemsControl.ItemStringFormatItemsControl.ItemBindingGroupItemsControl.IsGroupingItemsControl.AlternationCountItemsControl.IsTextSearchEnabledControl.BorderBrushPropertyControl.BorderThicknessPropertyControl.BackgroundPropertyControl.ForegroundPropertyControl.FontSizePropertyControl.HorizontalContentAlignmentPropertyControl.VerticalContentAlignmentPropertyControl.TabIndexPropertyControl.IsTabStopPropertyControl.PaddingPropertyControl.FontFamilyPropertyControl.FontStretchPropertyControl.FontStylePropertyControl.FontWeightPropertyControl.BorderBrushControl.BorderThicknessControl.BackgroundControl.ForegroundControl.FontSizeControl.HorizontalContentAlignmentControl.VerticalContentAlignmentControl.TabIndexControl.IsTabStopControl.PaddingControl.FontFamilyControl.FontStretchControl.FontStyleControl.FontWeightWpfTestElement.OverridesDefaultStylePropertyWpfTestElement.BindingGroupPropertyWpfTestElement.InputScopePropertyWpfTestElement.LayoutTransformPropertyWpfTestElement.FlowDirectionPropertyWpfTestElement.ForceCursorPropertyWpfTestElement.ContextMenuPropertyWpfTestElement.IsMouseDirectlyOverPropertyWpfTestElement.IsMouseOverPropertyWpfTestElement.IsStylusOverPropertyWpfTestElement.IsKeyboardFocusWithinPropertyWpfTestElement.IsMouseCapturedPropertyWpfTestElement.IsMouseCaptureWithinPropertyWpfTestElement.IsStylusDirectlyOverPropertyWpfTestElement.IsStylusCapturedPropertyWpfTestElement.IsStylusCaptureWithinPropertyWpfTestElement.IsKeyboardFocusedPropertyWpfTestElement.AllowDropPropertyWpfTestElement.ClipToBoundsPropertyWpfTestElement.SnapsToDevicePixelsPropertyWpfTestElement.IsFocusedPropertyWpfTestElement.IsEnabledPropertyWpfTestElement.IsVisiblePropertyWpfTestElement.FocusablePropertyWpfTestElement.OverridesDefaultStyleWpfTestElement.BindingGroupWpfTestElement.InputScopeWpfTestElement.FlowDirectionWpfTestElement.ForceCursorWpfTestElement.ContextMenuWpfTestElement.IsMouseDirectlyOverWpfTestElement.IsMouseOverWpfTestElement.IsStylusOverWpfTestElement.IsKeyboardFocusWithinWpfTestElement.IsMouseCapturedWpfTestElement.IsMouseCaptureWithinWpfTestElement.IsStylusDirectlyOverWpfTestElement.IsStylusCapturedWpfTestElement.IsStylusCaptureWithinWpfTestElement.IsKeyboardFocusedWpfTestElement.AllowDropWpfTestElement.ClipToBoundsWpfTestElement.SnapsToDevicePixelsWpfTestElement.IsFocusedWpfTestElement.IsEnabledWpfTestElement.IsVisibleWpfTestElement.FocusableWpfTestElement.ComputedVisibilityFrameworkElement.ActualWidthPropertyFrameworkElement.ActualHeightPropertyFrameworkElement.WidthPropertyFrameworkElement.HeightPropertyFrameworkElement.MinWidthPropertyFrameworkElement.MaxWidthPropertyFrameworkElement.MinHeightPropertyFrameworkElement.MaxHeightPropertyFrameworkElement.HorizontalAlignmentPropertyFrameworkElement.VerticalAlignmentPropertyFrameworkElement.MarginPropertyFrameworkElement.DesiredSizePropertyFrameworkElement.RenderSizePropertyFrameworkElement.NamePropertyFrameworkElement.TagPropertyFrameworkElement.DataContextPropertyFrameworkElement.OpacityPropertyFrameworkElement.ClipPropertyFrameworkElement.RenderTransformPropertyFrameworkElement.OpacityMaskPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.IsHitTestVisiblePropertyFrameworkElement.VisibilityPropertyFrameworkElement.GetIdentifier(out string, out string)FrameworkElement.IsChild(FrameworkElement)FrameworkElement.GetChildTagIndex(FrameworkElement)FrameworkElement.InitializeMappings(MappingsCollection)FrameworkElement.As<T>()FrameworkElement.CastAs<T>()FrameworkElement.SetProxy(bool)FrameworkElement.SetUid(string)FrameworkElement.SetFindInfo(VisualFindInfo)FrameworkElement.SetXamlTag(string)FrameworkElement.KeyPress(Keys, int, int, int)FrameworkElement.GetRectangle()FrameworkElement.GetRectangle(FrameworkElement)FrameworkElement.GetIntRectangle()FrameworkElement.IsHitTest()FrameworkElement.IsHitTest(bool)FrameworkElement.IsHitTest(FrameworkElement, bool)FrameworkElement.Highlight()FrameworkElement.Highlight(bool)FrameworkElement.Parent()FrameworkElement.Parent<T>()FrameworkElement.Parent(string)FrameworkElement.Parent(string, bool)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(int)FrameworkElement.AddChildNode(ITargetElement)FrameworkElement.SetClosingTag(ITargetElement)FrameworkElement.GetChildren()FrameworkElement.GetParent()FrameworkElement.GetHostParent()FrameworkElement.SetParent(ITargetElement)FrameworkElement.GetUniqueHashCode()FrameworkElement.ToString()FrameworkElement.Capture()FrameworkElement.CaptureImage()FrameworkElement.GetProperty<T>(string)FrameworkElement.GetPropertyTypeSafe(string)FrameworkElement.GetAutomationProperty(string)FrameworkElement.SetProperty(string, object)FrameworkElement.ActualWidthFrameworkElement.ActualHeightFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.MinWidthFrameworkElement.MaxWidthFrameworkElement.MinHeightFrameworkElement.MaxHeightFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.MarginFrameworkElement.DesiredSizeFrameworkElement.RenderSizeFrameworkElement.NameFrameworkElement.OpacityFrameworkElement.ClipFrameworkElement.RenderTransformFrameworkElement.OpacityMaskFrameworkElement.RenderTransformOriginFrameworkElement.IsHitTestVisibleFrameworkElement.VisibilityFrameworkElement.UidFrameworkElement.MappingsFrameworkElement.AutomationIdFrameworkElement.XamlTagBaseFrameworkElement.TextFrameworkElement.TextBlockContentFrameworkElement.TextLiteralContentFrameworkElement.UserFrameworkElement.XamlTagFrameworkElement.WaitFrameworkElement.FindFrameworkElement.ApplicationFrameworkElement.AbsoluteTagIndexFrameworkElement.TagNameIndexFrameworkElement.AbsoluteSiblingTagIndexFrameworkElement.EnableValidateMouseLocationFrameworkElement.ToolTipTextFrameworkElement.ChildrenFrameworkElement.TechnologyTypeFrameworkElement.DepthFrameworkElement.IsTestRegionFrameworkElement.ParsedElementFrameworkElement.HostAutomationObject<FrameworkElement>.GetProperty(AutomationProperty)AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, params object[])AutomationObject<FrameworkElement>.InvokeMethod(string, params object[])AutomationObject<FrameworkElement>.Serialize()AutomationObject<FrameworkElement>.Deserialize(string)AutomationObject<FrameworkElement>.ReferenceAutomationObject<FrameworkElement>.PropertyBag...

Constructors

C#
public DataGrid()

Fields

C#
public static AutomationProperty AlternatingRowBackgroundProperty
C#
public static AutomationProperty AreRowDetailsFrozenProperty
C#
public static AutomationProperty AutoGenerateColumnsProperty
C#
public static AutomationProperty CanUserAddRowsProperty
C#
public static AutomationProperty CanUserDeleteRowsProperty
C#
public static AutomationProperty CanUserReorderColumnsProperty
C#
public static AutomationProperty CanUserResizeColumnsProperty
C#
public static AutomationProperty CanUserResizeRowsProperty
C#
public static AutomationProperty CanUserSortColumnsProperty
C#
public static AutomationProperty CellsPanelHorizontalOffsetProperty
C#
public static AutomationProperty ClipboardCopyModeProperty
C#
public static AutomationProperty ColumnHeaderHeightProperty
C#
public static AutomationProperty ColumnWidthProperty
C#
public static AutomationProperty CurrentCellProperty
C#
public static AutomationProperty CurrentColumnProperty
C#
public static AutomationProperty EnableColumnVirtualizationProperty
C#
public static AutomationProperty EnableRowVirtualizationProperty
C#
public static AutomationProperty FrozenColumnCountProperty
C#
public static AutomationProperty GridLinesVisibilityProperty
C#
public static AutomationProperty HeadersVisibilityProperty
C#
public static AutomationProperty HorizontalGridLinesBrushProperty
C#
public static AutomationProperty HorizontalScrollBarVisibilityProperty
C#
public static AutomationProperty IsReadOnlyProperty
C#
public static AutomationProperty MaxColumnWidthProperty
C#
public static AutomationProperty MinColumnWidthProperty
C#
public static AutomationProperty MinRowHeightProperty
C#
public static AutomationProperty NonFrozenColumnsViewportHorizontalOffsetProperty
C#
public static AutomationProperty RowBackgroundProperty
C#
public static AutomationProperty RowDetailsVisibilityModeProperty
C#
public static AutomationProperty RowHeaderActualWidthProperty
C#
public static AutomationProperty RowHeaderWidthProperty
C#
public static AutomationProperty RowHeightProperty
C#
public static AutomationProperty SelectionModeProperty
C#
public static AutomationProperty SelectionUnitProperty
C#
public static AutomationProperty VerticalGridLinesBrushProperty
C#
public static AutomationProperty VerticalScrollBarVisibilityProperty

Properties

C#
public Brush AlternatingRowBackground { get; set; }
C#
public bool AreRowDetailsFrozen { get; set; }
C#
public bool AutoGenerateColumns { get; set; }
C#
public bool CanUserAddRows { get; set; }
C#
public bool CanUserDeleteRows { get; set; }
C#
public bool CanUserReorderColumns { get; set; }
C#
public bool CanUserResizeColumns { get; set; }
C#
public bool CanUserResizeRows { get; set; }
C#
public bool CanUserSortColumns { get; set; }
C#
public double CellsPanelHorizontalOffset { get; set; }
C#
public DataGridClipboardCopyMode ClipboardCopyMode { get; set; }
C#
public virtual FrameworkElement ColumnHeaderContainer { get; }
C#
public IList<IDataGridColumnHeader> ColumnHeaderElements { get; }

Implements: IDataGrid.ColumnHeaderElements

C#
public double ColumnHeaderHeight { get; set; }
C#
public DataGridLength ColumnWidth { get; set; }
C#
public DataGridCellInfo CurrentCell { get; set; }
C#
public DataGridColumn CurrentColumn { get; set; }
C#
public bool EnableColumnVirtualization { get; set; }
C#
public bool EnableRowVirtualization { get; set; }
C#
public int FrozenColumnCount { get; set; }
C#
public Dictionary<int, string[]> GridData { get; }
C#
public DataGridGridLinesVisibility GridLinesVisibility { get; set; }
C#
public DataGridHeadersVisibility HeadersVisibility { get; set; }
C#
public Brush HorizontalGridLinesBrush { get; set; }
C#
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
C#
public bool IsReadOnly { get; set; }
C#
public double MaxColumnWidth { get; set; }
C#
public double MinColumnWidth { get; set; }
C#
public double MinRowHeight { get; set; }
C#
public double NonFrozenColumnsViewportHorizontalOffset { get; set; }
C#
public Brush RowBackground { get; set; }
C#
public virtual FrameworkElement RowContainer { get; }
C#
public DataGridRowDetailsVisibilityMode RowDetailsVisibilityMode { get; set; }
C#
public IList<IDataGridRow> RowElements { get; }

Implements: IDataGrid.RowElements

C#
public double RowHeaderActualWidth { get; set; }
C#
public double RowHeaderWidth { get; set; }
C#
public double RowHeight { get; set; }
C#
public DataGridSelectionMode SelectionMode { get; set; }
C#
public DataGridSelectionUnit SelectionUnit { get; set; }
C#
public Brush VerticalGridLinesBrush { get; set; }
C#
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }

Methods

C#
public override void AssignReference(AutomationReference reference)
Parameters:referenceAutomationReference

Overrides: FrameworkElement.AssignReference(AutomationReference)

Implements: IFrameworkElement.AssignReference(AutomationReference)

C#
public override string GetRealType()
Returns:

string

Overrides: MultiSelector.GetRealType()

In this article
DefinitionConstructorsDataGrid()FieldsAlternatingRowBackgroundPropertyAreRowDetailsFrozenPropertyAutoGenerateColumnsPropertyCanUserAddRowsPropertyCanUserDeleteRowsPropertyCanUserReorderColumnsPropertyCanUserResizeColumnsPropertyCanUserResizeRowsPropertyCanUserSortColumnsPropertyCellsPanelHorizontalOffsetPropertyClipboardCopyModePropertyColumnHeaderHeightPropertyColumnWidthPropertyCurrentCellPropertyCurrentColumnPropertyEnableColumnVirtualizationPropertyEnableRowVirtualizationPropertyFrozenColumnCountPropertyGridLinesVisibilityPropertyHeadersVisibilityPropertyHorizontalGridLinesBrushPropertyHorizontalScrollBarVisibilityPropertyIsReadOnlyPropertyMaxColumnWidthPropertyMinColumnWidthPropertyMinRowHeightPropertyNonFrozenColumnsViewportHorizontalOffsetPropertyRowBackgroundPropertyRowDetailsVisibilityModePropertyRowHeaderActualWidthPropertyRowHeaderWidthPropertyRowHeightPropertySelectionModePropertySelectionUnitPropertyVerticalGridLinesBrushPropertyVerticalScrollBarVisibilityPropertyPropertiesAlternatingRowBackgroundAreRowDetailsFrozenAutoGenerateColumnsCanUserAddRowsCanUserDeleteRowsCanUserReorderColumnsCanUserResizeColumnsCanUserResizeRowsCanUserSortColumnsCellsPanelHorizontalOffsetClipboardCopyModeColumnHeaderContainerColumnHeaderElementsColumnHeaderHeightColumnWidthCurrentCellCurrentColumnEnableColumnVirtualizationEnableRowVirtualizationFrozenColumnCountGridDataGridLinesVisibilityHeadersVisibilityHorizontalGridLinesBrushHorizontalScrollBarVisibilityIsReadOnlyMaxColumnWidthMinColumnWidthMinRowHeightNonFrozenColumnsViewportHorizontalOffsetRowBackgroundRowContainerRowDetailsVisibilityModeRowElementsRowHeaderActualWidthRowHeaderWidthRowHeightSelectionModeSelectionUnitVerticalGridLinesBrushVerticalScrollBarVisibilityMethodsAssignReference(AutomationReference)GetRealType()
Not finding the help you need?
Contact Support