New to Telerik UI for WinFormsStart a free 30-day trial

Represent the main element of RadVirtualGrid.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class RadVirtualGridElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadVirtualGridElement...

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIImageElementINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider...

Inherited Members LightVisualElement.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.InitializeFields()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.MeasureOverride(SizeF)LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)LightVisualElement.MeasureElements(SizeF, SizeF, Padding)LightVisualElement.ArrangeOverride(SizeF)LightVisualElement.ArrangeElement(RadElement, SizeF)LightVisualElement.GetClientOffset(bool)LightVisualElement.GetBorderThickness(bool)LightVisualElement.GetClientRectangle(bool, SizeF)LightVisualElement.GetClientRectangle(SizeF)LightVisualElement.GetTextAlignment(ContentAlignment)LightVisualElement.GetTextAlignment()LightVisualElement.OnLoaded()LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)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.OnPanGesture(PanGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)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.UpdateReferences(ComponentThemableElementTree, bool, bool)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

Initializes a new instance of the RadVirtualGridElement class.

C#
public RadVirtualGridElement()

Properties

Gets the currently active editor when the grid is in edit mode.

C#
public IInputEditor ActiveEditor { get; }

Gets or sets a value indicating whether the add new row is visible.

C#
public bool AllowAddNewRow { get; set; }

Gets or sets a value indicating whether right-clicking on a data cell will show the default data cell context menu.

C#
public bool AllowCellContextMenu { get; set; }

Gets or sets a value indicating whether right-clicking on a header cell will show the default header cell context menu.

C#
public bool AllowColumnHeaderContextMenu { get; set; }

Gets or sets a value indicating whether users can resize columns through the grid UI.

C#
public bool AllowColumnResize { get; set; }

Gets or sets a value indicating whether the Copy option in the context menu and the Ctrl+C shortcut will be available to the user.

C#
public bool AllowCopy { get; set; }

Gets or sets a value indicating whether the Cut option in the context menu and the Ctrl+X shortcut will be available to the user.

C#
public bool AllowCut { get; set; }

Gets or sets a value indicating whether users can delete rows.

C#
public bool AllowDelete { get; set; }

Gets or sets a value indicating whether users can edit the values in data cells.

C#
public bool AllowEdit { get; set; }

Gets or sets a value indicating whether the filter row is visible.

C#
public bool AllowFiltering { get; set; }

Gets or sets a value indicating whether the users can sort by more than one column.

C#
public bool AllowMultiColumnSorting { get; set; }

Gets or sets a value indicating whether the Paste option in the context menu and the Ctrl+V shortcut will be available to the user.

C#
public bool AllowPaste { get; set; }

Gets or sets a value indicating whether users can resize rows through the grid UI.

C#
public bool AllowRowResize { get; set; }

Gets or sets a value indicating whether users can sort columns by clicking the header or through the header context menu.

C#
public bool AllowSorting { get; set; }

Gets or sets the method for entering edit mode.

C#
public RadVirtualGridBeginEditMode BeginEditMode { get; set; }

Gets or sets the total number of columns to be displayed in the grid.

C#
public int ColumnCount { get; set; }

Gets or sets the default context menu.

C#
public RadDropDownMenu ContextMenu { get; set; }

Gets or sets the current cell.

C#
[Browsable(false)]
public VirtualGridCellInfo CurrentCell { get; set; }

Gets or sets a value indicating whether event and odd rows will have a different back color.

C#
public bool EnableAlternatingRowColor { get; set; }

Gets or sets a value indicating whether data is presented in chunks (pages) to the user.

C#
public bool EnablePaging { get; set; }

Gets or sets the behavior of the Enter key when pressed while in edit mode.

C#
public RadVirtualGridEnterKeyMode EnterKeyMode { get; set; }

Gets the filter descriptors currently applied to the grid.

C#
public FilterDescriptorCollection FilterDescriptors { get; }

Gets or sets an instance of VirtualGridInputBehavior which handles user input.

C#
public VirtualGridInputBehavior InputBehavior { get; set; }

Gets a value indicating whether the grid is in edit mode.

C#
public bool IsInEditMode { get; }

Gets the main VirtualGridViewInfo instance of the grid.

C#
public VirtualGridViewInfo MasterViewInfo { get; }

Gets or sets a value indicating whether multiple cells can be selected simultaneously.

C#
public bool MultiSelect { get; set; }

Gets or sets the index of the page currently presented in the grid.

C#
public int PageIndex { get; set; }

Gets or sets the number of rows shown per page when paging is enabled.

C#
public int PageSize { get; set; }

Gets or sets the total number of rows to be displayed in the grid.

C#
public int RowCount { get; set; }

Gets a VirtualGridSelection object which provides an API for manipulating the selection.

C#
[Browsable(false)]
public VirtualGridSelection Selection { get; }

Gets or sets a value indicating how cells are selected.

C#
public VirtualGridSelectionMode SelectionMode { get; set; }

Gets or sets a value indicating whether the header row is visible.

C#
public bool ShowHeaderRow { get; set; }

