Class
GridTableElement

Represents the main table element in a grid view that handles displaying rows and columns of data. This element is responsible for rendering the table structure, managing scrolling, and handling row and cell interactions.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridTableElement : ScrollViewElement<RowsContainerElement>, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IRowView, IGridView, IGridViewEventListener

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementScrollViewElement<RowsContainerElement>GridTableElement

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIGridViewIGridViewEventListenerIImageElementINotifyPropertyChangedIPrimitiveElementIRowViewIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider

Inherited Members ScrollViewElement<RowsContainerElement>.CreateScrollBarElement()ScrollViewElement<RowsContainerElement>.CreateViewElement()ScrollViewElement<RowsContainerElement>.InitializeViewElement(RowsContainerElement)ScrollViewElement<RowsContainerElement>.MeasureView(SizeF)ScrollViewElement<RowsContainerElement>.MeasureViewElement(SizeF)ScrollViewElement<RowsContainerElement>.ArrangeOverride(SizeF)ScrollViewElement<RowsContainerElement>.ArrangeViewElement(RectangleF)ScrollViewElement<RowsContainerElement>.ArrangeHScrollBar(ref RectangleF, RectangleF)ScrollViewElement<RowsContainerElement>.HScrollBarScrollViewElement<RowsContainerElement>.VScrollBarScrollViewElement<RowsContainerElement>.ViewElementLightVisualElement.BackgroundImagePropertyLightVisualElement.BackgroundImageLayoutPropertyLightVisualElement.BackColor2PropertyLightVisualElement.BackColor3PropertyLightVisualElement.BackColor4PropertyLightVisualElement.BorderBottomColorPropertyLightVisualElement.BorderBottomShadowColorPropertyLightVisualElement.BorderBottomWidthPropertyLightVisualElement.BorderBoxStylePropertyLightVisualElement.BorderColorPropertyLightVisualElement.BorderColor2PropertyLightVisualElement.BorderColor3PropertyLightVisualElement.BorderColor4PropertyLightVisualElement.BorderDashStylePropertyLightVisualElement.BorderDashPatternPropertyLightVisualElement.BorderDrawModePropertyLightVisualElement.BorderGradientAnglePropertyLightVisualElement.BorderGradientStylePropertyLightVisualElement.BorderInnerColorPropertyLightVisualElement.BorderInnerColor2PropertyLightVisualElement.BorderInnerColor3PropertyLightVisualElement.BorderInnerColor4PropertyLightVisualElement.BorderLeftColorPropertyLightVisualElement.BorderLeftShadowColorPropertyLightVisualElement.BorderLeftWidthPropertyLightVisualElement.BorderRightColorPropertyLightVisualElement.BorderRightShadowColorPropertyLightVisualElement.BorderRightWidthPropertyLightVisualElement.BorderTopColorPropertyLightVisualElement.BorderTopShadowColorPropertyLightVisualElement.BorderTopWidthPropertyLightVisualElement.BorderWidthPropertyLightVisualElement.ClipTextPropertyLightVisualElement.DisabledTextRenderingHintPropertyLightVisualElement.DrawBorderPropertyLightVisualElement.DrawFillPropertyLightVisualElement.DrawTextPropertyLightVisualElement.DrawBackgroundImagePropertyLightVisualElement.DrawImagePropertyLightVisualElement.EnableImageTransparencyPropertyLightVisualElement.GradientAnglePropertyLightVisualElement.GradientPercentagePropertyLightVisualElement.GradientPercentage2PropertyLightVisualElement.GradientStylePropertyLightVisualElement.HorizontalLineColorPropertyLightVisualElement.HorizontalLineWidthPropertyLightVisualElement.ImageAlignmentPropertyLightVisualElement.ImageIndexPropertyLightVisualElement.ImageKeyPropertyLightVisualElement.ImageLayoutPropertyLightVisualElement.ImageOpacityPropertyLightVisualElement.ImagePropertyLightVisualElement.ImageTransparentColorPropertyLightVisualElement.NumberOfColorsPropertyLightVisualElement.ShowHorizontalLinePropertyLightVisualElement.SvgImagePropertyLightVisualElement.TextAlignmentPropertyLightVisualElement.TextImageRelationPropertyLightVisualElement.TextWrapPropertyLightVisualElement.TextRenderingHintPropertyLightVisualElement.GetBorderThickness(LightVisualElement, bool)LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)LightVisualElement.GetImageDrawTypeLocalValue()LightVisualElement.MapStyleProperty(RadProperty, string)LightVisualElement.GetStylablePropertiesFilter()LightVisualElement.GetPaintingBorderWidth()LightVisualElement.OnBitStateChanged(long, bool, bool)LightVisualElement.GetAsBitmapEx(Color, float, SizeF)LightVisualElement.GetClipRect()LightVisualElement.PaintElement(IGraphics, float, SizeF)LightVisualElement.PaintText(IGraphics)LightVisualElement.PaintTextCore(IGraphics)LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)LightVisualElement.DrawHorizontalLine(IGraphics)LightVisualElement.PaintImage(IGraphics)LightVisualElement.PaintSvgImage(IGraphics)LightVisualElement.PaintBackgroundImage(IGraphics)LightVisualElement.PaintContent(IGraphics)LightVisualElement.AnimateImage(Image, bool)LightVisualElement.ClipImage(Image, Rectangle, Size)LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)LightVisualElement.MeasureElements(SizeF, SizeF, Padding)LightVisualElement.ArrangeElement(RadElement, SizeF)LightVisualElement.GetClientOffset(bool)LightVisualElement.GetBorderThickness(bool)LightVisualElement.GetClientRectangle(bool, SizeF)LightVisualElement.GetClientRectangle(SizeF)LightVisualElement.GetTextAlignment(ContentAlignment)LightVisualElement.GetTextAlignment()LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)LightVisualElement.ToggleTextPrimitive(RadProperty)LightVisualElement.OnAnimatedImageFrameChanged()LightVisualElement.OnMouseMove(MouseEventArgs)LightVisualElement.GetFaceRectangle()LightVisualElement.CreateTextParams()LightVisualElement.PaintPrimitive(IGraphics, float, SizeF, TextParams)LightVisualElement.PaintPrimitive(IGraphics, TextParams)LightVisualElement.MeasureOverride(SizeF, TextParams)LightVisualElement.OnMouseMove(object, MouseEventArgs)LightVisualElement.GetTextSize(SizeF, TextParams)LightVisualElement.GetTextSize(TextParams)LightVisualElement.TextRenderingHintLightVisualElement.DisabledTextRenderingHintLightVisualElement.ShouldPaintLightVisualElement.CanFocusLightVisualElement.DrawTextLightVisualElement.DrawFillLightVisualElement.DrawBorderLightVisualElement.DrawBackgroundImageLightVisualElement.DrawImageLightVisualElement.BorderBoxStyleLightVisualElement.BorderDrawModeLightVisualElement.BorderWidthLightVisualElement.BorderLeftWidthLightVisualElement.BorderTopWidthLightVisualElement.BorderRightWidthLightVisualElement.BorderBottomWidthLightVisualElement.BorderGradientAngleLightVisualElement.BorderGradientStyleLightVisualElement.BorderColorLightVisualElement.BorderColor2LightVisualElement.BorderColor3LightVisualElement.BorderColor4LightVisualElement.BorderInnerColorLightVisualElement.BorderInnerColor2LightVisualElement.BorderInnerColor3LightVisualElement.BorderInnerColor4LightVisualElement.BackColor2LightVisualElement.BackColor3LightVisualElement.BackColor4LightVisualElement.NumberOfColorsLightVisualElement.GradientStyleLightVisualElement.GradientAngleLightVisualElement.GradientPercentageLightVisualElement.GradientPercentage2LightVisualElement.BackgroundImageLightVisualElement.ImageLightVisualElement.ImageIndexLightVisualElement.ImageKeyLightVisualElement.ImageLayoutLightVisualElement.BackgroundImageLayoutLightVisualElement.ImageOpacityLightVisualElement.DisabledImageOpacityLightVisualElement.TextAlignmentLightVisualElement.ImageAlignmentLightVisualElement.TextImageRelationLightVisualElement.ShowHorizontalLineLightVisualElement.HorizontalLineColorLightVisualElement.HorizontalLineWidthLightVisualElement.DisableHTMLRenderingLightVisualElement.BorderLeftColorLightVisualElement.BorderTopColorLightVisualElement.BorderRightColorLightVisualElement.BorderBottomColorLightVisualElement.BorderLeftShadowColorLightVisualElement.BorderTopShadowColorLightVisualElement.BorderRightShadowColorLightVisualElement.BorderBottomShadowColorLightVisualElement.ClipTextLightVisualElement.LayoutLightVisualElement.ImageTransparentColorLightVisualElement.BorderDashStyleLightVisualElement.BorderDashPatternLightVisualElement.EnableImageTransparencyLightVisualElement.SvgImageLightVisualElement.ImageDrawTypeLightVisualElement.AutoEllipsisLightVisualElement.UseMnemonicLightVisualElement.TextWrapLightVisualElement.ShowKeyboardCuesLightVisualElement.MeasureTrailingSpacesLightVisualElement.TextParamsUIItemBase.PaintFill(IGraphics, float, SizeF)UIItemBase.GetFillPaintRect(float, SizeF)UIItemBase.PaintFill(IGraphics, float, SizeF, RectangleF)UIItemBase.PaintBorder(IGraphics, float, SizeF)UIItemBase.PaintBorder(IGraphics, float, SizeF, RectangleF)UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)UIItemBase.GetBorderPaintRect(float, SizeF)UIItemBase.ShouldUsePaintBuffer()RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyDown(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.OnKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.OnMouseDown(MouseEventArgs)RadItem.OnMouseUp(MouseEventArgs)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

GridTableElement()

Initializes a new instance of the GridTableElement class.

Declaration

cs-api-definition
public GridTableElement()

Fields

AlternatingRowColorProperty

Identifies the AlternatingRowColor dependency property.

Declaration

cs-api-definition
public static RadProperty AlternatingRowColorProperty

Field Value

RadProperty

CellSpacingProperty

Identifies the CellSpacing dependency property.

Declaration

cs-api-definition
public static RadProperty CellSpacingProperty

Field Value

RadProperty

ChildRowHeightProperty

Identifies the ChildRowHeight dependency property.

Declaration

cs-api-definition
public static RadProperty ChildRowHeightProperty

Field Value

RadProperty

ColumnDragHintProperty

Identifies the ColumnDragHint dependency property.

Declaration

cs-api-definition
public static RadProperty ColumnDragHintProperty

Field Value

RadProperty

CurrentRowHeaderImageProperty

Identifies the CurrentRowHeaderImage dependency property.

Declaration

cs-api-definition
public static RadProperty CurrentRowHeaderImageProperty

Field Value

RadProperty

EditRowHeaderImageProperty

Identifies the EditRowHeaderImage dependency property.

Declaration

cs-api-definition
public static RadProperty EditRowHeaderImageProperty

Field Value

RadProperty

EnableHotTrackingProperty

Identifies the EnableHotTracking dependency property.

Declaration

cs-api-definition
public static RadProperty EnableHotTrackingProperty

Field Value

RadProperty

ErrorRowHeaderImageProperty

Identifies the ErrorRowHeaderImage dependency property.

Declaration

cs-api-definition
public static RadProperty ErrorRowHeaderImageProperty

Field Value

RadProperty

ExtendVerticalScrollBarProperty

Identifies the ExtendVerticalScrollBar dependency property.

Declaration

cs-api-definition
public static RadProperty ExtendVerticalScrollBarProperty

Field Value

RadProperty

FilterRowHeightProperty

Identifies the FilterRowHeight dependency property.

Declaration

cs-api-definition
public static RadProperty FilterRowHeightProperty

Field Value

RadProperty

GroupHeaderHeightProperty

Identifies the GroupHeaderHeight dependency property.

Declaration

cs-api-definition
public static RadProperty GroupHeaderHeightProperty

Field Value

RadProperty

GroupIndentProperty

Identifies the GroupIndent dependency property.

Declaration

cs-api-definition
public static RadProperty GroupIndentProperty

Field Value

RadProperty

HasColumnHeadersProperty

Identifies the HasColumnHeaders dependency property.

Declaration

cs-api-definition
public static RadProperty HasColumnHeadersProperty

Field Value

RadProperty

MenuThemeNameProperty

Identifies the MenuThemeName dependency property.

Declaration

cs-api-definition
public static RadProperty MenuThemeNameProperty

Field Value

RadProperty

NewRowHeaderImageProperty

Identifies the NewRowHeaderImage dependency property.

Declaration

cs-api-definition
public static RadProperty NewRowHeaderImageProperty

Field Value

RadProperty

RowDragHintProperty

Identifies the RowDragHint dependency property.

Declaration

cs-api-definition
public static RadProperty RowDragHintProperty

Field Value

RadProperty

RowHeaderColumnWidthProperty

Identifies the RowHeaderColumnWidth dependency property.

Declaration

cs-api-definition
public static RadProperty RowHeaderColumnWidthProperty

Field Value

RadProperty

RowHeightProperty

Identifies the RowHeight dependency property.

Declaration

cs-api-definition
public static RadProperty RowHeightProperty

Field Value

RadProperty

RowSpacingProperty

Identifies the RowSpacing dependency property.

Declaration

cs-api-definition
public static RadProperty RowSpacingProperty

Field Value

RadProperty

ScrollBarThemeNameProperty

Identifies the ScrollBarThemeName dependency property.

Declaration

cs-api-definition
public static RadProperty ScrollBarThemeNameProperty

Field Value

RadProperty

SearchHighlightColorProperty

Identifies the SearchHighlightColor dependency property.

Declaration

cs-api-definition
public static RadProperty SearchHighlightColorProperty

Field Value

RadProperty

SearchRowHeaderImageProperty

Identifies the SearchRowHeaderImage dependency property.

Declaration

cs-api-definition
public static RadProperty SearchRowHeaderImageProperty

Field Value

RadProperty

SearchRowHeightProperty

Identifies the SearchRowHeight dependency property.

Declaration

cs-api-definition
public static RadProperty SearchRowHeightProperty

Field Value

RadProperty

SelectColumnWidthProperty

Identifies the SelectColumnWidth dependency property.

Declaration

cs-api-definition
public static RadProperty SelectColumnWidthProperty

Field Value

RadProperty

ShowSelfReferenceLinesProperty

Identifies the ShowSelfReferenceLines dependency property.

Declaration

cs-api-definition
public static RadProperty ShowSelfReferenceLinesProperty

Field Value

RadProperty

TableHeaderHeightProperty

Identifies the TableHeaderHeight dependency property.

Declaration

cs-api-definition
public static RadProperty TableHeaderHeightProperty

Field Value

RadProperty

TreeLevelIndentProperty

Identifies the TreeLevelIndent dependency property.

Declaration

cs-api-definition
public static RadProperty TreeLevelIndentProperty

Field Value

RadProperty

Properties

AlternatingRowColor

Gets or sets a value indicating the alternating row color for odd rows.

Declaration

cs-api-definition
public virtual Color AlternatingRowColor { get; set; }

Property Value

Color

CellElementProvider

Gets or sets the cell element provider.

Declaration

cs-api-definition
public IVirtualizedElementProvider<GridViewColumn> CellElementProvider { get; set; }

Property Value

IVirtualizedElementProvider<GridViewColumn>

The cell element provider.

CellSpacing

Gets or sets the horizontal spacing between adjacent cells in the grid.

Declaration

cs-api-definition
public virtual int CellSpacing { get; set; }

Property Value

int

ChildRowHeight

Gets or sets the height of child rows in a hierarchical grid structure. The value is automatically scaled according to the current DPI settings.

Declaration

cs-api-definition
public virtual int ChildRowHeight { get; set; }

Property Value

int

ChildViews

Gets a collection containing all visible child views

Declaration

cs-api-definition
public ReadOnlyCollection<IRowView> ChildViews { get; }

Property Value

ReadOnlyCollection<IRowView>

Implements IRowView.ChildViews

ColumnDragHint

Gets or sets the RadImageShape instance which describes the hint that indicates where a column will be dropped after a drag operation.

Declaration

cs-api-definition
[Browsable(false)]
[VsbBrowsable(true)]
public RadImageShape ColumnDragHint { get; set; }

Property Value

RadImageShape

ColumnScroller

Gets the column scroller.

Declaration

cs-api-definition
public ItemScroller<GridViewColumn> ColumnScroller { get; }

Property Value

ItemScroller<GridViewColumn>

The column scroller.

CurrentCell

Gets the current GridCellElement in the GridTableElement.

Declaration

cs-api-definition
public virtual GridCellElement CurrentCell { get; }

Property Value

GridCellElement

Implements IRowView.CurrentCell

CurrentCellAddress

Gets the address of the current GridCellElement

Declaration

cs-api-definition
public virtual Point CurrentCellAddress { get; }

Property Value

Point

Implements IRowView.CurrentCellAddress

CurrentRow

Gets the current GridRowElement in the GridTableElement.

Declaration

cs-api-definition
public virtual GridRowElement CurrentRow { get; }

Property Value

GridRowElement

Implements IRowView.CurrentRow

CurrentRowHeaderImage

Gets or sets an image for the row header cell of the current GridRowElement.

Declaration

cs-api-definition
[TypeConverter(typeof(ImageTypeConverter))]
public virtual Image CurrentRowHeaderImage { get; set; }

Property Value

Image

EditRowHeaderImage

Gets or sets an image for the row header cell of the GridRowElement indicating it is currently in edit mode.

Declaration

cs-api-definition
[TypeConverter(typeof(ImageTypeConverter))]
public virtual Image EditRowHeaderImage { get; set; }

Property Value

Image

EnableHotTracking

Gets or sets a value indicating whether the hottracking behavior is enabled.

Declaration

cs-api-definition
public bool EnableHotTracking { get; set; }

Property Value

bool

ErrorRowHeaderImage

Gets or sets an image for the row header cell of the GridRowElement with error.

Declaration

cs-api-definition
[TypeConverter(typeof(ImageTypeConverter))]
public virtual Image ErrorRowHeaderImage { get; set; }

Property Value

Image

ExtendVerticalScrollBar

Gets or sets a value indicating whether the vertical scrollbar should be extended to encompass the upper right corner.

Declaration

cs-api-definition
public bool ExtendVerticalScrollBar { get; set; }

Property Value

bool

FilterRowHeight

Gets or sets the height of the filter row used for column filtering operations. The value is automatically scaled according to the current DPI settings.

Declaration

cs-api-definition
public virtual int FilterRowHeight { get; set; }

Property Value

int

GridViewElement

Gets the RadGridViewElement that owns this view.

Declaration

cs-api-definition
public RadGridViewElement GridViewElement { get; }

Property Value

RadGridViewElement

Implements IGridView.GridViewElement

GroupHeaderHeight

Gets or sets the height of group header rows in the grid. The value is automatically scaled according to the current DPI settings.

Declaration

cs-api-definition
public virtual int GroupHeaderHeight { get; set; }

Property Value

int

GroupIndent

Gets or sets the width of the GridViewIndentColumn.

Declaration

cs-api-definition
public int GroupIndent { get; set; }

Property Value

int

IsCurrentView

Gets a value indicating whether the view is current

Declaration

cs-api-definition
public bool IsCurrentView { get; }

Property Value

bool

Implements IRowView.IsCurrentView

IsUpdating

Gets a value indicating that the user interface is updating now.

Declaration

cs-api-definition
public bool IsUpdating { get; }

Property Value

bool

MasterTemplate

Gets the master template.

Declaration

cs-api-definition
public MasterGridViewTemplate MasterTemplate { get; }

Property Value

MasterGridViewTemplate

The master template.

MenuThemeName

Gets or sets a value indicating the name of the theme for the context menu in the current GridTableElement.

Declaration

cs-api-definition
public string MenuThemeName { get; set; }

Property Value

string

NewRowHeaderImage

Gets or sets an image for the row header cell of the GridNewRowElement.

Declaration

cs-api-definition
[TypeConverter(typeof(ImageTypeConverter))]
public virtual Image NewRowHeaderImage { get; set; }

Property Value

Image

PageViewMode

Gets or sets the page view mode used in child views.The supported modes are: Strip, Stack, Outlook, EplorerBar.

Declaration

cs-api-definition
public PageViewMode PageViewMode { get; set; }

Property Value

PageViewMode

PageViewProvider

Gets or sets the PageViewProvider used in the child views.

Declaration

cs-api-definition
public IRadPageViewProvider PageViewProvider { get; set; }

Property Value

IRadPageViewProvider

RowDragHint

Gets or sets the RadImageShape instance which describes the hint that indicates where a row will be dropped after a drag operation.

Declaration

cs-api-definition
[Browsable(false)]
[VsbBrowsable(true)]
public RadImageShape RowDragHint { get; set; }

Property Value

RadImageShape

RowElementProvider

Gets or sets the row element provider.

Declaration

cs-api-definition
public IVirtualizedElementProvider<GridViewRowInfo> RowElementProvider { get; set; }

Property Value

IVirtualizedElementProvider<GridViewRowInfo>

The row element provider.

RowHeaderColumnWidth

Gets or sets the width of the GridViewRowHeaderColumn.

Declaration

cs-api-definition
public int RowHeaderColumnWidth { get; set; }

Property Value

int

RowHeight

Gets or sets the height of data rows in the grid table. The value is automatically scaled according to the current DPI settings.

Declaration

cs-api-definition
public virtual int RowHeight { get; set; }

Property Value

int

RowScroller

Gets the row scroller.

Declaration

cs-api-definition
public RowScroller RowScroller { get; }

Property Value

RowScroller

The row scroller.

RowSpacing

Gets or sets the vertical spacing between adjacent rows in the grid.

Declaration

cs-api-definition
public virtual int RowSpacing { get; set; }

Property Value

int

RowsPerPage

Gets the number of rows displayed to the user.

Declaration

cs-api-definition
public virtual int RowsPerPage { get; }

Property Value

int

Implements IRowView.RowsPerPage

ScrollBarThemeName

Gets or sets a value indicating the name of the theme for the context menu in the current GridTableElement.

Declaration

cs-api-definition
public string ScrollBarThemeName { get; set; }

Property Value

string

ScrollBehavior

Gets the ScrollServiceBehavior that is responsible for the kinetic scrolling option.

Declaration

cs-api-definition
public ScrollServiceBehavior ScrollBehavior { get; }

Property Value

ScrollServiceBehavior

SearchHighlightColor

Gets or sets the color that will be used for highlighting search matches in the grid.

Declaration

cs-api-definition
public virtual Color SearchHighlightColor { get; set; }

Property Value

Color

SearchRowHeaderImage

Gets or sets an image for the row header cell of the GridSearchRowElement.

Declaration

cs-api-definition
[TypeConverter(typeof(ImageTypeConverter))]
public virtual Image SearchRowHeaderImage { get; set; }

Property Value

Image

SearchRowHeight

Gets or sets the height of the search row used for searching within the grid data. The value is automatically scaled according to the current DPI settings.

Declaration

cs-api-definition
public virtual int SearchRowHeight { get; set; }

Property Value

int

SelectColumnWidth

Gets or sets the width of the GridViewSelectColumn.

Declaration

cs-api-definition
public int SelectColumnWidth { get; set; }

Property Value

int

ShowSelfReferenceLines

Gets or sets a value indicating whether to show lines in self reference mode.

Declaration

cs-api-definition
public bool ShowSelfReferenceLines { get; set; }

Property Value

bool

SkipVisibilityCheck

Get or set a value indicating whether to skip the control visibility check when ensuring cell/row visibility. If you set it to true, the control will scroll to row/cell even when not visible, when ScrollTo or similar functionality is used.

Declaration

cs-api-definition
public bool SkipVisibilityCheck { get; set; }

Property Value

bool

TableHeaderHeight

Gets or sets the height of the column headers row. The value is automatically scaled according to the current DPI settings.

Declaration

cs-api-definition
public virtual int TableHeaderHeight { get; set; }

Property Value

int

TreeLevelIndent

Gets or sets the value that determines the indent width among expander primitives in self-reference hierarchy.

Declaration

cs-api-definition
public int TreeLevelIndent { get; set; }

Property Value

int

ViewInfo

Gets the GridViewInfo that this view represents.

Declaration

cs-api-definition
public GridViewInfo ViewInfo { get; }

Property Value

GridViewInfo

Implements IGridView.ViewInfo

ViewTemplate

Gets the view template.

Declaration

cs-api-definition
public GridViewTemplate ViewTemplate { get; }

Property Value

GridViewTemplate

The view template.

VisualRows

Gets a RadElementCollection containing the rows currently visible on screen.

Declaration

cs-api-definition
public virtual IList<GridRowElement> VisualRows { get; }

Property Value

IList<GridRowElement>

Implements IRowView.VisualRows

Methods

ArrangeVScrollBar(ref RectangleF, RectangleF, RectangleF)

Arranges the vertical scroll bar.

Declaration

cs-api-definition
protected override void ArrangeVScrollBar(ref RectangleF viewElementRect, RectangleF hscrollBarRect, RectangleF clientRect)

Parameters

viewElementRect

RectangleF

The view element rect.

hscrollBarRect

RectangleF

The hscroll bar rect.

clientRect

RectangleF

The client rect.

Overrides ScrollViewElement<RowsContainerElement>.ArrangeVScrollBar(ref RectangleF, RectangleF, RectangleF)

BeginUpdate()

Begins batch update of the items.

Declaration

cs-api-definition
public bool BeginUpdate()

Returns

bool

Implements IRowView.BeginUpdate()

BestFitColumn(GridViewColumn)

Widens / shrinks a column based on the space required by the text in the columns.

Declaration

cs-api-definition
public void BestFitColumn(GridViewColumn column)

Parameters

column

GridViewColumn

The column.

BestFitColumns()

Automatically adjusts the width of all columns based on the content of their cells to ensure optimal fit.

Declaration

cs-api-definition
public void BestFitColumns()

BestFitColumns(BestFitColumnMode)

Automatically adjusts the width of all columns based on the content of their cells using the specified mode.

Declaration

cs-api-definition
public void BestFitColumns(BestFitColumnMode mode)

Parameters

mode

BestFitColumnMode

The BestFitColumnMode that determines which cells to consider for the calculation.

CreateChildElements()

Creates and initializes the child elements of the grid table. Sets up the row and column scrollers with their respective element providers.

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides ScrollViewElement<RowsContainerElement>.CreateChildElements()

Detach()

Detaches the view from its owner.

Declaration

cs-api-definition
public virtual void Detach()

Implements IGridView.Detach()

DisplayedColumnCount(bool)

Returns the number of columns displayed to the user.

Declaration

cs-api-definition
public virtual int DisplayedColumnCount(bool includePartialColumn)

Parameters

includePartialColumn

bool

true to include partial columns in the displayed column count; otherwise, false.

Returns

int

The number of columns displayed to the user.

Implements IRowView.DisplayedColumnCount(bool)

DisplayedRowCount(bool)

Returns the number of rows displayed to the user.

Declaration

cs-api-definition
public virtual int DisplayedRowCount(bool includePartialRow)

Parameters

includePartialRow

bool

true to include partial rows in the displayed row count; otherwise, false.

Returns

int

The number of rows displayed to the user.

Implements IRowView.DisplayedRowCount(bool)

DisposeManagedResources()

Releases all managed resources used by this element, including event handlers, scrollers and internal components.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides LightVisualElement.DisposeManagedResources()

DpiScaleChanged(SizeF)

Fires when the DPI scale is changed.

Declaration

cs-api-definition
public override void DpiScaleChanged(SizeF scaleFactor)

Parameters

scaleFactor

SizeF

The scale factor.

Overrides RadElement.DpiScaleChanged(SizeF)

EndUpdate()

Ends batch update of the items.

Declaration

cs-api-definition
public bool EndUpdate()

Returns

bool

Implements IRowView.EndUpdate()

EndUpdate(bool)

Ends batch update of the items.

Declaration

cs-api-definition
public bool EndUpdate(bool performUpdate)

Parameters

performUpdate

bool

Tells the view whether an update is required or not.

Returns

bool

Implements IRowView.EndUpdate(bool)

EnsureCellVisible(GridViewRowInfo, GridViewColumn)

Ensures that the specified cell is visible.

Declaration

cs-api-definition
public virtual bool EnsureCellVisible(GridViewRowInfo rowInfo, GridViewColumn column)

Parameters

rowInfo

GridViewRowInfo

A GridViewRowInfo that specifies the cell's row

column

GridViewColumn

A GridViewColumn that specifies the cell's column

Returns

bool

Implements IRowView.EnsureCellVisible(GridViewRowInfo, GridViewColumn)

EnsureRowVisible(GridViewRowInfo)

Ensures that the specified row is visible.

Declaration

cs-api-definition
public virtual bool EnsureRowVisible(GridViewRowInfo rowInfo)

Parameters

rowInfo

GridViewRowInfo

A GridViewRowInfo that specifies the row

Returns

bool

Implements IRowView.EnsureRowVisible(GridViewRowInfo)

GetCellElement(GridViewRowInfo, GridViewColumn)

Gets a cell based on corresponding GridViewRowInfo and GridViewColumn

Declaration

cs-api-definition
public virtual GridCellElement GetCellElement(GridViewRowInfo rowInfo, GridViewColumn column)

Parameters

rowInfo

GridViewRowInfo

The corresponding GridViewRowInfo

column

GridViewColumn

The corresponding GridViewColumn

Returns

GridCellElement

An instance to a GridCellElement if successful, null otherwise

Implements IRowView.GetCellElement(GridViewRowInfo, GridViewColumn)

GetRowElement(GridViewRowInfo)

Gets the row's visual element based on the corresponding GridViewRowInfo

Declaration

cs-api-definition
public virtual GridRowElement GetRowElement(GridViewRowInfo rowInfo)

Parameters

rowInfo

GridViewRowInfo

The corresponding GridViewRowInfo

Returns

GridRowElement

An instance to a GridRowElement if successful, null otherwise

Implements IRowView.GetRowElement(GridViewRowInfo)

Initialize(RadGridViewElement, GridViewInfo)

Initializes the view with an instance of the GridViewTemplate.

Declaration

cs-api-definition
public virtual void Initialize(RadGridViewElement gridRootElement, GridViewInfo viewInfo)

Parameters

gridRootElement

RadGridViewElement

viewInfo

GridViewInfo

An instance of GridViewTemplate.

Implements IGridView.Initialize(RadGridViewElement, GridViewInfo)

InitializeFields()

Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.

Declaration

cs-api-definition
protected override void InitializeFields()

Overrides ScrollViewElement<RowsContainerElement>.InitializeFields()

InvalidateCell(GridViewRowInfo, GridViewColumn)

Invalidates a single cell

Declaration

cs-api-definition
public virtual void InvalidateCell(GridViewRowInfo rowInfo, GridViewColumn column)

Parameters

rowInfo

GridViewRowInfo

The corresponding GridViewRowInfo

column

GridViewColumn

The corresponding GridViewColumn

Implements IRowView.InvalidateCell(GridViewRowInfo, GridViewColumn)

InvalidateRow(GridViewRowInfo)

Invalidates a row

Declaration

cs-api-definition
public virtual void InvalidateRow(GridViewRowInfo rowInfo)

Parameters

rowInfo

GridViewRowInfo

The GridViewRowInfo to invalidate

Implements IRowView.InvalidateRow(GridViewRowInfo)

IsRowVisible(GridViewRowInfo)

Gets a value indicating whether the row is visible

Declaration

cs-api-definition
public virtual bool IsRowVisible(GridViewRowInfo value)

Parameters

value

GridViewRowInfo

The GridViewRowInfo to check for visibility

Returns

bool

Returns true if the row is visible

Implements IRowView.IsRowVisible(GridViewRowInfo)

MeasureOverride(SizeF)

Measures the size required by the grid table element and its children within the specified available size.

Declaration

cs-api-definition
protected override SizeF MeasureOverride(SizeF availableSize)

Parameters

availableSize

SizeF

The available size that the element can use for layout.

Returns

SizeF

The size that the element requires for layout.

Overrides ScrollViewElement<RowsContainerElement>.MeasureOverride(SizeF)

OnLoaded()

Called when the grid table element and all its children have been successfully loaded into the element tree. Sets up event handlers and initializes template-related functionality.

Declaration

cs-api-definition
protected override void OnLoaded()

Overrides LightVisualElement.OnLoaded()

OnPanGesture(PanGestureEventArgs)

Handles pan gestures for touch-enabled interfaces, allowing scrolling and navigation within the grid.

Declaration

cs-api-definition
protected override void OnPanGesture(PanGestureEventArgs args)

Parameters

args

PanGestureEventArgs

The arguments containing information about the pan gesture event.

Overrides RadItem.OnPanGesture(PanGestureEventArgs)

OnPropertyChanged(RadPropertyChangedEventArgs)

Handles property change events by invalidating the fill cache and invoking the base class property change handler.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

Event arguments containing information about the property that changed.

Overrides LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)

