Class
RadListElement

Represents the main element that provides list functionality with virtualized scrolling and data binding capabilities.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadListElement : VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementScrollViewElement<VirtualizedStackContainer<RadListDataItem>>VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>RadListElement

Derived Classes: RadTextBoxListElement

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIImageElementINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider

Inherited Members VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.CreateChildElements()VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.WireEvents()VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.UnwireEvents()VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.CreateElementProvider()VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.CreateItemTraverser(IList<RadListDataItem>)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.CreateItemScroller()VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.InitializeItemScroller(ItemScroller<RadListDataItem>)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.InitializeViewElement(VirtualizedStackContainer<RadListDataItem>)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.DisposeManagedResources()VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.MeasureItem(RadListDataItem, SizeF)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.MeasureOverride(SizeF)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.GetItemDesiredSize(RadListDataItem)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.scroller_ScrollerUpdated(object, EventArgs)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.HScrollBar_ValueChanged(object, EventArgs)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.OnAutoSizeChanged()VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.GetElement(RadListDataItem)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.UpdateOnMeasure(SizeF)VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.UpdateFitToSizeMode()VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.ItemsVirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.ScrollerVirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.FitItemsToSizeVirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.OrientationVirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.AutoSizeItemsVirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.ItemSpacingScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.CreateChildElements()ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.CreateScrollBarElement()ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.InitializeViewElement(VirtualizedStackContainer<RadListDataItem>)ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.MeasureOverride(SizeF)ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.MeasureView(SizeF)ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.MeasureViewElement(SizeF)ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.ArrangeOverride(SizeF)ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.ArrangeViewElement(RectangleF)ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.ArrangeHScrollBar(ref RectangleF, RectangleF)ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.ArrangeVScrollBar(ref RectangleF, RectangleF, RectangleF)ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.HScrollBarScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.VScrollBarScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.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.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.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.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.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

RadListElement()

Creates a new instance of the RadListElement class.

Declaration

cs-api-definition
public RadListElement()

Fields

AlternatingItemColorProperty

Identifies the AlternatingItemColor dependency property that specifies the background color for alternating items.

Declaration

cs-api-definition
public static RadProperty AlternatingItemColorProperty

Field Value

RadProperty

CaseSensitiveSortProperty

Identifies the CaseSensitiveSort dependency property that controls whether sorting operations consider text case.

Declaration

cs-api-definition
public static readonly RadProperty CaseSensitiveSortProperty

Field Value

RadProperty

EnableAlternatingItemColorProperty

Identifies the EnableAlternatingItemColor dependency property that controls whether alternating item colors are applied.

Declaration

cs-api-definition
public static RadProperty EnableAlternatingItemColorProperty

Field Value

RadProperty

Properties

ActiveItem

Gets or sets the active item. This property is meaningful only when SelectionMode is MultiSimple or MultiExtended with the Control key pressed.

Declaration

cs-api-definition
[Browsable(false)]
public RadListDataItem ActiveItem { get; set; }

Property Value

RadListDataItem

AllowDragDrop

Gets or sets value indicating if the user can reorder items via drag and drop. Always false when kinetic scrolling is enabled.

Declaration

cs-api-definition
[Browsable(true)]
public bool AllowDragDrop { get; set; }

Property Value

bool

AlternatingItemColor

Gets or sets a value indidcating the alternating item color for odd items.

Declaration

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

Property Value

Color

CaseSensitiveSort

Gets or sets a value that indicates whether text case will be taken into account when sorting.

Declaration

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

Property Value

bool

DataLayer

Gets the data layer that manages the list's data operations and binding functionality.

Declaration

cs-api-definition
public ListDataLayer DataLayer { get; }

Property Value

ListDataLayer

DataMember

Gets or sets the name of the list or table in the data source for which the RadListElement is displaying data.

Declaration

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

Property Value

string

DataSource

Gets or sets the data source that provides items to be displayed in the list element.

Declaration

cs-api-definition
public object DataSource { get; set; }

Property Value

object

DescriptionTextMember

Gets or sets a string which will be used to get a description text string for each visual item. This property can not be set to null. Setting it to null will cause it to contain an empty string.

Declaration

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

Property Value

string

DisplayMember

Gets or sets a string which will be used to get a text string for each visual item. This property can not be set to null. Setting it to null will cause it to contain an empty string.

Declaration

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

Property Value

string

DragDropService

Declaration

cs-api-definition
public ListControlDragDropService DragDropService { get; set; }

Property Value

ListControlDragDropService

EnableAlternatingItemColor

Gets or sets a value indicating whether alternating item color is enabled.

Declaration

cs-api-definition
[Browsable(true)]
public virtual bool EnableAlternatingItemColor { get; set; }

Property Value

bool

