Class RadDomainUpDown
Represents a spin control that displays a collection of text values through which users can navigate using up and down buttons. The RadDomainUpDown class is essentially a wrapper for the RadDomainUpDownElement. All UI and logic functionality is implemented by the RadDomainUpDownElement class, while RadDomainUpDown acts to transfer events to and from its RadDomainUpDownElement instance.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[TelerikToolboxCategory("Data Controls")]
public class RadDomainUpDown : RadDropDownList, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, ISupportRootUIAutomation
Constructors
RadDomainUpDown()
Declaration
public RadDomainUpDown()
Properties
AutoComplete
Gets or sets a value indicating whether auto-complete is enabled. When enabled, the matched item's text will be appended to the input in the editor.
Declaration
public bool AutoComplete { get; set; }
Property Value
System.Boolean
|
AutoCompleteDataSource
This property is not relevant for this class.
Declaration
public override object AutoCompleteDataSource { get; set; }
Property Value
System.Object
|
Overrides
AutoCompleteDisplayMember
This property is not relevant for this class.
Declaration
public override string AutoCompleteDisplayMember { get; set; }
Property Value
System.String
|
Overrides
AutoCompleteMode
This property is not relevant for this class.
Declaration
public override AutoCompleteMode AutoCompleteMode { get; set; }
Property Value
System.Windows.Forms.AutoCompleteMode
|
Overrides
AutoCompleteValueMember
This property is not relevant for this class.
Declaration
public override string AutoCompleteValueMember { get; set; }
Property Value
System.String
|
Overrides
AutoSize
Gets or sets a value indicating whether the control automatically adjusts its size to fit its content. When enabled, the control will resize itself to properly display its content and selected item.
Declaration
public override bool AutoSize { get; set; }
Property Value
System.Boolean
|
Overrides
AutoSizeItems
This property is not relevant for this class.
Declaration
public override bool AutoSizeItems { get; set; }
Property Value
System.Boolean
|
Overrides
CaseSensitive
This property is not relevant for this class.
Declaration
public override bool CaseSensitive { get; set; }
Property Value
System.Boolean
|
Overrides
DefaultItemsCountInDropDown
This property is not relevant for this class.
Declaration
public override int DefaultItemsCountInDropDown { get; set; }
Property Value
System.Int32
|
Overrides
DomainUpDownElement
Gets the main element that provides the domain up-down functionality. This element encapsulates the actual UI logic and behavior of the RadDomainUpDown control.
Declaration
public RadDomainUpDownElement DomainUpDownElement { get; }
Property Value
RadDomainUpDownElement
|
DropDownAnimationEasing
This property is not relevant for this class.
Declaration
public override RadEasingType DropDownAnimationEasing { get; set; }
Property Value
RadEasingType
|
Overrides
DropDownAnimationEnabled
This property is not relevant for this class.
Declaration
public override bool DropDownAnimationEnabled { get; set; }
Property Value
System.Boolean
|
Overrides
DropDownAnimationFrames
This property is not relevant for this class.
Declaration
public override int DropDownAnimationFrames { get; set; }
Property Value
System.Int32
|
Overrides
DropDownHeight
This property is not relevant for this class.
Declaration
public override int DropDownHeight { get; set; }
Property Value
System.Int32
|
Overrides
DropDownListElement
This property is not relevant for this class.
Declaration
public override RadDropDownListElement DropDownListElement { get; }
Property Value
RadDropDownListElement
|
Overrides
DropDownMaxSize
This property is not relevant for this class.
Declaration
public override Size DropDownMaxSize { get; set; }
Property Value
System.Drawing.Size
|
Overrides
DropDownMinSize
This property is not relevant for this class.
Declaration
public override Size DropDownMinSize { get; set; }
Property Value
System.Drawing.Size
|
Overrides
DropDownSizingMode
This property is not relevant for this class.
Declaration
public override SizingMode DropDownSizingMode { get; set; }
Property Value
SizingMode
|
Overrides
DropDownStyle
This property is not relevant for this class.
Declaration
public override RadDropDownStyle DropDownStyle { get; set; }
Property Value
RadDropDownStyle
|
Overrides
EnableAlternatingItemColor
This property is not relevant for this class.
Declaration
public override bool EnableAlternatingItemColor { get; set; }
Property Value
System.Boolean
|
Overrides
EnableKineticScrolling
This property is not relevant for this class.
Declaration
public override bool EnableKineticScrolling { get; set; }
Property Value
System.Boolean
|
Overrides
FitItemsToSize
This property is not relevant for this class.
Declaration
public override bool FitItemsToSize { get; set; }
Property Value
System.Boolean
|
Overrides
FormatInfo
This property is not relevant for this class.
Declaration
public override IFormatProvider FormatInfo { get; set; }
Property Value
System.IFormatProvider
|
Overrides
FormatString
This property is not relevant for this class.
Declaration
public override string FormatString { get; set; }
Property Value
System.String
|
Overrides
FormattingEnabled
This property is not relevant for this class.
Declaration
public override bool FormattingEnabled { get; set; }
Property Value
System.Boolean
|
Overrides
IsPopupVisible
This property is not relevant for this class.
Declaration
public override bool IsPopupVisible { get; }
Property Value
System.Boolean
|
Overrides
Items
Gets the collection of items that are displayed in the domain up-down control. This collection contains RadListDataItem objects that represent the available choices.
Declaration
public override RadListDataItemCollection Items { get; }
Property Value
RadListDataItemCollection
|
Overrides
MaxDropDownItems
This property is not relevant for this class.
Declaration
public override int MaxDropDownItems { get; set; }
Property Value
System.Int32
|
Overrides
Popup
This property is not relevant for this class.
Declaration
public override RadEditorPopupControlBase Popup { get; }
Property Value
RadEditorPopupControlBase
|
Overrides
ReadOnly
Gets or sets a value indicating whether typing is enabled inside the text box. When set to true, the control becomes read-only and users can only navigate using the up/down buttons.
Declaration
public bool ReadOnly { get; set; }
Property Value
System.Boolean
|
SortStyle
This property is not relevant for this class.
Declaration
public override SortStyle SortStyle { get; set; }
Property Value
SortStyle
|
Overrides
Wrap
Gets or sets a value indicating whether the selected item will revert to the first item after reaching the last item and vice versa. This property enables circular navigation through the item collection.
Declaration
public bool Wrap { get; set; }
Property Value
System.Boolean
|
Methods
CloseDropDown()
This method is not relevant for this class.
Declaration
public override void CloseDropDown()
Overrides
CreateAccessibilityInstance()
Creates an accessibility object for this domain up-down control to support assistive technologies. When EnableRadAccessibilityObjects is enabled, returns a custom accessibility object; otherwise, returns the base implementation.
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
System.Windows.Forms.AccessibleObject
An System.Windows.Forms.AccessibleObject that provides accessibility support for this control. |
Overrides
CreateChildItems(RadElement)
Creates the child elements of the control by instantiating and configuring the internal RadDomainUpDownElement This method sets up the domain up-down element and establishes its basic properties.
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
The parent RadElement that will contain the child elements. |
Overrides
CreateDropDownListElement()
Creates the main dropdown list element that provides the core functionality for the domain up-down control.
Declaration
protected override RadDropDownListElement CreateDropDownListElement()
Returns
RadDropDownListElement
A new instance of RadDomainUpDownElement. |
Overrides
MoveDown()
Selects the next item in the list. If the Wrap property is enabled and the last item is currently selected, this method will navigate to the first item in the collection.
Declaration
public void MoveDown()
MoveDown(Boolean)
Selects the next item in the list with the option to specify wrapping behavior.
Declaration
public void MoveDown(bool wrap)
Parameters
System.Boolean
wrap
Specifies whether the navigation will wrap from the last item to the first item. |
MoveUp()
Selects the previous item in the list. If the Wrap property is enabled and the first item is currently selected, this method will navigate to the last item in the collection.
Declaration
public void MoveUp()
MoveUp(Boolean)
Selects the previous item in the list with the option to specify wrapping behavior.
Declaration
public void MoveUp(bool wrap)
Parameters
System.Boolean
wrap
Specifies whether the navigation will wrap from the first item to the last item. |
ShowDropDown()
This method is not relevant for this class.
Declaration
public override void ShowDropDown()
Overrides
Events
PopupClosed
This event is not relevant for this class.
Declaration
public override event RadPopupClosedEventHandler PopupClosed
Event Type
RadPopupClosedEventHandler
|
Overrides
PopupClosing
This event is not relevant for this class.
Declaration
public override event RadPopupClosingEventHandler PopupClosing
Event Type
RadPopupClosingEventHandler
|
Overrides
PopupOpened
This event is not relevant for this class.
Declaration
public override event EventHandler PopupOpened
Event Type
System.EventHandler
|
Overrides
PopupOpening
This event is not relevant for this class.
Declaration
public override event CancelEventHandler PopupOpening
Event Type
System.ComponentModel.CancelEventHandler
|