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

Represents a list control that displays data in a list layout similar to the standard ListBox control, providing advanced features such as data binding, virtualization, and custom item rendering.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[TelerikToolboxCategory("Data Controls")]
[ComplexBindingProperties("DataSource", "ValueMember")]
[LookupBindingProperties("DataSource", "DisplayMember", "ValueMember", "SelectedValue")]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
public class RadListControl : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, ISupportRootUIAutomation

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadListControl...

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedISupportInitializeISupportInitializeNotificationISupportRootUIAutomationISynchronizeInvokeIWin32Window...

Inherited Members RadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.SetBackColorThemeOverrides()RadControl.ResetBackColorThemeOverrides()RadControl.SetForeColorThemeOverrides()RadControl.ResetForeColorThemeOverrides()RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnParentChanged(EventArgs)RadControl.OnVisibleChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnBindingContextChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.OnInvalidated(RadElement)RadControl.OnCaptureLosing()RadControl.OnThemeChanged()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.GetInputElement()RadControl.BeginInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.TextRadControl.EnableThemingRadControl.ThemeClassNameRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.CreateParamsScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateControlsInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseDoubleClick(MouseEventArgs)Control.OnMouseClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogChar(char)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)...

Constructors

Initializes a new instance of the RadListControl class with default settings.

C#
public RadListControl()

Fields

C#
public static readonly object CreatingVisualListItemEventKey
C#
public static readonly object ListItemDataBindingEventKey
C#
public static readonly object ListItemDataBoundEventKey
C#
public static readonly object SelectedIndexChangedEventKey
C#
public static readonly object SelectedIndexChangingEventKey
C#
public static readonly object SelectedValueChangedEventKey
C#
public static readonly object SortStyleChangedEventKey
C#
public static readonly object VisualItemFormattingEventKey

Properties

Gets or sets the active item that receives focus for keyboard navigation in multi-selection modes.

C#
[Browsable(false)]
public RadListDataItem ActiveItem { get; set; }

Gets or sets a value indicating whether users can reorder items using drag and drop operations.

C#
[Browsable(true)]
public bool AllowDragDrop { get; set; }

Gets or sets a value that indicates whether items will be sized according to their content. If this property is true the user can set the Height property of each individual RadListDataItem in the Items collection in order to override the automatic sizing.

C#
[Browsable(true)]
public bool AutoSizeItems { get; set; }

Gets or sets a value indicating whether text case sensitivity is considered during sorting operations.

C#
[Browsable(true)]
public bool CaseSensitiveSort { get; set; }

Gets or sets the name of the data member to bind to when the DataSource contains multiple tables or lists.

C#
[Browsable(true)]
public string DataMember { get; set; }

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

C#
[Browsable(true)]
public object DataSource { get; set; }
C#
protected override Size DefaultSize { get; }

Overrides: Control.DefaultSize

Gets or sets the property name used to extract description text from data items for additional item information display.

C#
[Browsable(true)]
public string DescriptionTextMember { get; set; }

Gets or sets the property name used to extract display text from data items for visual representation in the list.