Gets or sets a value indicating whether a message should be displayed in the grid when no data is loaded.

C#
public bool ShowNoDataText { get; set; }

Gets the sort descriptors currently applied to the grid.

C#
public SortDescriptorCollection SortDescriptors { get; }

Gets or sets a value indicating whether the TAB key moves the focus to the next control in the tab order rather than moving the focus to the next cell in the control.

C#
public bool StandardTab { get; set; }

Gets an instance of VirtualGridTableElement which holds all rows and columns.

C#
public VirtualGridTableElement TableElement { get; }

Gets the total number of pages when paging is enabled.

C#
public int TotalPages { get; }

Gets or sets value indicating whether child views have fixed size [true] or depend on the number of rows they contain [false].

C#
public bool UseScrollbarsInHierarchy { get; set; }

Methods

Starts the editing process for the current cell.

C#
public bool BeginEdit()
Returns:

bool

Starts the editing process for the specified cell.

C#
public virtual bool BeginEdit(VirtualGridCellElement currentCell)
Parameters:currentCellVirtualGridCellElement

The cell to open for editing.

Returns:

bool

True if the operation is successful, otherwise false.

Suspends layout updates.

C#
public void BeginUpdate()

Widens / shrinks the column at the specified index in the specified view info based on the space required by the text in the cells.

C#
public void BestFitColumn(int columnIndex, VirtualGridViewInfo viewInfo)
Parameters:columnIndexint

The index of the column.

viewInfoVirtualGridViewInfo

The view info to perform the operation on.

Widens / shrinks the column at the specified index in the specified view info based on the space required by the text in the cells.

C#
public void BestFitColumn(int columnIndex)
Parameters:columnIndexint

The index of the column.

Widens / shrinks all columns based on the space required by the text in the cells.

C#
public void BestFitColumns()

Widens / shrinks all columns in the specified view info based on the space required by the text in the cells.

C#
public void BestFitColumns(VirtualGridViewInfo viewInfo)
Parameters:viewInfoVirtualGridViewInfo

The view info to perform the operation on.

Ends the editing process without committing any changes. Returns a value indicating whether the operation succeeded.

C#
public virtual bool CancelEdit()
Returns:

bool

Returns true if the operation is successful. Returns false if the operation is not successful e.g. the grid was not in edit mode.

Returns a value indicating whether the current editor can be closed.

C#
public virtual bool CanEndEdit()
Returns:

bool

True if the editor can be closed, otherwise false.

Collapses the specified row.

C#
public bool CollapseRow(int rowIndex)
Parameters:rowIndexint

The row index to collapse.

Returns:

bool

True if the operation is successful, otherwise false.

Commits the value in the new row by firing the event.

C#
public void CommitNewRow()

Copies the content of the selected cells.

C#
public virtual bool CopySelection()
Returns:

bool

True if the operation was successful, otherwise false.

Copies the content of the specified cell region to the clipboard.

C#
public void CopyToClipboard(int startRow, int startColumn, int endRow, int endColumn, VirtualGridViewInfo viewInfo, bool selectedOnly, bool cut)
Parameters:startRowint

The index of the row where the content copy should start.

startColumnint

The index of the column where the content copy should start.

endRowint

The index of the row where the content copy should end.

endColumnint

The index of the column where the content copy should end.

viewInfoVirtualGridViewInfo

The view info of the cell region.

selectedOnlybool

Determines whether only selected cells are copied.

cutbool

Determines whether cell values should be cleared after the copy.

Copies the content of the specified cell region to the clipboard.

C#
public void CopyToClipboard(int startRow, int startColumn, int endRow, int endColumn, VirtualGridViewInfo viewInfo)
Parameters:startRowint

The index of the row where the content copy should start.

startColumnint

The index of the column where the content copy should start.

endRowint

The index of the row where the content copy should end.

endColumnint

The index of the column where the content copy should end.

viewInfoVirtualGridViewInfo

The view info of the cell region.

Called by the element when constructed. Allows inheritors to build the element tree.

C#
protected override void CreateChildElements()

Overrides: RadElement.CreateChildElements()

Creates the table element.

C#
protected virtual VirtualGridTableElement CreateTableElement(RadVirtualGridElement virtualGridElement, VirtualGridViewInfo viewInfo)
Parameters:virtualGridElementRadVirtualGridElement

The virtual grid element.

viewInfoVirtualGridViewInfo

The view info.

Returns:

VirtualGridTableElement

Cuts the content of the selected cells.

C#
public virtual bool CutSelection()
Returns:

bool

True if the operation was successful, otherwise false.

Deletes the rows specified in the first parameter from the specified view info.

C#
public void DeleteRow(IEnumerable<int> rowIndices, VirtualGridViewInfo viewInfo)
Parameters:rowIndicesIEnumerable<int>

The indices of the rows to delete.

viewInfoVirtualGridViewInfo

The view info from which to delete the rows.

Deletes the currently selected row.

C#
public bool DeleteSelectedRow()
Returns:

bool

True if the operations is successful, otherwise false.

Disposes the managed resources.

C#
protected override void DisposeManagedResources()