ProcessBatchPropertyChanged(Type, PropertyChangedEventArgs)

Declaration

cs-api-definition
protected virtual GridViewEventResult ProcessBatchPropertyChanged(Type originatorType, PropertyChangedEventArgs propertyChanged)

Parameters

originatorType

Type

propertyChanged

PropertyChangedEventArgs

Returns

GridViewEventResult

ProcessColumnEvent(GridViewColumn, GridViewEvent)

Processes the column event.

Declaration

cs-api-definition
protected virtual GridViewEventResult ProcessColumnEvent(GridViewColumn column, GridViewEvent eventData)

Parameters

column

GridViewColumn

The column.

eventData

GridViewEvent

The event data.

Returns

GridViewEventResult

ProcessDragDrop(Point, ISupportDrag)

Processes drag-drop operations performed over this grid table element. Handles dropping of columns and other draggable items onto the grid.

Declaration

cs-api-definition
protected override void ProcessDragDrop(Point dropLocation, ISupportDrag dragObject)

Parameters

dropLocation

Point

The point where the dragged object was dropped.

dragObject

ISupportDrag

The object being dragged.

Overrides RadItem.ProcessDragDrop(Point, ISupportDrag)

ProcessDragOver(Point, ISupportDrag)

Determines whether the grid table element can accept the dragged object at the current mouse location.