EnableKineticScrolling

Gets or sets a value indicating whether kinetic scrolling is enabled.

Declaration

cs-api-definition
[Browsable(true)]
public bool EnableKineticScrolling { get; set; }

Property Value

bool

Filter

Gets or sets a Predicate that will be called for every data item in order to determine if the item will be visible.

Declaration

cs-api-definition
public Predicate<RadListDataItem> Filter { get; set; }

Property Value

Predicate<RadListDataItem>

FilterExpression

Gets or sets a filter expression that determines which items will be visible.

Declaration

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

Property Value

string

FindStringComparer

Gets or sets an object that implements IFindStringComparer. The value of this property is used in the FindString() method when searching for an item.

Declaration

cs-api-definition
[Browsable(false)]
public IFindStringComparer FindStringComparer { get; set; }

Property Value

IFindStringComparer

FitItemsToSize

Gets or sets a value indicating whether items fit to size.

Declaration

cs-api-definition
public override bool FitItemsToSize { get; set; }

Property Value

bool

true if [fit items to size]; otherwise, false.

Overrides VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.FitItemsToSize

FormatInfo

Gets or sets an object that implements the IFormatProvider interface. This object is used when formatting items. The default object is CultureInfo.CurrentCulture.

Declaration

cs-api-definition
[Browsable(false)]
public IFormatProvider FormatInfo { get; set; }

Property Value

IFormatProvider

FormatString

Gets or sets a format string that will be used for visual item formatting if FormattingEnabled is set to true.

Declaration

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

Property Value

string

FormattingEnabled

Gets or sets a value that determines whether text formatting is enabled for the visual items.

Declaration

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

Property Value

bool

HasSelectedValueChanged

Gets a value indicating whether the SelectedValue property is different after the selection last changed.

Declaration

cs-api-definition
protected bool HasSelectedValueChanged { get; }

Property Value

bool

IsDescriptionText

Declaration

cs-api-definition
protected virtual bool IsDescriptionText { get; set; }

Property Value

bool

IsFilterActive

Gets a boolean value that indicates whether the is a filter currently set either with the Filter or FilterExpression properties.

Declaration

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

Property Value

bool

IsUpdating

Gets a value indicating whether the element is currently in an updating state (between BeginUpdate and EndUpdate calls).

Declaration

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

Property Value

bool

ItemHeight

Gets or sets the item height for the items. This property is disregarded when AutoSizeItems is set to true.

Declaration

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

Property Value

int

ItemTextComparisonMode

Gets or sets a value that determines whether the FindString() method searches via the text property set by the user or by the text provided by the data binding logic, that is, by DisplayMember.

Declaration

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

Property Value

ItemTextComparisonMode

ItemsSortComparer

Gets or sets an object that implements IComparer and sorts the items according to its logic.

Declaration

cs-api-definition
[Browsable(false)]
public IComparer<RadListDataItem> ItemsSortComparer { get; set; }

Property Value

IComparer<RadListDataItem>

KeyboardSearchEnabled

Gets or sets a value that determines whether the user can search for an item by typing characters when RadListElement is focused.

Declaration

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

Property Value

bool

KeyboardSearchResetInterval

Gets or sets a value that specifies how long the user must wait before searching with the keyboard is reset. The default value of this property is 300 ms.

Declaration

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

Property Value

int

ReadOnly

Gets or sets a value indicating whether the drop down list is read only.

Declaration

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

Property Value

bool

true if the drop down list is read only; otherwise, false.

ScrollBehavior

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

Declaration

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

Property Value

ScrollServiceBehavior

ScrollMode

Gets or sets the scrolling mode.

Declaration

cs-api-definition
[Browsable(false)]
public ItemScrollerScrollModes ScrollMode { get; set; }

Property Value

ItemScrollerScrollModes

SelectedIndex

Gets or sets the position of the selection. Setting this property will cause the SelectedIndexChanging and SelectedIndexChanged events to fire.

Declaration

cs-api-definition
[Browsable(false)]
public int SelectedIndex { get; set; }

Property Value

int

SelectedItem

Gets or sets the selected logical list item. Setting this property will cause the selection events to fire.

Declaration

cs-api-definition
[Browsable(false)]
public RadListDataItem SelectedItem { get; set; }

Property Value

RadListDataItem

SelectedItems

Provides a readonly interface to the currently selected items.

Declaration

cs-api-definition
public IReadOnlyCollection<RadListDataItem> SelectedItems { get; }

Property Value

IReadOnlyCollection<RadListDataItem>

SelectedValue

Gets or sets the currently selected value. Setting the SelectedValue to a value that is shared between many items causes the first item to be selected. This property triggers the selection events.

Declaration

cs-api-definition
[Browsable(false)]
public object SelectedValue { get; set; }

