Class
RadItemsControl

Provides an abstract base class for RadControls that manage collections of RadItem objects, offering item selection, event handling, and collection management capabilities.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public abstract class RadItemsControl : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IItemsControl

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadItemsControl

Derived Classes: RadMenu

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetIItemsControlILayoutHandlerINotifyPropertyChangedISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window

Inherited Members RadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Dispose(bool)RadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.CreateChildItems(RadElement)RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.SetBackColorThemeOverrides()RadControl.ResetBackColorThemeOverrides()RadControl.SetForeColorThemeOverrides()RadControl.ResetForeColorThemeOverrides()RadControl.OnKeyDown(KeyEventArgs)RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseDown(MouseEventArgs)RadControl.OnMouseUp(MouseEventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseMove(MouseEventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)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.OnEnabledChanged(EventArgs)RadControl.OnBindingContextChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.WndProc(ref Message)RadControl.OnInvalidated(RadElement)RadControl.OnLoad(Size)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.IsInputKey(Keys)RadControl.BeginInit()RadControl.EndInit()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.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)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.EnableUIAutomationRadControl.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.CreateAccessibilityInstance()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.IsInputChar(char)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.ProcessDialogChar(char)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.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.DefaultSizeControl.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

RadItemsControl()

Initializes a new instance of the RadItemsControl class.

Declaration

cs-api-definition
public RadItemsControl()

Remarks

The constructor establishes the implementation pattern by creating an items control implementation object and wiring up the necessary event handlers for item selection and deselection events.

Properties

ActiveItems

Gets a collection containing the items that are currently active.

Declaration

cs-api-definition
public virtual RadItemOwnerCollection ActiveItems { get; }

Property Value

RadItemOwnerCollection

Implements IItemsControl.ActiveItems

HasKeyboardInput

Declaration

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

Property Value

bool

Items

Gets the collection of items associated with the IItemsControl.

Declaration

cs-api-definition
public abstract RadItemOwnerCollection Items { get; }

Property Value

RadItemOwnerCollection

Implements IItemsControl.Items

ProcessKeyboard

Gets or sets whether the RadItemsControl processes the keyboard.

Declaration

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

Property Value

bool

Implements IItemsControl.ProcessKeyboard

RollOverItemSelection

Gets or sets whether the rollover items functionality of the RadItemsControl will be allowed.

Declaration

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

Property Value

bool

Implements IItemsControl.RollOverItemSelection

Methods

CallBaseProcessDialogKey(Keys)

Declaration

cs-api-definition
protected virtual bool CallBaseProcessDialogKey(Keys keyData)

Parameters

keyData

Keys

Returns

bool

CallOnItemDeselected(ItemSelectedEventArgs)

Declaration

cs-api-definition
public void CallOnItemDeselected(ItemSelectedEventArgs args)

Parameters

args

ItemSelectedEventArgs

CanNavigate(Keys)

Defines whether the IItemsControl can execute navigation operation based on the keydata provided.

Declaration

cs-api-definition
public virtual bool CanNavigate(Keys keyData)

Parameters

keyData

Keys

An instance of the Keys struct that defines the key command issued.

Returns

bool

True if navigation possible, otherwise false.

Implements IItemsControl.CanNavigate(Keys)

CanProcessMnemonic(char)

Defines whether the IItemsControl has an item that corresponds to the mnemonic passed in the parameter.

Declaration

cs-api-definition
public virtual bool CanProcessMnemonic(char keyData)

Parameters

keyData

char

A character that defines the mnemonic command issued.

Returns

bool

True if mnemonic can be processed, otherwise false.

Implements IItemsControl.CanProcessMnemonic(char)

ChangeSelection(RadItem)

Declaration

cs-api-definition
protected virtual void ChangeSelection(RadItem nextItem)

Parameters

nextItem

RadItem

GetChildMnemonicList(ArrayList)

Declaration

cs-api-definition
protected virtual void GetChildMnemonicList(ArrayList mnemonicList)

Parameters

mnemonicList

ArrayList

GetFirstVisibleItem()

Gets the first visible item from the collection. In a IItemsControl that is the first item that is visible on the control.

Declaration

cs-api-definition
public virtual RadItem GetFirstVisibleItem()

Returns

RadItem

A reference to a RadItem instance that represents the first visible control.

Implements IItemsControl.GetFirstVisibleItem()

GetInputElement()

Declaration

cs-api-definition
protected override RadElement GetInputElement()

Returns

RadElement

Overrides RadControl.GetInputElement()

GetItemsControlImpl()

When overridden in a derived class, creates and returns the implementation object that provides the specific behavior for this items control.

Declaration

cs-api-definition
protected virtual IItemsControl GetItemsControlImpl()

Returns

IItemsControl

An IItemsControl implementation that handles the specific behavior for this control type.

Remarks

This factory method allows derived classes to specify their own implementation objects while maintaining the common RadItemsControl interface and event handling patterns. The default implementation returns a RadItemsControlImpl instance.

GetLastVisibleItem()

Gets the last visible item from the collection. In a IItemsControl that is the last item that is visible on the control.

Declaration

cs-api-definition
public virtual RadItem GetLastVisibleItem()