Declaration

cs-api-definition
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)

Parameters

currentMouseLocation

Point

The current position of the mouse during dragging.

dragObject

ISupportDrag

The object being dragged.

Returns

bool

True if the dragged object can be dropped at the current location; otherwise, false.

Overrides RadItem.ProcessDragOver(Point, ISupportDrag)

ProcessFilterDescriptorCollectionEvent(GridViewFilterDescriptorCollection, GridViewEvent)

Processes the filter descriptor collection event.

Declaration

cs-api-definition
protected virtual GridViewEventResult ProcessFilterDescriptorCollectionEvent(GridViewFilterDescriptorCollection filters, GridViewEvent eventData)

Parameters

filters

GridViewFilterDescriptorCollection

The filters.

eventData

GridViewEvent

The event data.

Returns

GridViewEventResult

ProcessMasterTemplateEvent(GridViewEvent)

Processes the master template event.

Declaration

cs-api-definition
protected virtual GridViewEventResult ProcessMasterTemplateEvent(GridViewEvent eventData)

Parameters

eventData

GridViewEvent

The event data.

Returns

GridViewEventResult

ProcessRowEvent(GridViewRowInfo, GridViewEvent)

Processes the row event.

Declaration

cs-api-definition
protected virtual GridViewEventResult ProcessRowEvent(GridViewRowInfo row, GridViewEvent eventData)