Property Value

object

SelectionMode

Gets or sets the SelectionMode which determines selection behavior of RadListElement.

Declaration

cs-api-definition
[Browsable(false)]
public SelectionMode SelectionMode { get; set; }

Property Value

SelectionMode

SortStyle

Gets or sets the sort style. It can be Ascending, Descending or None. Sorting is performed according to the property specified by DisplayMember.

Declaration

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

Property Value

SortStyle

SuspendItemsChangeEvents

Gets or sets a value that indicates if this RadListElement will stop firing the ItemsChanging and ItemsChanged events.

Declaration

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

Property Value

bool

SuspendSelectionEvents

Gets or sets a value that determines whether to stop the selection events from firing. These are SelectedIndexChanged, SelectedIndexChanging and SelectedValueChanged.

Declaration

cs-api-definition
[Browsable(false)]
public bool SuspendSelectionEvents { get; set; }

Property Value

bool

ValueMember

Gets or sets the string through which the SelectedValue property will be determined. This property can not be set to null. Setting it to null will cause it to contain an empty string.

Declaration

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

Property Value

string

Methods

BeginUpdate()

Suspends internal notifications and processing in order to improve performance. This method is cumulative, that is, if BeginUpdate is called N times, EndUpdate must also be called N times.

Declaration

cs-api-definition
public void BeginUpdate()

ClearSelected()

Declaration

cs-api-definition
public void ClearSelected()

CreateDataLayer()

Creates an instance of the data layer responsible for managing items in both bound and unbound modes.

Declaration

cs-api-definition
protected virtual ListDataLayer CreateDataLayer()

Returns

ListDataLayer

A new ListDataLayer instance.

CreateElementProvider()

Creates an instance of the element provider responsible for mapping between logical and visual items and determining when visual items need updates.

Declaration

cs-api-definition
protected override IVirtualizedElementProvider<RadListDataItem> CreateElementProvider()

Returns

IVirtualizedElementProvider<RadListDataItem>

A new IVirtualizedElementProvider<T> instance.

Overrides VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.CreateElementProvider()

CreateStringComparer()

Declaration

cs-api-definition
protected virtual IFindStringComparer CreateStringComparer()

Returns

IFindStringComparer

CreateViewElement()

Creates an instance of the visual container element responsible for arranging and displaying visual items in the list layout.

Declaration

cs-api-definition
protected override VirtualizedStackContainer<RadListDataItem> CreateViewElement()

Returns

VirtualizedStackContainer<RadListDataItem>

A new VirtualizedStackContainer<T> instance.

Overrides ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.CreateViewElement()

DataViewGroupPredicate(RadListDataItem, int)

Declaration

cs-api-definition
protected object DataViewGroupPredicate(RadListDataItem item, int level)

Parameters

item

RadListDataItem

level

int

Returns

object

DataView_PropertyChanged(object, PropertyChangedEventArgs)

Declaration

cs-api-definition
protected void DataView_PropertyChanged(object sender, PropertyChangedEventArgs e)

Parameters

sender

object

e

PropertyChangedEventArgs

DeferRefresh()

Defers the refresh.

Declaration

cs-api-definition
public virtual IDisposable DeferRefresh()

Returns

IDisposable

DisposeManagedResources()

Disposes of managed resources including cached images and SVG images when the element is being disposed.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.DisposeManagedResources()

DpiScaleChanged(SizeF)

Called when the DPI scale factor changes. Updates the scale factor and notifies child elements.

Declaration

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

Parameters

scaleFactor

SizeF

The new DPI scale factor.

Overrides RadElement.DpiScaleChanged(SizeF)

EndUpdate()

Resumes the internal notifications and processing previously suspended by BeginUpdate.

Declaration

cs-api-definition
public void EndUpdate()

FindItemExact(string, bool)

Finds the first item in the RadList control that matches the specified string.

Declaration

cs-api-definition
public RadListDataItem FindItemExact(string text, bool caseSensitive)

Parameters

text

string

The string to search for.

caseSensitive

bool

Determines whether the search is case sensitive or not.

Returns

RadListDataItem

The zero-based index of the first item found; returns null if no match is found.

FindParentListVisualItem(RadElement)

Declaration

cs-api-definition
protected RadListVisualItem FindParentListVisualItem(RadElement child)

Parameters

child

RadElement

Returns

RadListVisualItem

FindString(string)

Searches for an item related to the specified string. The relation is described by the object assigned to FindStringComparer property. By default this relation is the System.String.StartsWith(). This method starts searching from the beginning of the items.

Declaration

cs-api-definition
public int FindString(string s)

Parameters

s

string

The string with which every item will be compared.

Returns

int

The index of the found item or -1 if no item is found.

FindString(string, int)