Overrides: LightVisualElement.DisposeManagedResources()

Fires when the DPI scale is changed.

C#
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters:scaleFactorSizeF

The scale factor.

Overrides: RadElement.DpiScaleChanged(SizeF)

Ends the editing process and tries to commit any changes made to the edit value. Returns a value indicating whether the operation succeeded.

C#
public virtual bool EndEdit()
Returns:

bool

Returns true if the operation is successful. Returns false if the operation is not successful e.g. validation fails or the grid was not in edit mode.

Resumes layout updates.

C#
public void EndUpdate()

Ensures the cell defined by the row and column indices is visible in the current view.

C#
public void EnsureCellVisible(int rowIndex, int columnIndex, VirtualGridTableElement tableElement)
Parameters:rowIndexint

The row index of the cell.

columnIndexint

The column index of the cell.

tableElementVirtualGridTableElement

The table element of the row.

Ensures the cell defined by the row and column indices is visible in the current view.

C#
public void EnsureCellVisible(int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo)
Parameters:rowIndexint

The row index of the cell.

columnIndexint

The column index of the cell.

viewInfoVirtualGridViewInfo

The view info of the cell.

Ensures the cell defined by the row and column indices is visible in the current view.

C#
public void EnsureCellVisible(int rowIndex, int columnIndex)
Parameters:rowIndexint

The row index of the cell.

columnIndexint

The column index of the cell.

Ensures the row at the specified row index is visible in the current view.

C#
public void EnsureRowVisible(int rowIndex, VirtualGridTableElement tableElement)
Parameters:rowIndexint

The index of the row.

tableElementVirtualGridTableElement

The table element of the row.

Ensures the row at the specified row index is visible in the current view.

C#
public void EnsureRowVisible(int rowIndex, VirtualGridViewInfo viewInfo)
Parameters:rowIndexint

The index of the row.

viewInfoVirtualGridViewInfo

The view info of the row.

Ensures the row at the specified row index is visible in the current view.

C#
public void EnsureRowVisible(int rowIndex)
Parameters:rowIndexint

The index of the row.

Expands the specified row.

C#
public bool ExpandRow(int rowIndex)
Parameters:rowIndexint

The row index to expand.

Returns:

bool

True if the operation is successful, otherwise false.

Attempts to find a visual cell element that represents the data on the specified row and column indices.

C#
public VirtualGridCellElement FindCellElement(int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo)
Parameters:rowIndexint

The row index of the cell.

columnIndexint

The column index of the cell.

viewInfoVirtualGridViewInfo

The view info of the cell.

Returns:

VirtualGridCellElement

The cell element if it is visible, otherwise null.

Gets the cell element for the specified row and column indices and view info.

C#
public VirtualGridCellElement GetCellElement(int rowIndex, int columnIndex, VirtualGridTableElement tableElement)
Parameters:rowIndexint

The row index of the cell.

columnIndexint

The column index of the cell.

tableElementVirtualGridTableElement

The table element of the cell.

Returns:

VirtualGridCellElement

The cell element, if found, otherwise false.

Gets the cell element for the specified row and column indices and view info.

C#
public VirtualGridCellElement GetCellElement(int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo)
Parameters:rowIndexint

The row index of the cell.

columnIndexint

The column index of the cell.

viewInfoVirtualGridViewInfo

The view info of the cell.

Returns:

VirtualGridCellElement

The cell element, if found, otherwise false.

Gets the scroll offset from the beginning of the columns in the specified view to the left edge of the specified column.

C#
public int GetColumnScrollOffset(int columnIndex, VirtualGridTableElement tableElement)
Parameters:columnIndexint

The index of the column.

tableElementVirtualGridTableElement

The table element of the column.

Returns:

int

The distance to the column.

Gets the scroll offset from the beginning of the columns in the specified view to the left edge of the specified column.

C#
public int GetColumnScrollOffset(int columnIndex, VirtualGridViewInfo viewInfo)
Parameters:columnIndexint

The index of the column.

viewInfoVirtualGridViewInfo

The view info of the column.

Returns:

int

The distance to the column.

Gets the height of the column at the given column index.

C#
public int GetColumnWidth(int columnIndex)
Parameters:columnIndexint

The index of the column.

Returns:

int

The height of the column.

Gets an editor based on a cell value. Used when column data types are not defined.

C#
protected virtual IInputEditor GetDefaultEditor(object value)
Parameters:valueobject

The value of the cell.

Returns:

IInputEditor

The editor to be used for editing the specified value.

Gets an editor based on the column data type.

C#
protected virtual IInputEditor GetEditor(Type dataType)
Parameters:dataTypeType

The data type of the column.

Returns:

IInputEditor

The editor to be used for editing the specified data type.

Gets the row element for the specified row index and view info.

C#
public VirtualGridRowElement GetRowElement(int rowIndex, VirtualGridTableElement tableElement)
Parameters:rowIndexint

The index of the row.

tableElementVirtualGridTableElement

The table element of the row.

Returns:

VirtualGridRowElement

The row element displaying the data for the row, if found, otherwise null.

Gets the row element for the specified row index and view info.