Parameters

row

GridViewRowInfo

The row.

eventData

GridViewEvent

The event data.

Returns

GridViewEventResult

ProcessTemplateEvent(GridViewEvent)

Processes the template event.

Declaration

cs-api-definition
protected virtual GridViewEventResult ProcessTemplateEvent(GridViewEvent eventData)

Parameters

eventData

GridViewEvent

The event data.

Returns

GridViewEventResult

ProcessViewInfoEvent(GridViewEvent)

Processes the view info event.

Declaration

cs-api-definition
protected virtual GridViewEventResult ProcessViewInfoEvent(GridViewEvent eventData)

Parameters

eventData

GridViewEvent

The event data.

Returns

GridViewEventResult

RemoveStylePropertySetting(IPropertySetting)

Called when element style condition changes. This method is used internally.

Declaration

cs-api-definition
public override void RemoveStylePropertySetting(IPropertySetting setting)

Parameters

setting

IPropertySetting

Overrides RadObject.RemoveStylePropertySetting(IPropertySetting)

ScrollTo(int, int)

Scrolls to the specific cell.

Declaration

cs-api-definition
public virtual void ScrollTo(int row, int column)

Parameters

row

int

The row.

column

int

The column.

ScrollToColumn(int)

Scrolls to column.

Declaration