Searches for an item related to the specified string. The relation is described by the object assigned to FindStringComparer property. By default FindStringComparer uses the System.String.StartsWith() method. This method starts searching from the specified index. If the algorithm reaches the end of the Items collection it wraps to the beginning and continues until one before the provided index.

Declaration

cs-api-definition
public int FindString(string s, int startIndex)

Parameters

s

string

The string with which every item will be compared.

startIndex

int

The index from which to start searching.

Returns

int

The index of the found item or -1 if no item is found.

FindStringExact(string)

Searches for an item in the same manner as FindString() but matches an item only if its text is exactly equal to the provided string.

Declaration

cs-api-definition
public int FindStringExact(string s)

Parameters

s

string

Returns

int

FindStringExact(string, int)

Searches for an item in the same manner as FindString() but matches an item only if its text is exactly equal to the provided string.

Declaration

cs-api-definition
public int FindStringExact(string s, int startIndex)

Parameters

s

string

startIndex

int

Returns

int

FindStringNonWrapping(string)

Searches for an item in the same manner as FindString() but does not start from the beginning when the end of the Items collection is reached.

Declaration

cs-api-definition
public int FindStringNonWrapping(string s)

Parameters

s

string

The string that will be used to search for an item.

Returns

int

The index of the found item or -1 if no item is found.

FindStringNonWrapping(string, int)

Searches for an item in the same manner as FindString() but does not start from the beginning when the end of the Items collection is reached.

Declaration

cs-api-definition
public int FindStringNonWrapping(string s, int startIndex)

Parameters

s

string

The string that will be used to search for an item.

startIndex

int

The index from which to start searching.

Returns

int

The index of the found item or -1 if no item is found.

GetDefaultItemHeight()

Declaration

cs-api-definition
protected virtual int GetDefaultItemHeight()

Returns

int

GetFirstVisibleItemIndex()

Gets the index of the first visible item.

Declaration

cs-api-definition
protected int GetFirstVisibleItemIndex()

Returns

int

GetIndex(RadListDataItem)

Returns the index of the provided list data item. This index determines the items position in the data view.

Declaration

cs-api-definition
protected int GetIndex(RadListDataItem item)

Parameters

item

RadListDataItem

The index for which to return an index.

Returns

int

Returns the index of the provided item.

GetLastVisibleItemIndex()

Gets the index of the last visible item.

Declaration

cs-api-definition
protected int GetLastVisibleItemIndex()

Returns

int

GetMiddleVisibleItemIndex()

Gets the index of the middle visible item.

Declaration

cs-api-definition
protected int GetMiddleVisibleItemIndex()

Returns

int

GetMinorScrollOffset(int)

Declaration

cs-api-definition
protected int GetMinorScrollOffset(int direction)

Parameters

direction

int

Returns

int

HScrollBar_ValueChanged(object, EventArgs)

Declaration

cs-api-definition
protected override void HScrollBar_ValueChanged(object sender, EventArgs e)

Parameters

sender

object

e

EventArgs

Overrides VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.HScrollBar_ValueChanged(object, EventArgs)

HandleItemsAdded(NotifyCollectionChangedEventArgs)

Declaration

cs-api-definition
protected virtual void HandleItemsAdded(NotifyCollectionChangedEventArgs args)

Parameters

args

NotifyCollectionChangedEventArgs

HandleItemsRemoved(NotifyCollectionChangedEventArgs)

Declaration

cs-api-definition
protected virtual void HandleItemsRemoved(NotifyCollectionChangedEventArgs args)

Parameters

args

NotifyCollectionChangedEventArgs

HandleItemsReplaced(NotifyCollectionChangedEventArgs)

Declaration

cs-api-definition
protected virtual void HandleItemsReplaced(NotifyCollectionChangedEventArgs args)

Parameters

args

NotifyCollectionChangedEventArgs

HandleItemsReset(NotifyCollectionChangedEventArgs)

Declaration

cs-api-definition
protected virtual void HandleItemsReset(NotifyCollectionChangedEventArgs args)

Parameters

args

NotifyCollectionChangedEventArgs

InitializeFields()

Initializes the fields and components required for the list element functionality.

Declaration

cs-api-definition
protected override void InitializeFields()

Overrides ScrollViewElement<VirtualizedStackContainer<RadListDataItem>>.InitializeFields()

InitializeItemScroller(ItemScroller<RadListDataItem>)

Initializes the item scroller with appropriate settings for the list control.

Declaration

cs-api-definition
protected override void InitializeItemScroller(ItemScroller<RadListDataItem> scroller)

Parameters

scroller

ItemScroller<RadListDataItem>

The ItemScroller<T> to initialize.

Overrides VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.InitializeItemScroller(ItemScroller<RadListDataItem>)