C#
[TypeConverter("System.Windows.Forms.Design.DataMemberFieldConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[Browsable(true)]
public string DisplayMember { get; set; }

Gets or sets a value indicating whether alternating background colors are applied to list items for improved readability.

C#
[Browsable(true)]
public virtual bool EnableAlternatingItemColor { get; set; }

Gets or sets a value indicating whether kinetic scrolling is enabled for smooth touch-based scrolling interactions.

C#
[Browsable(true)]
public bool EnableKineticScrolling { get; set; }

Gets or sets a value indicating whether the UI Automation functionality is enabled.

C#
public override bool EnableUIAutomation { get; set; }

Overrides: RadControl.EnableUIAutomation

Implements: ISupportRootUIAutomation.EnableUIAutomation

Gets or sets a predicate which filters which items can be visible.

C#
[Browsable(false)]
public Predicate<RadListDataItem> Filter { get; set; }

Gets or sets a filter expression string that determines which items are visible in the list based on the specified criteria.

C#
[Browsable(true)]
public string FilterExpression { get; set; }

Gets or sets an implementation of IFindStringComparer used for customizing string comparison behavior in the FindString method.

C#
[Browsable(false)]
public IFindStringComparer FindStringComparer { get; set; }

Gets or sets a value indicating whether items are automatically resized to fit the control's width.

C#
public bool FitItemsToSize { get; set; }

Gets or sets a format string which will be used for visual formatting of the items text.

C#
[Browsable(true)]
public string FormatString { get; set; }

Gets or sets a value that indicates whether the FormatString and FormatInfo properties will be used to format the items text. Setting this property to false may improve performance.

C#
[Browsable(true)]
public bool FormattingEnabled { get; set; }

Gets a value indicating whether any filtering is currently active, either through a Filter delegate or FilterExpression.

C#
[Browsable(false)]
public bool IsFilterActive { get; }

Gets or sets the height of individual list items in pixels.

C#
[Browsable(true)]
public int ItemHeight { get; set; }

Gets the collection of data items contained in the RadListControl. Items cannot be modified in data bound mode.

C#
[Browsable(true)]
public RadListDataItemCollection Items { get; }

Gets or sets the text comparison mode that determines whether the FindString method searches using user-specified text or data-bound text from the DisplayMember.

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

Gets or sets a value indicating whether users can search for items by typing characters while the RadListControl has focus.

C#
[Browsable(true)]
public bool KeyboardSearchEnabled { get; set; }

Gets or sets the time interval in milliseconds that the user must wait before the keyboard search functionality is reset.

C#
[Browsable(true)]
public int KeyboardSearchResetInterval { get; set; }

Gets the main element that provides the list functionality and serves as the core component of the RadListControl.

C#
[Browsable(false)]
public RadListElement ListElement { get; set; }

Gets or set the scroll mode.

C#
[Browsable(true)]
public ItemScrollerScrollModes ScrollMode { get; set; }

Gets or sets the currently selected index.

C#
[Browsable(false)]
public int SelectedIndex { get; set; }

Gets or sets the currently selected item.

C#
[Browsable(false)]
[Bindable(true)]
public RadListDataItem SelectedItem { get; set; }

Gets a read-only collection of the currently selected items in the RadListControl.

C#
[Browsable(false)]
public IReadOnlyCollection<RadListDataItem> SelectedItems { get; }

Gets or sets the value of the currently selected item based on the ValueMember property.

C#
[Browsable(false)]
[Bindable(true)]
public object SelectedValue { get; set; }

Gets or sets the selection mode that determines how items can be selected in the RadListControl.

C#
[Browsable(true)]
public SelectionMode SelectionMode { get; set; }

Gets or sets the sorting behavior applied to the list items.

C#
[Browsable(true)]
public SortStyle SortStyle { get; set; }

Gets or sets a value indicating whether the ItemsChanging and ItemsChanged events are temporarily suspended from firing.

C#
[Browsable(false)]
public bool SuspendItemsChangeEvents { get; set; }

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

C#
[Browsable(false)]
public bool SuspendSelectionEvents { get; set; }

Gets or sets the property name used to extract values from data items, which will be accessible through the Value property of each RadListDataItem.

C#
[Browsable(true)]
public string ValueMember { get; set; }

Methods

Suspends internal notifications and processing to improve performance during bulk operations. This method is cumulative, requiring matching calls to EndUpdate().

C#
public void BeginUpdate()

Determines whether an element may be edited via the EditUIElements dialog at design-time.

C#
protected override bool CanEditElementAtDesignTime(RadElement element)
Parameters:elementRadElementReturns:

bool

Overrides: RadControl.CanEditElementAtDesignTime(RadElement)

C#
protected virtual void ClearMeasuredSize()
C#
protected override AccessibleObject CreateAccessibilityInstance()
Returns:

AccessibleObject

Overrides: Control.CreateAccessibilityInstance()

Creates the child elements for the RadListControl.

C#
protected override void CreateChildItems(RadElement parent)
Parameters:parentRadElement

The parent element that will contain the child elements.

Overrides: RadControl.CreateChildItems(RadElement)

Creates and returns a new instance of the RadListElement that provides the core list functionality.

C#
protected virtual RadListElement CreateListElement()
Returns:

RadListElement

A new RadListElement instance.

Creates a disposable object that defers refresh operations until disposed, allowing multiple changes to be batched together.

C#
public virtual IDisposable DeferRefresh()
Returns:

IDisposable

An IDisposable object that resumes refresh operations when disposed.

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

Overrides: RadControl.Dispose(bool)

Resumes layout.

C#
public override void EndInit()

Overrides: RadControl.EndInit()

Resumes internal notifications and processing previously suspended by BeginUpdate().

C#
public void EndUpdate()
C#
public RadListDataItem FindItemExact(string text, bool caseSensitive)
Parameters:textstringcaseSensitiveboolReturns:

RadListDataItem

Searches for an item that matches the specified string using the configured FindStringComparer, starting from the specified index.

C#
public int FindString(string s, int startIndex)
Parameters:sstring

The string to search for.

startIndexint

The index to start searching from.

Returns:

int

The index of the first matching item, or -1 if no match is found.

Searches for an item that matches the specified string using the configured FindStringComparer, starting from the beginning of the list.

C#
public int FindString(string s)
Parameters:sstring

The string to search for.

Returns:

int

The index of the first matching item, or -1 if no match is found.

Searches for an item with text that exactly matches the specified string, starting from the specified index.

C#
public int FindStringExact(string s, int startIndex)
Parameters:sstring

The string to match exactly.

startIndexint

The index to start searching from.

Returns:

int

The index of the matching item, or -1 if no exact match is found.

Searches for an item with text that exactly matches the specified string, starting from the beginning of the list.

C#
public int FindStringExact(string s)
Parameters:sstring

The string to match exactly.

Returns:

int

The index of the matching item, or -1 if no exact match is found.

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.

C#
public int FindStringNonWrapping(string s, int startIndex)
Parameters:sstring

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

startIndexint

The index from which to start searching.

Returns:

int

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

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.

C#
public int FindStringNonWrapping(string s)
Parameters:sstring

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.

C#
protected virtual void HandleEndKey()
C#
protected virtual void HandleHomeKey()
C#
protected virtual void HandlePageDownKey()
C#
protected virtual void HandlePageUpKey()
C#
protected override bool IsInputChar(char charCode)
Parameters:charCodecharReturns:

bool

Overrides: Control.IsInputChar(char)

C#
protected override bool IsInputKey(Keys keyData)
Parameters:keyDataKeysReturns:

bool

Overrides: RadControl.IsInputKey(Keys)

C#
protected virtual void OnCreatingVisualItem(object sender, CreatingVisualListItemEventArgs args)
Parameters:senderobjectargsCreatingVisualListItemEventArgs

Raises the DataBindingComplete event.

C#
protected virtual void OnDataBindingComplete(object sender, ListBindingCompleteEventArgs e)
Parameters:senderobjecteListBindingCompleteEventArgs

An ListBindingCompleteEventArgs instance that contains the event data.

C#
protected override void OnEnabledChanged(EventArgs e)
Parameters:eEventArgs

Overrides: RadControl.OnEnabledChanged(EventArgs)

C#
protected override void OnGotFocus(EventArgs e)
Parameters:eEventArgs

Overrides: RadControl.OnGotFocus(EventArgs)

C#
protected virtual void OnItemDataBinding(object sender, ListItemDataBindingEventArgs args)
Parameters:senderobjectargsListItemDataBindingEventArgs
C#
protected virtual void OnItemDataBound(object sender, ListItemDataBoundEventArgs args)
Parameters:senderobjectargsListItemDataBoundEventArgs
C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

Overrides: RadControl.OnKeyDown(KeyEventArgs)

Notifies that the control is about to be visualized.

C#
protected override void OnLoad(Size desiredSize)
Parameters:desiredSizeSize

Overrides: RadControl.OnLoad(Size)

C#
protected override void OnMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

Overrides: RadControl.OnMouseDown(MouseEventArgs)

C#
protected override void OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

Overrides: RadControl.OnMouseMove(MouseEventArgs)

C#
protected override void OnMouseUp(MouseEventArgs e)
Parameters:eMouseEventArgs

Overrides: RadControl.OnMouseUp(MouseEventArgs)

C#
protected override void OnMouseWheel(MouseEventArgs e)
Parameters:eMouseEventArgs

Overrides: RadControl.OnMouseWheel(MouseEventArgs)

C#
protected virtual void OnSelectedIndexChanged(object sender, int newIndex)
Parameters:senderobjectnewIndexint
C#
protected virtual bool OnSelectedIndexChanging(object sender, int newIndex)
Parameters:senderobjectnewIndexintReturns:

bool

C#
protected virtual void OnSelectedValueChanged(object sender, int newIndex, object newValue, object oldValue)
Parameters:senderobjectnewIndexintnewValueobjectoldValueobject
C#
protected virtual void OnSortStyleChanged(object sender, SortStyleChangedEventArgs args)
Parameters:senderobjectargsSortStyleChangedEventArgs
C#
protected virtual void OnVisualItemFormatting(object sender, VisualItemFormattingEventArgs args)
Parameters:senderobjectargsVisualItemFormattingEventArgs
C#
protected override void ProcessCodedUIMessage(ref IPCMessage request)
Parameters:requestIPCMessage

Overrides: RadControl.ProcessCodedUIMessage(ref IPCMessage)

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

C#
public void Rebind()

Scrolls the view by the specified number of pages.

C#
public void ScrollByPage(int pageCount)
Parameters:pageCountint

The number of pages to scroll. Positive values scroll down, negative values scroll up.

Scrolls the view to make the specified item visible, positioning it appropriately within the visible area.

C#
public void ScrollToItem(RadListDataItem item)
Parameters:itemRadListDataItem

The RadListDataItem to scroll to.

Selects all items in the list if the current SelectionMode allows multiple selection.

C#
public void SelectAll()
Exceptions:

InvalidOperationException

Thrown when SelectionMode is One or None.

Clears current selection and selects all items within the specified index range.

C#
public void SelectRange(int startIndex, int endIndex)
Parameters:startIndexint

The starting index of the range to select.

endIndexint

The ending index of the range to select (inclusive).

Unsubscribes from the relevant events of the underlying RadListElement.

C#
protected virtual void UnwireEvents()

Subscribes to the relevant events of the underlying RadListElement.

C#
protected virtual void WireEvents()
C#
protected override void WndProc(ref Message m)
Parameters:mMessage

Overrides: RadControl.WndProc(ref Message)

Events

Occurs when custom visual items need to be created, allowing users to provide custom visual representations for list items.

C#
public event CreatingVisualListItemEventHandler CreatingVisualListItem

Fires after data binding operation has finished.

C#
[Browsable(true)]
public event ListBindingCompleteEventHandler DataBindingComplete

Occurs before a RadListDataItem is data bound, allowing customization of the data binding process and providing custom item instances.

C#
public event ListItemDataBindingEventHandler ItemDataBinding

Occurs after a RadListDataItem has been data bound, providing an opportunity to modify the bound item.

C#
public event ListItemDataBoundEventHandler ItemDataBound

This event fires when the selected index property changes.

C#
public event PositionChangedEventHandler SelectedIndexChanged

This event fires before SelectedIndex changes. This event allows the operation to be cancelled.

C#
public event PositionChangingEventHandler SelectedIndexChanging

Occurs when the SelectedItems collection changes due to selection modifications.

C#
public event NotifyCollectionChangedEventHandler SelectedItemsChanged

This event fires before the SelectedItems collection changes.

C#
public event NotifyCollectionChangingEventHandler SelectedItemsChanging

This event fires only if the SelectedValue has really changed. For example it will not fire if the previously selected item has the same value as the newly selected item.

C#
public event EventHandler SelectedValueChanged

Occurs when the SortStyle property value changes.

C#
public event SortStyleChangedEventHandler SortStyleChanged

Occurs when visual item formatting is needed, allowing customization of the appearance of visible list items.

C#
public event VisualListItemFormattingEventHandler VisualItemFormatting
In this article
DefinitionConstructorsRadListControl()FieldsCreatingVisualListItemEventKeyListItemDataBindingEventKeyListItemDataBoundEventKeySelectedIndexChangedEventKeySelectedIndexChangingEventKeySelectedValueChangedEventKeySortStyleChangedEventKeyVisualItemFormattingEventKeyPropertiesActiveItemAllowDragDropAutoSizeItemsCaseSensitiveSortDataMemberDataSourceDefaultSizeDescriptionTextMemberDisplayMemberEnableAlternatingItemColorEnableKineticScrollingEnableUIAutomationFilterFilterExpressionFindStringComparerFitItemsToSizeFormatStringFormattingEnabledIsFilterActiveItemHeightItemsItemTextComparisonModeKeyboardSearchEnabledKeyboardSearchResetIntervalListElementScrollModeSelectedIndexSelectedItemSelectedItemsSelectedValueSelectionModeSortStyleSuspendItemsChangeEventsSuspendSelectionEventsValueMemberMethodsBeginUpdate()CanEditElementAtDesignTime(RadElement)ClearMeasuredSize()CreateAccessibilityInstance()CreateChildItems(RadElement)CreateListElement()DeferRefresh()Dispose(bool)EndInit()EndUpdate()FindItemExact(string, bool)FindString(string, int)FindString(string)FindStringExact(string, int)FindStringExact(string)FindStringNonWrapping(string, int)FindStringNonWrapping(string)HandleEndKey()HandleHomeKey()HandlePageDownKey()HandlePageUpKey()IsInputChar(char)IsInputKey(Keys)OnCreatingVisualItem(object, CreatingVisualListItemEventArgs)OnDataBindingComplete(object, ListBindingCompleteEventArgs)OnEnabledChanged(EventArgs)OnGotFocus(EventArgs)OnItemDataBinding(object, ListItemDataBindingEventArgs)OnItemDataBound(object, ListItemDataBoundEventArgs)OnKeyDown(KeyEventArgs)OnLoad(Size)OnMouseDown(MouseEventArgs)OnMouseMove(MouseEventArgs)OnMouseUp(MouseEventArgs)OnMouseWheel(MouseEventArgs)OnSelectedIndexChanged(object, int)OnSelectedIndexChanging(object, int)OnSelectedValueChanged(object, int, object, object)OnSortStyleChanged(object, SortStyleChangedEventArgs)OnVisualItemFormatting(object, VisualItemFormattingEventArgs)ProcessCodedUIMessage(ref IPCMessage)Rebind()ScrollByPage(int)ScrollToItem(RadListDataItem)SelectAll()SelectRange(int, int)UnwireEvents()WireEvents()WndProc(ref Message)EventsCreatingVisualListItemDataBindingCompleteItemDataBindingItemDataBoundSelectedIndexChangedSelectedIndexChangingSelectedItemsChangedSelectedItemsChangingSelectedValueChangedSortStyleChangedVisualItemFormatting
Not finding the help you need?
Contact Support