cs-api-definition
public virtual void ScrollToColumn(int columnIndex)

Parameters

columnIndex

int

Index of the column.

ScrollToRow(GridViewRowInfo)

Scrolls to row.

Declaration

cs-api-definition
public virtual void ScrollToRow(GridViewRowInfo rowInfo)

Parameters

rowInfo

GridViewRowInfo

The row info.

ScrollToRow(int)

Scrolls to row.

Declaration

cs-api-definition
public virtual void ScrollToRow(int row)

Parameters

row

int

The row.

UnWireEvents()

Unsubscribes from events that were wired in the WireEvents() method to prevent memory leaks.

Declaration

cs-api-definition
protected void UnWireEvents()

Update(GridUINotifyAction, params GridViewRowInfo[])

Updates with the specified action.

Declaration

cs-api-definition
public void Update(GridUINotifyAction action, params GridViewRowInfo[] rowInfos)

Parameters

action

GridUINotifyAction

The action.

rowInfos

GridViewRowInfo[]

The row infos.

UpdateColumnsDpiScaleFactor()

Updates the columns DPI scale factor.

Declaration

cs-api-definition
protected virtual void UpdateColumnsDpiScaleFactor()

UpdateReferences(ComponentThemableElementTree, bool, bool)

Updates the local references using the provided element tree.