IsIndexValid(int)

Determines whether the provided index is in the range [0, Items.Count)

Declaration

cs-api-definition
protected bool IsIndexValid(int value)

Parameters

value

int

The index to validate.

Returns

bool

Returns true if the index is inside [0, Items.Count) and false otherwise.

IsItemPartiallyVisible(RadListVisualItem)

Determines if the provided visual item intersects the view but is not contained in it.

Declaration

cs-api-definition
protected bool IsItemPartiallyVisible(RadListVisualItem item)

Parameters

item

RadListVisualItem

Returns

bool

ItemFullyVisible(RadListDataItem)

This method returns true if the ActiveItem is fully visible.

Declaration

cs-api-definition
protected bool ItemFullyVisible(RadListDataItem item)

Parameters

item

RadListDataItem

Returns

bool

OnActiveItemAdded(RadListDataItem)

Declaration

cs-api-definition
protected virtual void OnActiveItemAdded(RadListDataItem newItem)

Parameters

newItem

RadListDataItem

OnBoundsChanged(RadPropertyChangedEventArgs)

Handles the bounds changed event by updating the fill primitive implementation and invoking the base class handler.

Declaration

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

Parameters

e

RadPropertyChangedEventArgs

Event arguments containing information about the property change, including the old bounds value.

Overrides UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)

OnBubbleEvent(RadElement, RoutedEventArgs)

Called when the bubble phase of a routed event occurs.

Declaration

cs-api-definition
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)

Parameters

sender

RadElement

The element that originally raised the event.

args

RoutedEventArgs

The routed event arguments.

Overrides RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)

OnControlMouseDown(MouseEventArgs)

Declaration

cs-api-definition
public virtual bool OnControlMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

Returns

bool

OnControlMouseMove(MouseEventArgs)

Declaration

cs-api-definition
public virtual bool OnControlMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

Returns

bool

OnControlMouseUp(MouseEventArgs)

Declaration

cs-api-definition
public virtual bool OnControlMouseUp(MouseEventArgs e)

Parameters

e

MouseEventArgs

Returns

bool

OnCreatingVisualListItem(RadListDataItem, RadListVisualItem)

Fires the CreatingVisualItem event.

Declaration

cs-api-definition
protected virtual RadListVisualItem OnCreatingVisualListItem(RadListDataItem dataItem, RadListVisualItem item)

Parameters

dataItem

RadListDataItem

item

RadListVisualItem

Returns

RadListVisualItem

OnCreatingVisualListItem(RadListVisualItem)

Fires the CreatingVisualItem event.

Declaration

cs-api-definition
protected virtual RadListVisualItem OnCreatingVisualListItem(RadListVisualItem item)

Parameters

item

RadListVisualItem

Returns

RadListVisualItem

OnDataBindingComplete(object, ListBindingCompleteEventArgs)

Raises the DataBindingComplete event.

Declaration

cs-api-definition
protected virtual void OnDataBindingComplete(object sender, ListBindingCompleteEventArgs e)

Parameters

sender

object

e

ListBindingCompleteEventArgs

An ListBindingCompleteEventArgs instance that contains the event data.

OnDataItemPropertyChanged(object, RadPropertyChangedEventArgs)

Raises the DataItemPropertyChanged

Declaration

cs-api-definition
protected virtual void OnDataItemPropertyChanged(object sender, RadPropertyChangedEventArgs args)

Parameters

sender

object

args

RadPropertyChangedEventArgs

OnItemsChanged(NotifyCollectionChangedEventArgs)

Raises the ItemsChanged event with the provided arguments.

Declaration

cs-api-definition
protected virtual void OnItemsChanged(NotifyCollectionChangedEventArgs args)

Parameters

args

NotifyCollectionChangedEventArgs

The arguments that contain the data relevant to the items change.

OnItemsChanging(NotifyCollectionChangingEventArgs)

Raises the ItemsChanging event with the provided arguments.

Declaration

cs-api-definition
protected virtual void OnItemsChanging(NotifyCollectionChangingEventArgs args)

Parameters

args

NotifyCollectionChangingEventArgs

The arguments that contain the data relevant to the pending items change.

OnListItemDataBinding()

Fires the ItemDataBinding event.

Declaration

cs-api-definition
protected virtual RadListDataItem OnListItemDataBinding()

Returns

RadListDataItem

OnListItemDataBound(RadListDataItem)

Fires the ItemDataBound event.

Declaration

cs-api-definition
protected virtual void OnListItemDataBound(RadListDataItem newItem)

Parameters

newItem

RadListDataItem

OnLoaded()

Called when the element has been successfully loaded. That includes loading of all its children as well.

Declaration

cs-api-definition
protected override void OnLoaded()