C#
public VirtualGridRowElement GetRowElement(int rowIndex, VirtualGridViewInfo viewInfo)
Parameters:rowIndexint

The index of the row.

viewInfoVirtualGridViewInfo

The view info of the row.

Returns:

VirtualGridRowElement

The row element displaying the data for the row, if found, otherwise null.

Gets the height of the row at the given row index.

C#
public int GetRowHeight(int rowIndex)
Parameters:rowIndexint

The index of the row.

Returns:

int

The height of the row.

Gets the scroll offset from the beginning of the rows in the specified view to the top edge of the specified row.

C#
public int GetRowScrollOffset(int rowIndex, VirtualGridTableElement tableElement)
Parameters:rowIndexint

The index of the row.

tableElementVirtualGridTableElement

The table element of the row.

Returns:

int

The distance to the row.

Gets the scroll offset from the beginning of the rows in the specified view to the top edge of the specified row.

C#
public int GetRowScrollOffset(int rowIndex, VirtualGridViewInfo viewInfo)
Parameters:rowIndexint

The index of the row.

viewInfoVirtualGridViewInfo

The view info of the row.

Returns:

int

The distance to the row.

Gets the table element displaying the info of the specified view info..

C#
public VirtualGridTableElement GetTableElement(VirtualGridViewInfo viewInfo)
Parameters:viewInfoVirtualGridViewInfo

The view info.

Returns:

VirtualGridTableElement

The table element, if found, otherwise null.

Initializes the editor for editing. Allows settings of the editor to be modified. Fires the event.

C#
protected virtual void InitializeEditor(IInputEditor activeEditor, VirtualGridCellElement cell)
Parameters:activeEditorIInputEditor

The editor that is being initialized.

cellVirtualGridCellElement

The cell that will be edited.

Returns a value indicating whether the specified column is pinned.

C#
public bool IsColumnPinned(int columnIndex)
Parameters:columnIndexint

The index of the column.

Returns:

bool

True if the column is pinned at left or right, otherwise false.

Returns a value indicating whether the specified row is expanded.

C#
public bool IsRowExpanded(int rowIndex)
Parameters:rowIndexint

The index of the row.

Returns:

bool

True if the row is expanded, otherwise false.

Returns a value indicating whether the specified row is pinned.

C#
public bool IsRowPinned(int rowIndex)
Parameters:rowIndexint

The index of the row.

Returns:

bool

True if the row is pinned at top or bottom, otherwise false.

Moves the current cell to the one defined by the row and column indices.

C#
public bool MoveCurrent(int rowOffset, int columnOffset, bool keepSelection)
Parameters:rowOffsetint

The new current cell row index.

columnOffsetint

The new current cell column index.

keepSelectionbool

Determines if the current selection should be kept or discarded.

Returns:

bool

Moves the current cell to the one below its current position.

C#
public bool MoveCurrentDown(bool keepSelection)
Parameters:keepSelectionbool

Determines if the current selection should be kept or discarded.

Returns:

bool

True if the operation is successful, otherwise false.

Moves the current cell to the left of its current position.

C#
public bool MoveCurrentLeft(bool keepSelection)
Parameters:keepSelectionbool

Determines if the current selection should be kept or discarded.

Returns:

bool

True if the operation is successful, otherwise false.

Moves the current cell to the right of its current position.

C#
public bool MoveCurrentRight(bool keepSelection)
Parameters:keepSelectionbool

Determines if the current selection should be kept or discarded.

Returns:

bool

True if the operation is successful, otherwise false.

Moves the current cell to the one above its current position.

C#
public bool MoveCurrentUp(bool keepSelection)
Parameters:keepSelectionbool

Determines if the current selection should be kept or discarded.

Returns:

bool

True if the operation is successful, otherwise false.

Raises the event.

C#
protected virtual void OnCellClick(VirtualGridCellElementEventArgs args)
Parameters:argsVirtualGridCellElementEventArgs

The VirtualGridCellElementEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCellDoubleClick(VirtualGridCellElementEventArgs args)
Parameters:argsVirtualGridCellElementEventArgs

The VirtualGridCellElementEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCellEditorInitialized(VirtualGridCellEditorInitializedEventArgs args)
Parameters:argsVirtualGridCellEditorInitializedEventArgs

The VirtualGridCellEditorInitializedEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCellFormatting(VirtualGridCellElementEventArgs args)
Parameters:argsVirtualGridCellElementEventArgs

The VirtualGridCellElementEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCellMouseMove(VirtualGridCellElementMouseEventArgs args)
Parameters:argsVirtualGridCellElementMouseEventArgs

The VirtualGridCellElementMouseEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCellPaint(VirtualGridCellElement cell, IGraphics g)
Parameters:cellVirtualGridCellElement

The cell.

gIGraphics

The g.

Raises the event.

C#
protected virtual void OnCellValidating(VirtualGridCellValidatingEventArgs args)
Parameters:argsVirtualGridCellValidatingEventArgs

The VirtualGridCellValidatingEventArgs instance containing the event data.

Fires the event.

