New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.WebAii.Silverlight.UI

Assembly:ArtOfTest.WebAii.dll

Syntax:

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

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlDataGrid...

Implements: IAutomationPeerIControlIDataGridIFrameworkElementIPeerConverterITargetElement...

Inherited Members Control.IsTabStopPropertyControl.TabIndexPropertyControl.TabNavigationPropertyControl.PaddingPropertyControl.HorizontalContentAlignmentPropertyControl.VerticalContentAlignmentPropertyControl.BackgroundPropertyControl.BorderBrushPropertyControl.BorderThicknessPropertyControl.FontSizePropertyControl.ForegroundPropertyControl.IsEnabledPropertyControl.FontFamilyPropertyControl.FontStretchPropertyControl.FontStylePropertyControl.FontWeightPropertyControl.IsTabStopControl.TabIndexControl.TabNavigationControl.PaddingControl.HorizontalContentAlignmentControl.VerticalContentAlignmentControl.BackgroundControl.BorderBrushControl.BorderThicknessControl.FontSizeControl.ForegroundControl.IsEnabledControl.FontFamilyControl.FontStretchControl.FontStyleControl.FontWeightSilverlightTestElement.UseLayoutRoundingPropertySilverlightTestElement.UseLayoutRoundingFrameworkElement.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.ComputedVisibilityFrameworkElement.IsVisibleFrameworkElement.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 AreRowGroupHeadersFrozenProperty
C#
public static AutomationProperty AutoGenerateColumnsProperty
C#
public static AutomationProperty CanUserReorderColumnsProperty
C#
public static AutomationProperty CanUserResizeColumnsProperty
C#
public static AutomationProperty CanUserSortColumnsProperty
C#
public static AutomationProperty ClipboardCopyModeProperty
C#
public static AutomationProperty ColumnHeaderHeightProperty
C#
public static AutomationProperty ColumnWidthProperty
C#
public static AutomationProperty CurrentColumnProperty
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 IsValidProperty
C#
public static AutomationProperty MaxColumnWidthProperty
C#
public static AutomationProperty MinColumnWidthProperty
C#
public static AutomationProperty RowBackgroundProperty
C#
public static AutomationProperty RowDetailsVisibilityModeProperty
C#
public static AutomationProperty RowHeaderWidthProperty
C#
public static AutomationProperty RowHeightProperty
C#
public static AutomationProperty SelectedIndexProperty
C#
public static AutomationProperty SelectionModeProperty
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 AreRowGroupHeadersFrozen { get; set; }
C#
public bool AutoGenerateColumns { get; set; }
C#
public bool CanUserReorderColumns { get; set; }
C#
public bool CanUserResizeColumns { get; set; }
C#
public bool CanUserSortColumns { 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 DataGridColumn CurrentColumn { 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 bool IsValid { get; set; }
C#
public double MaxColumnWidth { get; set; }
C#
public double MinColumnWidth { 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 RowHeaderWidth { get; set; }
C#
public double RowHeight { get; set; }
C#
public int SelectedIndex { get; set; }
C#
public DataGridSelectionMode SelectionMode { 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: Control.GetRealType()