Overrides LightVisualElement.OnLoaded()

OnMouseDown(MouseEventArgs)

Called when a mouse button is pressed down over the item.

Declaration

cs-api-definition
protected override void OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadItem.OnMouseDown(MouseEventArgs)

OnMouseWheel(int)

Performs scrolling logic depending on the delta from the mouse wheel.

Declaration

cs-api-definition
protected virtual void OnMouseWheel(int delta)

Parameters

delta

int

OnPanGesture(PanGestureEventArgs)

Fires the PanGesture event.

Declaration

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

Parameters

args

PanGestureEventArgs

The arguments for the PanGesture 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)

OnSelectedIndexChanged(int)

Fires the SelectedIndexChanged event.

Declaration

cs-api-definition
protected virtual void OnSelectedIndexChanged(int newIndex)

Parameters

newIndex

int

OnSelectedIndexChanging(int)

Fires the SelectedIndexChanging event.

Declaration

cs-api-definition
protected virtual bool OnSelectedIndexChanging(int newIndex)

Parameters

newIndex

int

Returns

bool

OnSelectedItemAdded(RadListDataItem)

Declaration

cs-api-definition
protected virtual void OnSelectedItemAdded(RadListDataItem newItem)

Parameters

newItem

RadListDataItem

OnSelectedValueChanged(int)

Fires the SelectedValueChanged event if SelectedValue has actually changed since many items can have the same value.

Declaration

cs-api-definition
protected virtual void OnSelectedValueChanged(int newIndex)

Parameters

newIndex

int

OnSortStyleChanged(SortStyle)

Fires the SortStyleChanged event.

Declaration

cs-api-definition
protected virtual void OnSortStyleChanged(SortStyle sortStyle)

Parameters

sortStyle

SortStyle

OnVisualItemFormatting(RadListVisualItem)

Fires the VisualItemFormattingeEvent with the provided visual item.

Declaration

cs-api-definition
protected virtual void OnVisualItemFormatting(RadListVisualItem item)

Parameters

item

RadListVisualItem

ProcessKeyboardSearch(char)

Finds an item with the text provided by an internal search buffer after the character argument is appended to the buffer. The search buffer is reset after a user defined time since the last character was typed. By default this is 300 ms. Users can set the KeyboardSearchResetInterval property to a custom interval.

Declaration

cs-api-definition
protected virtual void ProcessKeyboardSearch(char character)

Parameters

character

char

A character that will be appended to the search buffer.

Rebind()

Forces re-evaluation of the current data source (if any).

Declaration

cs-api-definition
public void Rebind()

ScrollByPage(int)

Declaration

cs-api-definition
public void ScrollByPage(int pageCount)

Parameters

pageCount

int

ScrollToActiveItem()

Scrolls to the active item if it is not null and if it is not fully visible.

Declaration

cs-api-definition
public void ScrollToActiveItem()

ScrollToItem(RadListDataItem)

Scrolls to the provided item so that the item will appear at the top of the view if it is before the currently visible items and at the bottom of the view if it is after the currently visible items.

Declaration

cs-api-definition
public void ScrollToItem(RadListDataItem item)

Parameters

item

RadListDataItem

The item to scroll to.

SelectAll()

Selects all items if the SelectionMode allows it.

Declaration

cs-api-definition
public void SelectAll()

Exceptions

InvalidOperationException

Selecting all items is not a valid operation in the current selection mode. SelectionMode = + this.selectionMode.ToString() + .

SelectRange(int, int)

Clears the currently selected items and selects all items in the closed range [startIndex, endIndex].

Declaration

cs-api-definition
public void SelectRange(int startIndex, int endIndex)

Parameters

startIndex

int

The first index at which to start selecting items.

endIndex

int

The index of one item past the last one to be selected.

SetSelectedIndex(int)

Sets the selected index to the specified value if it is different than the current value and fires the selection events. This method triggers selection events.

Declaration

cs-api-definition
protected virtual void SetSelectedIndex(int value)

Parameters

value

int

SetSelectedItem(RadListDataItem)

Sets the selected data item to the specified item. If the item is different than the current one the selection events will be fired. This method triggers selection events.

Declaration

cs-api-definition
protected void SetSelectedItem(RadListDataItem value)

Parameters

value

RadListDataItem

SetSelectedItemCore(RadListDataItem)

Declaration

cs-api-definition
protected virtual void SetSelectedItemCore(RadListDataItem item)

Parameters

item

RadListDataItem

SetSelectedValue(object)

Sets the SelectedItem and thus SelectedIndex to the logical item with the specified value. If there are many items with the same value the first item found will be selected. This method triggers selection events.

Declaration

cs-api-definition
protected virtual void SetSelectedValue(object value)

Parameters

value

object