C#
protected virtual void OnCellValueNeeded(VirtualGridCellValueNeededEventArgs args)
Parameters:argsVirtualGridCellValueNeededEventArgs

The event arguments.

Raises the event.

C#
protected virtual void OnCellValuePushed(VirtualGridCellValuePushedEventArgs args)
Parameters:argsVirtualGridCellValuePushedEventArgs

The VirtualGridCellValuePushedEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnColumnWidthChanged(VirtualGridColumnEventArgs args)
Parameters:argsVirtualGridColumnEventArgs

The VirtualGridColumnEventArgs instance containing the event data.

Raises the event.

C#
protected virtual bool OnColumnWidthChanging(VirtualGridColumnWidthChangingEventArgs args)
Parameters:argsVirtualGridColumnWidthChangingEventArgs

The VirtualGridColumnWidthChangingEventArgs instance containing the event data.

Returns:

bool

Raises the event.

C#
protected virtual bool OnContextMenuOpening(VirtualGridContextMenuOpeningEventArgs args)
Parameters:argsVirtualGridContextMenuOpeningEventArgs

The VirtualGridContextMenuOpeningEventArgs instance containing the event data.

Returns:

bool

Raises the event.

C#
protected virtual void OnCopying(VirtualGridClipboardEventArgs args)
Parameters:argsVirtualGridClipboardEventArgs

The VirtualGridClipboardEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCreateCellElement(VirtualGridCreateCellEventArgs e)
Parameters:eVirtualGridCreateCellEventArgs

The VirtualGridCreateCellEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCreateRowElement(VirtualGridCreateRowEventArgs e)
Parameters:eVirtualGridCreateRowEventArgs

The VirtualGridCreateRowEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCurrentCellChanged(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

Raises the event.

C#
protected virtual bool OnCurrentCellChanging(VirtualGridCellInfo cellInfo)
Parameters:cellInfoVirtualGridCellInfo

The cell info.

Returns:

bool

Raises the event.

C#
protected virtual void OnEditorRequired(VirtualGridEditorRequiredEventArgs args)
Parameters:argsVirtualGridEditorRequiredEventArgs

The VirtualGridEditorRequiredEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnFilterDescriptorsChanged(VirtualGridViewInfo viewInfo)
Parameters:viewInfoVirtualGridViewInfo

The view information.

Raises the event.

C#
protected virtual void OnPageIndexChanged(VirtualGridEventArgs args)
Parameters:argsVirtualGridEventArgs

The VirtualGridEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnPageIndexChanging(VirtualGridPageChangingEventArgs args)
Parameters:argsVirtualGridPageChangingEventArgs

The VirtualGridPageChangingEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnPasting(VirtualGridClipboardEventArgs args)
Parameters:argsVirtualGridClipboardEventArgs

The VirtualGridClipboardEventArgs instance containing the event data.

Raises the event.

C#
protected virtual bool OnQueryHasChildRows(int rowIndex, VirtualGridViewInfo viewInfo)
Parameters:rowIndexint

The index of the row.

viewInfoVirtualGridViewInfo

The view info of the row.

Returns:

bool

Raises the event.

C#
protected virtual void OnRowCollapsed(VirtualGridRowExpandedEventArgs args)
Parameters:argsVirtualGridRowExpandedEventArgs

The VirtualGridRowExpandedEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnRowCollapsing(VirtualGridRowExpandingEventArgs args)
Parameters:argsVirtualGridRowExpandingEventArgs

The VirtualGridRowExpandingEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnRowExpanded(VirtualGridRowExpandedEventArgs args)
Parameters:argsVirtualGridRowExpandedEventArgs

The VirtualGridRowExpandedEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnRowExpanding(VirtualGridRowExpandingEventArgs args)
Parameters:argsVirtualGridRowExpandingEventArgs

The VirtualGridRowExpandingEventArgs instance containing the event data.

Fires the event.

C#
protected virtual void OnRowFormatting(VirtualGridRowElementEventArgs args)
Parameters:argsVirtualGridRowElementEventArgs

The VirtualGridRowElementEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnRowHeightChanged(VirtualGridRowEventArgs args)
Parameters:argsVirtualGridRowEventArgs

The VirtualGridRowEventArgs instance containing the event data.

Raises the event.

C#
protected virtual bool OnRowHeightChanging(VirtualGridRowHeightChangingEventArgs args)
Parameters:argsVirtualGridRowHeightChangingEventArgs

The VirtualGridRowHeightChangingEventArgs instance containing the event data.

Returns:

bool

Raises the event.

C#
protected virtual void OnRowPaint(VirtualGridRowElement row, IGraphics g)
Parameters:rowVirtualGridRowElement

The row.

gIGraphics

The g.

Raises the event.

C#
protected virtual void OnRowValidated(VirtualGridRowEventArgs e)
Parameters:eVirtualGridRowEventArgs

The VirtualGridRowEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnRowValidating(VirtualGridRowValidatingEventArgs e)
Parameters:eVirtualGridRowValidatingEventArgs

The VirtualGridRowValidatingEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnSelectionChanged(object sender, EventArgs e)
Parameters:senderobject

The sender.

eEventArgs

The EventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnSelectionChanging(object sender, VirtualGridSelectionChangingEventArgs e)
Parameters:senderobject

The sender.

eVirtualGridSelectionChangingEventArgs

The VirtualGridSelectionChangingEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnSortDescriptorsChanged(VirtualGridViewInfo viewInfo)
Parameters:viewInfoVirtualGridViewInfo

The view info.

Raises the event.

C#
protected virtual void OnUserDeletedRow(VirtualGridRowsEventArgs e)
Parameters:eVirtualGridRowsEventArgs

The VirtualGridRowsEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnValueChanged(object sender, EventArgs e)
Parameters:senderobject

The source of the event.

eEventArgs

The EventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnValueChanging(object sender, ValueChangingEventArgs e)
Parameters:senderobject

The source of the event.

eValueChangingEventArgs

The ValueChangingEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnViewInfoPropertyChanged(VirtualGridViewInfo viewInfo, string propertyName)
Parameters:viewInfoVirtualGridViewInfo

The view info.

propertyNamestring

Name of the property.

Pastes the content of the clipboard into starting from the current cell and going on until either the available cells or the clipboard content ends.

C#
public virtual bool Paste()
Returns:

bool

True if the operation is successful, otherwise false.

Processes the content of the cells in the specified region and returns a string to be places in the clipboard.

C#
protected virtual string ProcessContent(string format, int startRow, int startColumn, int endRow, int endColumn, VirtualGridViewInfo viewInfo, bool selectedOnly, bool cut)
Parameters:formatstring

The format of the data that should be returned.

startRowint

The index of the row where the content processing should start.

startColumnint

The index of the column where the content processing should start.

endRowint

The index of the row where the content processing should end.

endColumnint

The index of the column where the content processing should end.

viewInfoVirtualGridViewInfo

The view info of the cell region.

selectedOnlybool

Determines whether only selected cells are processed.

cutbool

Determines whether cell values should be cleared after they are processed.

Returns:

string

Sets the value of a given cell to the specified value.

C#
public void SetCellValue(object value, int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo)
Parameters:valueobject

The new value for the cell.

rowIndexint

The row index of the cell.

columnIndexint

The column index of the cell.

viewInfoVirtualGridViewInfo

The view info of the cell.

Sets the pin position of the specified column.

C#
public void SetColumnPinPosition(int columnIndex, PinnedColumnPosition pinPosition)
Parameters:columnIndexint

The index of the column.

pinPositionPinnedColumnPosition

The new pin position.

Sets the width of the column at the specified column index in the master view info.

C#
public void SetColumnWidth(int columnIndex, int width)
Parameters:columnIndexint

The index of the column

widthint

The new width of the column.

Sets the width of the columns at the specified column indices in the master view info.

C#
public void SetColumnWidth(int width, params int[] columnIndices)
Parameters:widthint

The new width of the columns.

columnIndicesint[]

The indices of the columns.

Sets the specified cell as the current cell.

C#
protected virtual bool SetCurrentCell(VirtualGridCellInfo value)
Parameters:valueVirtualGridCellInfo

The cell to mark as current.

Returns:

bool

True if the operation is successful, otherwise false.

Sets the height of the row at the specified row index in the master view info.

C#
public void SetRowHeight(int rowIndex, int height)
Parameters:rowIndexint

The index of the row.

heightint

The new height of the row.

Sets the height of the rows at the specified row indices in the master view info.

C#
public void SetRowHeight(int height, params int[] rowIndices)
Parameters:heightint

The new height of the rows.

rowIndicesint[]

The indices of the rows.

Sets the pin position of the specified row.

C#
public void SetRowPinPosition(int rowIndex, PinnedRowPosition pinPosition)
Parameters:rowIndexint

The index of the row.

pinPositionPinnedRowPosition

The new pin position.

Events

Occurs when a cell is clicked.

C#
public event VirtualGridCellElementEventHandler CellClick

Occurs when a cell is double clicked.

C#
public event EventHandler CellDoubleClick

Occurs when the editor of a cell is initialized.

C#
public event VirtualGridCellEditorInitializedEventHandler CellEditorInitialized

Occurs when a cell is updated and needs formatting.

C#
public event VirtualGridCellElementEventHandler CellFormatting

Occurs when the mouse is moved over a cell.

C#
public event VirtualGridCellElementMouseEventHandler CellMouseMove

Occurs after a cell is painted allowing users to draw on top of it.

C#
public event VirtualGridCellPaintEventHandler CellPaint

Occurs before a cell is validated.

C#
public event VirtualGridCellValidatingEventHandler CellValidating

Occurs when a cell is displayed and its content should be updated.

C#
public event VirtualGridCellValueNeededEventHandler CellValueNeeded

Occurs when a cell value is edited and should be stored in the data source.

C#
public event VirtualGridCellValuePushedEventHandler CellValuePushed

Occurs after the width of a column changes.

C#
public event VirtualGridColumnEventHandler ColumnWidthChanged

Occurs before the width of a column changes.

C#
public event VirtualGridColumnWidthChangingEventHandler ColumnWidthChanging

Occurs when the context menu is about to be opened.

C#
public event VirtualGridContextMenuOpeningEventHandler ContextMenuOpening

Occurs when the content of cell(s) is copied. Allows users to modify the operation or content.

C#
public event VirtualGridClipboardEventHandler Copying

Occurs when a new cell element has to be created.

C#
public event VirtualGridCreateCellEventHandler CreateCellElement

Occurs when a new row element has to be created.

C#
public event VirtualGridCreateRowEventHandler CreateRowElement

Occurs after the current cell changes.

C#
public event EventHandler CurrentCellChanged

Occurs before the current cell changes.

C#
public event VirtualGridCellInfoCancelEventHandler CurrentCellChanging

Occurs when an editor for a cell is required.

C#
public event VirtualGridEditorRequiredEventHandler EditorRequired

Occurs when the filter descriptors collection changes.

C#
public event VirtualGridEventHandler FilterDescriptorsChanged

Occurs after the current page index changes.

C#
public event VirtualGridEventHandler PageIndexChanged

Occurs before the current page index changes.

C#
public event VirtualGridPageChangingEventHandler PageIndexChanging

Occurs when the content of cell(s) is about to be pasted. Allows users to modify the operation or content.

C#
public event VirtualGridClipboardEventHandler Pasting

Occurs when a row has to determine if it has child rows.

C#
public event VirtualGridQueryHasChildRowsEventHandler QueryHasChildRows

Occurs after a row is collapsed.

C#
public event VirtualGridRowExpandedEventHandler RowCollapsed

Occurs before a row is collapsed.

C#
public event VirtualGridRowExpandingEventHandler RowCollapsing

Occurs after a row is expanded.

C#
public event VirtualGridRowExpandedEventHandler RowExpanded

Occurs before a row is expanded.

C#
public event VirtualGridRowExpandingEventHandler RowExpanding

Occurs when a row is updated and needs formatting.

C#
public event VirtualGridRowElementEventHandler RowFormatting

Occurs after a row height changes.

C#
public event VirtualGridRowEventHandler RowHeightChanged

Occurs before a row height changes.

C#
public event VirtualGridRowHeightChangingEventHandler RowHeightChanging

Occurs after a row is painted allowing users to draw on top of it.

C#
public event VirtualGridRowPaintEventHandler RowPaint

Occurs after a row is validated.

C#
public event VirtualGridRowEventHandler RowValidated

Occurs before a row is validated.

C#
public event VirtualGridRowValidatingEventHandler RowValidating

Occurs after the selection changes.

C#
public event EventHandler SelectionChanged

Occurs before the selection changes.

C#
public event VirtualGridSelectionChangingEventHandler SelectionChanging

Occurs when the sort descriptors collection changes.

C#
public event VirtualGridEventHandler SortDescriptorsChanged

Occurs when a user adds a row.

C#
public event VirtualGridNewRowEventHandler UserAddedRow

Occurs when a user deletes a row.

C#
public event VirtualGridRowsEventHandler UserDeletedRow

Occurs after the value of a cell has been changed.

C#
public event EventHandler ValueChanged

Occurs before the value of a cell is changed.

C#
public event ValueChangingEventHandler ValueChanging

Occurs when a property of the view info changes.

C#
public event VirtualGridViewInfoPropertyChangedEventHandler ViewInfoPropertyChanged
In this article
DefinitionConstructorsRadVirtualGridElement()PropertiesActiveEditorAllowAddNewRowAllowCellContextMenuAllowColumnHeaderContextMenuAllowColumnResizeAllowCopyAllowCutAllowDeleteAllowEditAllowFilteringAllowMultiColumnSortingAllowPasteAllowRowResizeAllowSortingBeginEditModeColumnCountContextMenuCurrentCellEnableAlternatingRowColorEnablePagingEnterKeyModeFilterDescriptorsInputBehaviorIsInEditModeMasterViewInfoMultiSelectPageIndexPageSizeRowCountSelectionSelectionModeShowHeaderRowShowNoDataTextSortDescriptorsStandardTabTableElementTotalPagesUseScrollbarsInHierarchyMethodsBeginEdit()BeginEdit(VirtualGridCellElement)BeginUpdate()BestFitColumn(int, VirtualGridViewInfo)BestFitColumn(int)BestFitColumns()BestFitColumns(VirtualGridViewInfo)CancelEdit()CanEndEdit()CollapseRow(int)CommitNewRow()CopySelection()CopyToClipboard(int, int, int, int, VirtualGridViewInfo, bool, bool)CopyToClipboard(int, int, int, int, VirtualGridViewInfo)CreateChildElements()CreateTableElement(RadVirtualGridElement, VirtualGridViewInfo)CutSelection()DeleteRow(IEnumerable<int>, VirtualGridViewInfo)DeleteSelectedRow()DisposeManagedResources()DpiScaleChanged(SizeF)EndEdit()EndUpdate()EnsureCellVisible(int, int, VirtualGridTableElement)EnsureCellVisible(int, int, VirtualGridViewInfo)EnsureCellVisible(int, int)EnsureRowVisible(int, VirtualGridTableElement)EnsureRowVisible(int, VirtualGridViewInfo)EnsureRowVisible(int)ExpandRow(int)FindCellElement(int, int, VirtualGridViewInfo)GetCellElement(int, int, VirtualGridTableElement)GetCellElement(int, int, VirtualGridViewInfo)GetColumnScrollOffset(int, VirtualGridTableElement)GetColumnScrollOffset(int, VirtualGridViewInfo)GetColumnWidth(int)GetDefaultEditor(object)GetEditor(Type)GetRowElement(int, VirtualGridTableElement)GetRowElement(int, VirtualGridViewInfo)GetRowHeight(int)GetRowScrollOffset(int, VirtualGridTableElement)GetRowScrollOffset(int, VirtualGridViewInfo)GetTableElement(VirtualGridViewInfo)InitializeEditor(IInputEditor, VirtualGridCellElement)IsColumnPinned(int)IsRowExpanded(int)IsRowPinned(int)MoveCurrent(int, int, bool)MoveCurrentDown(bool)MoveCurrentLeft(bool)MoveCurrentRight(bool)MoveCurrentUp(bool)OnCellClick(VirtualGridCellElementEventArgs)OnCellDoubleClick(VirtualGridCellElementEventArgs)OnCellEditorInitialized(VirtualGridCellEditorInitializedEventArgs)OnCellFormatting(VirtualGridCellElementEventArgs)OnCellMouseMove(VirtualGridCellElementMouseEventArgs)OnCellPaint(VirtualGridCellElement, IGraphics)OnCellValidating(VirtualGridCellValidatingEventArgs)OnCellValueNeeded(VirtualGridCellValueNeededEventArgs)OnCellValuePushed(VirtualGridCellValuePushedEventArgs)OnColumnWidthChanged(VirtualGridColumnEventArgs)OnColumnWidthChanging(VirtualGridColumnWidthChangingEventArgs)OnContextMenuOpening(VirtualGridContextMenuOpeningEventArgs)OnCopying(VirtualGridClipboardEventArgs)OnCreateCellElement(VirtualGridCreateCellEventArgs)OnCreateRowElement(VirtualGridCreateRowEventArgs)OnCurrentCellChanged(EventArgs)OnCurrentCellChanging(VirtualGridCellInfo)OnEditorRequired(VirtualGridEditorRequiredEventArgs)OnFilterDescriptorsChanged(VirtualGridViewInfo)OnPageIndexChanged(VirtualGridEventArgs)OnPageIndexChanging(VirtualGridPageChangingEventArgs)OnPasting(VirtualGridClipboardEventArgs)OnQueryHasChildRows(int, VirtualGridViewInfo)OnRowCollapsed(VirtualGridRowExpandedEventArgs)OnRowCollapsing(VirtualGridRowExpandingEventArgs)OnRowExpanded(VirtualGridRowExpandedEventArgs)OnRowExpanding(VirtualGridRowExpandingEventArgs)OnRowFormatting(VirtualGridRowElementEventArgs)OnRowHeightChanged(VirtualGridRowEventArgs)OnRowHeightChanging(VirtualGridRowHeightChangingEventArgs)OnRowPaint(VirtualGridRowElement, IGraphics)OnRowValidated(VirtualGridRowEventArgs)OnRowValidating(VirtualGridRowValidatingEventArgs)OnSelectionChanged(object, EventArgs)OnSelectionChanging(object, VirtualGridSelectionChangingEventArgs)OnSortDescriptorsChanged(VirtualGridViewInfo)OnUserDeletedRow(VirtualGridRowsEventArgs)OnValueChanged(object, EventArgs)OnValueChanging(object, ValueChangingEventArgs)OnViewInfoPropertyChanged(VirtualGridViewInfo, string)Paste()ProcessContent(string, int, int, int, int, VirtualGridViewInfo, bool, bool)SetCellValue(object, int, int, VirtualGridViewInfo)SetColumnPinPosition(int, PinnedColumnPosition)SetColumnWidth(int, int)SetColumnWidth(int, params int[])SetCurrentCell(VirtualGridCellInfo)SetRowHeight(int, int)SetRowHeight(int, params int[])SetRowPinPosition(int, PinnedRowPosition)EventsCellClickCellDoubleClickCellEditorInitializedCellFormattingCellMouseMoveCellPaintCellValidatingCellValueNeededCellValuePushedColumnWidthChangedColumnWidthChangingContextMenuOpeningCopyingCreateCellElementCreateRowElementCurrentCellChangedCurrentCellChangingEditorRequiredFilterDescriptorsChangedPageIndexChangedPageIndexChangingPastingQueryHasChildRowsRowCollapsedRowCollapsingRowExpandedRowExpandingRowFormattingRowHeightChangedRowHeightChangingRowPaintRowValidatedRowValidatingSelectionChangedSelectionChangingSortDescriptorsChangedUserAddedRowUserDeletedRowValueChangedValueChangingViewInfoPropertyChanged
Not finding the help you need?
Contact Support