Declaration

cs-api-definition
protected override void UpdateReferences(ComponentThemableElementTree tree, bool updateInheritance, bool recursive)

Parameters

tree

ComponentThemableElementTree

The element tree to use for updating references.

updateInheritance

bool

True to update inheritance chain, false otherwise.

recursive

bool

True to update children also, false otherwise.

Overrides RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)

UpdateView()

Explicitly synchonizes the view with its owner.

Declaration

cs-api-definition
public virtual void UpdateView()

Implements IGridView.UpdateView()

WireEvents()

Subscribes to necessary events for proper grid table operation including scrollbar, tooltip, and theme change events.

Declaration

cs-api-definition
protected void WireEvents()
In this article
DefinitionConstructorsGridTableElement()FieldsAlternatingRowColorPropertyCellSpacingPropertyChildRowHeightPropertyColumnDragHintPropertyCurrentRowHeaderImagePropertyEditRowHeaderImagePropertyEnableHotTrackingPropertyErrorRowHeaderImagePropertyExtendVerticalScrollBarPropertyFilterRowHeightPropertyGroupHeaderHeightPropertyGroupIndentPropertyHasColumnHeadersPropertyMenuThemeNamePropertyNewRowHeaderImagePropertyRowDragHintPropertyRowHeaderColumnWidthPropertyRowHeightPropertyRowSpacingPropertyScrollBarThemeNamePropertySearchHighlightColorPropertySearchRowHeaderImagePropertySearchRowHeightPropertySelectColumnWidthPropertyShowSelfReferenceLinesPropertyTableHeaderHeightPropertyTreeLevelIndentPropertyPropertiesAlternatingRowColorCellElementProviderCellSpacingChildRowHeightChildViewsColumnDragHintColumnScrollerCurrentCellCurrentCellAddressCurrentRowCurrentRowHeaderImageEditRowHeaderImageEnableHotTrackingErrorRowHeaderImageExtendVerticalScrollBarFilterRowHeightGridViewElementGroupHeaderHeightGroupIndentIsCurrentViewIsUpdatingMasterTemplateMenuThemeNameNewRowHeaderImagePageViewModePageViewProviderRowDragHintRowElementProviderRowHeaderColumnWidthRowHeightRowScrollerRowSpacingRowsPerPageScrollBarThemeNameScrollBehaviorSearchHighlightColorSearchRowHeaderImageSearchRowHeightSelectColumnWidthShowSelfReferenceLinesSkipVisibilityCheckTableHeaderHeightTreeLevelIndentViewInfoViewTemplateVisualRowsMethodsArrangeVScrollBar(ref RectangleF, RectangleF, RectangleF)BeginUpdate()BestFitColumn(GridViewColumn)BestFitColumns()BestFitColumns(BestFitColumnMode)CreateChildElements()Detach()DisplayedColumnCount(bool)DisplayedRowCount(bool)DisposeManagedResources()DpiScaleChanged(SizeF)EndUpdate()EndUpdate(bool)EnsureCellVisible(GridViewRowInfo, GridViewColumn)EnsureRowVisible(GridViewRowInfo)GetCellElement(GridViewRowInfo, GridViewColumn)GetRowElement(GridViewRowInfo)Initialize(RadGridViewElement, GridViewInfo)InitializeFields()InvalidateCell(GridViewRowInfo, GridViewColumn)InvalidateRow(GridViewRowInfo)IsRowVisible(GridViewRowInfo)MeasureOverride(SizeF)OnLoaded()OnPanGesture(PanGestureEventArgs)OnPropertyChanged(RadPropertyChangedEventArgs)ProcessBatchPropertyChanged(Type, PropertyChangedEventArgs)ProcessColumnEvent(GridViewColumn, GridViewEvent)ProcessDragDrop(Point, ISupportDrag)ProcessDragOver(Point, ISupportDrag)ProcessFilterDescriptorCollectionEvent(GridViewFilterDescriptorCollection, GridViewEvent)ProcessMasterTemplateEvent(GridViewEvent)ProcessRowEvent(GridViewRowInfo, GridViewEvent)ProcessTemplateEvent(GridViewEvent)ProcessViewInfoEvent(GridViewEvent)RemoveStylePropertySetting(IPropertySetting)ScrollTo(int, int)ScrollToColumn(int)ScrollToRow(GridViewRowInfo)ScrollToRow(int)UnWireEvents()Update(GridUINotifyAction, params GridViewRowInfo[])UpdateColumnsDpiScaleFactor()UpdateReferences(ComponentThemableElementTree, bool, bool)UpdateView()WireEvents()
Not finding the help you need?
Contact Support