The value for which to find an item.

SynchronizeVisualItems()

Syncronizes the properties of all visual elements with their data items.

Declaration

cs-api-definition
protected virtual void SynchronizeVisualItems()

UnwireEvents()

Performs events unsubscription from internal objects. The base implementation must always be called.

Declaration

cs-api-definition
protected override void UnwireEvents()

Overrides VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.UnwireEvents()

UpdateActiveItem(RadListDataItem, bool)

This method sets the provided item as active and the previous one to inactive. There can be only active item at a time.

Declaration

cs-api-definition
protected virtual void UpdateActiveItem(RadListDataItem item, bool active)

Parameters

item

RadListDataItem

The item to set to an active state.

active

bool

The value to which the Active property of item will be set.

UpdateItemTraverser()

Creates a new item traverser and updates the current. If group refresh is suspended this method has no effect.

Declaration

cs-api-definition
protected void UpdateItemTraverser()

WireEvents()

Performs events subscription to internal objects. The base implementation must always be called.

Declaration

cs-api-definition
protected override void WireEvents()

Overrides VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.WireEvents()

scroller_ScrollerUpdated(object, EventArgs)

Declaration

cs-api-definition
protected override void scroller_ScrollerUpdated(object sender, EventArgs e)

Parameters

sender

object

e

EventArgs

Overrides VirtualizedScrollPanel<RadListDataItem, RadListVisualItem>.scroller_ScrollerUpdated(object, EventArgs)

Events

CreatingVisualItem

This event fires while creating visual items. This happens on during initial layout and during resizing if the new size is larger and thus allowing more items to be visualized. The event provides a means to create a custom visual item.

Declaration

cs-api-definition
public event CreatingVisualListItemEventHandler CreatingVisualItem

Event Value

CreatingVisualListItemEventHandler

DataBindingComplete

Fires after data binding operation has finished.

Declaration

cs-api-definition
[Browsable(true)]
public event ListBindingCompleteEventHandler DataBindingComplete

Event Value

ListBindingCompleteEventHandler

DataItemPropertyChanged

This event fires whenever a RadProperty of a data item changes. This event is most often used to listen changes in Selected and Active properties of the data items.

Declaration

cs-api-definition
public event RadPropertyChangedEventHandler DataItemPropertyChanged

Event Value

RadPropertyChangedEventHandler

ItemDataBinding

This item fires for data item that is being created during data binding and fires before the ItemDataBound event. The event provides a means for changing the instance of the data item to a custom data item.

Declaration

cs-api-definition
public event ListItemDataBindingEventHandler ItemDataBinding

Event Value

ListItemDataBindingEventHandler

ItemDataBound

This event fires after a data item has been created and bound.

Declaration

cs-api-definition
public event ListItemDataBoundEventHandler ItemDataBound

Event Value

ListItemDataBoundEventHandler

ItemsChanged

This event fires whenever an item is added, removed, set or if the whole items collection was modified.

Declaration

cs-api-definition
public event NotifyCollectionChangedEventHandler ItemsChanged

Event Value

NotifyCollectionChangedEventHandler

ItemsChanging

This event fires right before adding, removing or setting an item. This event will not fire if an item is added to a data source directly because there is no way for RadListElement to be notified before the change.

Declaration

cs-api-definition
public event NotifyCollectionChangingEventHandler ItemsChanging

Event Value

NotifyCollectionChangingEventHandler

SelectedIndexChanged

This event fires when selected index changes. This always happens when the SelectedItem changes.

Declaration

cs-api-definition
public event PositionChangedEventHandler SelectedIndexChanged

Event Value

PositionChangedEventHandler

SelectedIndexChanging

This event fires before SelectedIndexChanged and provides a means for cancelling the whole selection operation. Someties this event will not fire since cancelling the change is not possible, for example when the DataSource is set to null.

Declaration

cs-api-definition
public event PositionChangingEventHandler SelectedIndexChanging

Event Value

PositionChangingEventHandler

SelectedItemsChanged

Declaration

cs-api-definition
public event NotifyCollectionChangedEventHandler SelectedItemsChanged

Event Value

NotifyCollectionChangedEventHandler

SelectedItemsChanging

Declaration

cs-api-definition
public event NotifyCollectionChangingEventHandler SelectedItemsChanging

Event Value

NotifyCollectionChangingEventHandler

SelectedValueChanged

This event fires when the SelectedValue changes. This is will not always fire when the SelectedItem or SelectedIndex changes because the new item may have the same value.

Declaration

cs-api-definition
public event EventHandler SelectedValueChanged

Event Value

EventHandler

SortStyleChanged

This event fires after the sorting style changes.

Declaration

cs-api-definition
public event SortStyleChangedEventHandler SortStyleChanged

