ClassRadCheckedDropDownListElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadCheckedDropDownListElement : RadDropDownListElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadEditorElementEditorBaseElementPopupEditorBaseElementPopupEditorElementRadDropDownListElementRadCheckedDropDownListElement
Implements:
Inherited Members
Constructors
RadCheckedDropDownListElement()
Declaration
public RadCheckedDropDownListElement()
Fields
Properties
AutoCompleteEditableAreaElement
Declaration
public RadCheckedDropDownListEditableAreaElement AutoCompleteEditableAreaElement { get; set; }
Property Value
AutoCompleteMode
Specifies the mode for the automatic completion feature used in the DropDownList and the TextBox controls.
Declaration
[Browsable(true)]
public override AutoCompleteMode AutoCompleteMode { get; set; }
Property Value
Overrides
CheckAllItem
Declaration
public CheckAllDataItem CheckAllItem { get; set; }
Property Value
CheckedItems
Declaration
public DropDownCheckedItemsCollection CheckedItems { get; }
Property Value
CheckedMember
Gets or sets a property name which will be used to extract a text for description text from the data items. The value of the property with this name will be available via the Value property of every RadListDataItem in the Items collection.
Declaration
[Browsable(true)]
public string CheckedMember { get; set; }
Property Value
DataSource
Gets or sets the object that is responsible for providing data objects for the RadListElement.
Declaration
public override object DataSource { get; set; }
Property Value
Overrides
EditableElementText
Get or set the text in Editable area
Declaration
public override string EditableElementText { get; set; }
Property Value
Overrides
Items
Declaration
public RadCheckedListDataItemCollection Items { get; }
Property Value
ReadOnly
Gets or sets a value indicating whether the drop down list is read only.
Declaration
[Browsable(true)]
public bool ReadOnly { get; set; }
Property Value
true if the drop down list is read only; otherwise, false.
SelectedValue
Declaration
[Browsable(false)]
[Bindable(true)]
public override object SelectedValue { get; set; }
Property Value
Overrides
SyncSelectionWithText
Gets or sets a value indicating whether items checked state is synchronized with the text in the editable area.
Declaration
public override bool SyncSelectionWithText { get; set; }
Property Value
Overrides
Text
Gets or sets the text displayed by this item.
Declaration
public override string Text { get; set; }
Property Value
The text content of the item. The default value is an empty string.
Overrides
Remarks
This property supports data binding and localization. The text can contain HTML markup when the HTML support is enabled for the containing control. Changes to this property will trigger layout updates and repainting of the item.
ThemeEffectiveType
Declaration
protected override Type ThemeEffectiveType { get; }
Property Value
Overrides
Methods
BeginUpdate()
Declaration
public override void BeginUpdate()
Overrides
CanClosePopUp(RadPopupCloseReason, MouseButtons)
Declaration
protected override bool CanClosePopUp(RadPopupCloseReason reason, MouseButtons buttons)
Parameters
reason
buttons
Returns
Overrides
CreateChildElements()
Creates the visual elements that make up the RadDropDownListElement. This method initializes the border, fill, layout container and child elements.
Declaration
protected override void CreateChildElements()
Overrides
CreateTextEditorElement()
Declaration
protected override RadDropDownListEditableAreaElement CreateTextEditorElement()
Returns
Overrides
DisposeManagedResources()
Releases the managed resources used by the RadDropDownListElement.
Declaration
protected override void DisposeManagedResources()
Overrides
EndUpdate()
Declaration
public override void EndUpdate()
Overrides
EnterPressedOrLeaveControl()
Handles the action when the Enter key is pressed or when the control loses focus.
Declaration
protected override void EnterPressedOrLeaveControl()
Overrides
MeasureOverride(SizeF)
Provides the custom measurement logic for the RadDropDownListElement.
OnItemCheckedChanged(RadCheckedListDataItemEventArgs)
Declaration
protected virtual void OnItemCheckedChanged(RadCheckedListDataItemEventArgs args)
Parameters
args
OnItemCheckedChanging(RadCheckedListDataItemCancelEventArgs)
Declaration
protected virtual bool OnItemCheckedChanging(RadCheckedListDataItemCancelEventArgs args)
Parameters
args
Returns
OnItemsClear()
Declaration
protected override void OnItemsClear()
Overrides
OnLoaded()
Called when the element is loaded into the element tree.
Declaration
protected override void OnLoaded()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Called when a property value changes.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
A RadPropertyChangedEventArgs that contains the event data.
Overrides
OnSelectedIndexChanged(object, PositionChangedEventArgs)
Declaration
protected override void OnSelectedIndexChanged(object sender, PositionChangedEventArgs e)
Parameters
sender
e
Overrides
ScrollToItemFromText(string)
Declaration
protected override void ScrollToItemFromText(string text)
Parameters
text
Overrides
SyncVisualProperties(RadListDataItem)
Declaration
protected override void SyncVisualProperties(RadListDataItem listItem)
Parameters
listItem
Overrides
UnwireAutoCompleteEvents()
Declaration
protected virtual void UnwireAutoCompleteEvents()
WireAutoCompleteEvents()
Declaration
protected virtual void WireAutoCompleteEvents()
Events
CheckAllItemCheckedChanged
Occurs when a ListViewDataItem is checked.
Declaration
public event RadCheckedListDataItemEventHandler CheckAllItemCheckedChanged
Event Value
CheckAllItemCheckedChanging
Occurs when a ListViewDataItem is about to be checked. Cancelable.
Declaration
public event RadCheckedListDataItemCancelEventHandler CheckAllItemCheckedChanging
Event Value
ItemCheckedChanged
Occurs when a ListViewDataItem is checked.
Declaration
public event RadCheckedListDataItemEventHandler ItemCheckedChanged
Event Value
ItemCheckedChanging
Occurs when a ListViewDataItem is about to be checked. Cancelable.
Declaration
public event RadCheckedListDataItemCancelEventHandler ItemCheckedChanging
Event Value