Class RadButtonTextBoxElement
Represents a text box element with customizable button collections on the left and right sides, providing advanced text input functionality with embedded interactive elements.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadButtonTextBoxElement : RadTextBoxElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
RadButtonTextBoxElement()
Initializes a new instance of the RadButtonTextBoxElement class.
Declaration
public RadButtonTextBoxElement()
Properties
ButtonsStackLeft
Gets the StackLayoutPanel that contains the elements on the left side of the text box.
Declaration
public StackLayoutPanel ButtonsStackLeft { get; }
Property Value
StackLayoutPanel
|
ButtonStackRight
Gets the StackLayoutPanel that contains the elements on the right side of the text box.
Declaration
public StackLayoutPanel ButtonStackRight { get; }
Property Value
StackLayoutPanel
|
DefaultElementSpacing
Gets or sets the default space between the elements in pixels.
Declaration
public int DefaultElementSpacing { get; set; }
Property Value
System.Int32
|
LeftButtonItems
Gets the collection of button items that appears on the left side of the text box.
Declaration
public RadItemOwnerCollection LeftButtonItems { get; }
Property Value
RadItemOwnerCollection
|
RightButtonItems
Gets the collection of button items that appears on the right side of the text box.
Declaration
public RadItemOwnerCollection RightButtonItems { get; }
Property Value
RadItemOwnerCollection
|
ShowTextBox
Gets or sets a value indicating whether the inner text box is visible.
Declaration
public bool ShowTextBox { get; set; }
Property Value
System.Boolean
|
ThemeEffectiveType
Gets the effective type for theming purposes, which is the base RadTextBoxElement type.
Declaration
protected override Type ThemeEffectiveType { get; }
Property Value
System.Type
|
Overrides
Methods
CreateChildElements()
Creates the child elements and initializes the layout structure with button stacks and collections.
Declaration
protected override void CreateChildElements()
Overrides
OnItemClicked(Object, EventArgs)
Raises the ItemClicked event.
Declaration
protected virtual void OnItemClicked(object sender, EventArgs e)
Parameters
System.Object
sender
The source of the event. |
System.EventArgs
e
An System.EventArgs that contains the event data. |
Events
ItemClicked
Occurs when any item in the button collections is clicked or when a toggle switch value changes.
Declaration
public event EventHandler ItemClicked
Event Type
System.EventHandler
|