Event Value

SortStyleChangedEventHandler

VisualItemFormatting

The visual item formatting fires whenever the state of a visible logical item changes and when scrolling.

Declaration

cs-api-definition
public event VisualListItemFormattingEventHandler VisualItemFormatting

Event Value

VisualListItemFormattingEventHandler

In this article
DefinitionConstructorsRadListElement()FieldsAlternatingItemColorPropertyCaseSensitiveSortPropertyEnableAlternatingItemColorPropertyPropertiesActiveItemAllowDragDropAlternatingItemColorCaseSensitiveSortDataLayerDataMemberDataSourceDescriptionTextMemberDisplayMemberDragDropServiceEnableAlternatingItemColorEnableKineticScrollingFilterFilterExpressionFindStringComparerFitItemsToSizeFormatInfoFormatStringFormattingEnabledHasSelectedValueChangedIsDescriptionTextIsFilterActiveIsUpdatingItemHeightItemTextComparisonModeItemsSortComparerKeyboardSearchEnabledKeyboardSearchResetIntervalReadOnlyScrollBehaviorScrollModeSelectedIndexSelectedItemSelectedItemsSelectedValueSelectionModeSortStyleSuspendItemsChangeEventsSuspendSelectionEventsValueMemberMethodsBeginUpdate()ClearSelected()CreateDataLayer()CreateElementProvider()CreateStringComparer()CreateViewElement()DataViewGroupPredicate(RadListDataItem, int)DataView_PropertyChanged(object, PropertyChangedEventArgs)DeferRefresh()DisposeManagedResources()DpiScaleChanged(SizeF)EndUpdate()FindItemExact(string, bool)FindParentListVisualItem(RadElement)FindString(string)FindString(string, int)FindStringExact(string)FindStringExact(string, int)FindStringNonWrapping(string)FindStringNonWrapping(string, int)GetDefaultItemHeight()GetFirstVisibleItemIndex()GetIndex(RadListDataItem)GetLastVisibleItemIndex()GetMiddleVisibleItemIndex()GetMinorScrollOffset(int)HScrollBar_ValueChanged(object, EventArgs)HandleItemsAdded(NotifyCollectionChangedEventArgs)HandleItemsRemoved(NotifyCollectionChangedEventArgs)HandleItemsReplaced(NotifyCollectionChangedEventArgs)HandleItemsReset(NotifyCollectionChangedEventArgs)InitializeFields()InitializeItemScroller(ItemScroller<RadListDataItem>)IsIndexValid(int)IsItemPartiallyVisible(RadListVisualItem)ItemFullyVisible(RadListDataItem)OnActiveItemAdded(RadListDataItem)OnBoundsChanged(RadPropertyChangedEventArgs)OnBubbleEvent(RadElement, RoutedEventArgs)OnControlMouseDown(MouseEventArgs)OnControlMouseMove(MouseEventArgs)OnControlMouseUp(MouseEventArgs)OnCreatingVisualListItem(RadListDataItem, RadListVisualItem)OnCreatingVisualListItem(RadListVisualItem)OnDataBindingComplete(object, ListBindingCompleteEventArgs)OnDataItemPropertyChanged(object, RadPropertyChangedEventArgs)OnItemsChanged(NotifyCollectionChangedEventArgs)OnItemsChanging(NotifyCollectionChangingEventArgs)OnListItemDataBinding()OnListItemDataBound(RadListDataItem)OnLoaded()OnMouseDown(MouseEventArgs)OnMouseWheel(int)OnPanGesture(PanGestureEventArgs)OnPropertyChanged(RadPropertyChangedEventArgs)OnSelectedIndexChanged(int)OnSelectedIndexChanging(int)OnSelectedItemAdded(RadListDataItem)OnSelectedValueChanged(int)OnSortStyleChanged(SortStyle)OnVisualItemFormatting(RadListVisualItem)ProcessKeyboardSearch(char)Rebind()ScrollByPage(int)ScrollToActiveItem()ScrollToItem(RadListDataItem)SelectAll()SelectRange(int, int)SetSelectedIndex(int)SetSelectedItem(RadListDataItem)SetSelectedItemCore(RadListDataItem)SetSelectedValue(object)SynchronizeVisualItems()UnwireEvents()UpdateActiveItem(RadListDataItem, bool)UpdateItemTraverser()WireEvents()scroller_ScrollerUpdated(object, EventArgs)EventsCreatingVisualItemDataBindingCompleteDataItemPropertyChangedItemDataBindingItemDataBoundItemsChangedItemsChangingSelectedIndexChangedSelectedIndexChangingSelectedItemsChangedSelectedItemsChangingSelectedValueChangedSortStyleChangedVisualItemFormatting
Not finding the help you need?
Contact Support