ClassRadDropDownListEditableAreaElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadDropDownListEditableAreaElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadDropDownListEditableAreaElement
Derived Classes:
Implements:
Inherited Members
Constructors
RadDropDownListEditableAreaElement()
Declaration
public RadDropDownListEditableAreaElement()
RadDropDownListEditableAreaElement(RadDropDownListElement)
Declaration
public RadDropDownListEditableAreaElement(RadDropDownListElement owner)
Parameters
owner
Fields
owner
Declaration
protected RadDropDownListElement owner
Field Value
Properties
DropDownStyle
Declaration
public virtual RadDropDownStyle DropDownStyle { get; set; }
Property Value
MaxLength
Gets or sets the text that is displayed when the ComboBox contains a null reference.
NullText
Gets or sets the text that is displayed when the ComboBox contains a null reference.
SelectedText
Gets or sets the text that is selected in the editable portion of the ComboBox.
Declaration
[Browsable(false)]
public virtual string SelectedText { get; set; }
Property Value
SelectionLength
Gets or sets the number of characters selected in the editable portion of the combo box.
Declaration
[Browsable(false)]
public virtual int SelectionLength { get; set; }
Property Value
SelectionStart
Gets or sets the starting index of text selected in the combo box.
Declaration
[Browsable(false)]
public virtual int SelectionStart { get; set; }
Property Value
TextBox
TextBox Property
Declaration
public virtual RadDropDownTextBoxElement TextBox { get; set; }
Property Value
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
DisposeManagedResources()
Disposes of managed resources including cached images and SVG images when the element is being disposed.
Declaration
protected override void DisposeManagedResources()
Overrides
Focus()
Attempts to set the keyboard focus to the element.
Declaration
public override bool Focus()
Returns
True if the keyboard focus is successfully set to the element; otherwise, false.
Overrides
HandleEsc()
Declaration
protected void HandleEsc()
HandleF4Down()
Declaration
protected void HandleF4Down()
HandleKeyUpKeyDown(KeyEventArgs)
Declaration
protected void HandleKeyUpKeyDown(KeyEventArgs e)
Parameters
e
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnMouseUp(MouseEventArgs)
Called when a mouse button is released over the item.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseWheel(MouseEventArgs)
Raises the MouseWheel event.
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
PaintElement(IGraphics, float, SizeF)
Performs the main painting operation for the element, rendering fill, content, and border in the correct order.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The graphics context used for rendering.
angle
The rotation angle to apply during painting.
scale
The scaling factor to apply during painting.
Overrides
Select(int, int)
Selects a range of text in the editable portion of the combo box
SelectAll()
Selects all the text in the editable portion of the combo box.
Declaration
public virtual void SelectAll()
SetDropDownStyle()
Declaration
protected virtual void SetDropDownStyle()
UnWireEvents()
Declaration
protected virtual void UnWireEvents()
WireEvents()
Declaration
protected virtual void WireEvents()