Returns

RadItem

A reference to a RadItem instance that represents the last visible control.

Implements IItemsControl.GetLastVisibleItem()

GetNextItem(RadItem, bool)

Gets an item from the collection that is next to a certain item.

Declaration

cs-api-definition
public virtual RadItem GetNextItem(RadItem item, bool forward)

Parameters

item

RadItem

The item which neighbour to return.

forward

bool

The direction in which to look for the neighbour.

Returns

RadItem

A reference to a RadItem instance which represents the neighbour item.

Implements IItemsControl.GetNextItem(RadItem, bool)

GetSelectedItem()

Returns the selected item in the control.

Declaration

cs-api-definition
public virtual RadItem GetSelectedItem()

Returns

RadItem

An reference to a RadItem instance which represents the currently selected item.

Implements IItemsControl.GetSelectedItem()

OnGotFocus(EventArgs)

Declaration

cs-api-definition
protected override void OnGotFocus(EventArgs e)

Parameters

e

EventArgs

Overrides RadControl.OnGotFocus(EventArgs)

OnHandleKeyDown(Message)

Declaration

cs-api-definition
protected virtual bool OnHandleKeyDown(Message m)

Parameters

m

Message

Returns

bool

OnItemDeselected(ItemSelectedEventArgs)

Declaration

cs-api-definition
protected virtual void OnItemDeselected(ItemSelectedEventArgs args)

Parameters

args

ItemSelectedEventArgs

OnItemSelected(ItemSelectedEventArgs)

Declaration

cs-api-definition
protected virtual void OnItemSelected(ItemSelectedEventArgs args)

Parameters

args

ItemSelectedEventArgs

ProcessArrowKey(Keys)

Declaration

cs-api-definition
protected virtual bool ProcessArrowKey(Keys keyCode)

Parameters

keyCode

Keys

Returns

bool

ProcessCmdKey(ref Message, Keys)

Declaration

cs-api-definition
protected override bool ProcessCmdKey(ref Message m, Keys keyData)

Parameters

m

Message

keyData

Keys

Returns

bool

Overrides Control.ProcessCmdKey(ref Message, Keys)

ProcessDialogKey(Keys)

Declaration

cs-api-definition
protected override bool ProcessDialogKey(Keys keyData)

Parameters

keyData

Keys

Returns

bool

Overrides Control.ProcessDialogKey(Keys)

ProcessLeftRightArrowKey(bool)

Declaration

cs-api-definition
protected virtual bool ProcessLeftRightArrowKey(bool right)

Parameters

right

bool

Returns

bool

ProcessTabKey(bool)

Declaration

cs-api-definition
protected virtual bool ProcessTabKey(bool forward)

Parameters

forward

bool

Returns

bool

ProcessUpDownArrowKey(bool)

Declaration

cs-api-definition
protected virtual bool ProcessUpDownArrowKey(bool down)

Parameters

down

bool

Returns

bool

Select(bool, bool)

Declaration

cs-api-definition
protected override void Select(bool directed, bool forward)

Parameters

directed

bool

forward

bool

Overrides Control.Select(bool, bool)

SelectFirstVisibleItem()

Selects the first visible item on the IItemsControl.

Declaration

cs-api-definition
public virtual RadItem SelectFirstVisibleItem()

Returns

RadItem

A reference to a RadItem instance that represents the item selected.

Implements IItemsControl.SelectFirstVisibleItem()

SelectItem(RadItem)

Selects an item in the control.

Declaration

cs-api-definition
public virtual void SelectItem(RadItem item)

Parameters

item

RadItem

A reference to a RadItem instance which represents the item which is to be selected.

Implements IItemsControl.SelectItem(RadItem)

SelectLastVisibleItem()

Selects the last visible item on the IItemsControl.

Declaration

cs-api-definition
public virtual RadItem SelectLastVisibleItem()

Returns

RadItem

A reference to a RadItem instance that represents the item selected.

Implements IItemsControl.SelectLastVisibleItem()

SelectNextItem(RadItem, bool)

Selects an item from the collection that is next to a certain item.

Declaration

cs-api-definition
public virtual RadItem SelectNextItem(RadItem item, bool forward)

Parameters

item

RadItem

The item which neighbour to return.

forward

bool

The direction in which to look for the neighbour.

Returns

RadItem

A reference to a RadItem instance which represents the neighbour item.

Implements IItemsControl.SelectNextItem(RadItem, bool)

Events

ItemDeselected

Occurs when an item becomes deselected in the control.

Declaration

cs-api-definition
public event ItemSelectedEventHandler ItemDeselected

Event Value

ItemSelectedEventHandler

Implements IItemsControl.ItemDeselected

Remarks

This event is raised whenever an item transitions from a selected to an unselected state, providing notification of deselection changes to enable cleanup operations and user interface state management.

ItemSelected

Occurs when an item becomes selected in the control.

Declaration

cs-api-definition
public event ItemSelectedEventHandler ItemSelected

Event Value

ItemSelectedEventHandler

Implements IItemsControl.ItemSelected

Remarks

This event is raised whenever an item transitions from an unselected to a selected state, providing notification of selection changes to enable responsive user interface updates and business logic execution.