ClassRadSplitButton
Provides a menu-like interface within a button.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadSplitButton : RadDropDownButton, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadDropDownButtonRadSplitButton
Implements:
Inherited Members
Constructors
RadSplitButton()
Initializes a new instance of the RadSplitButton class. Creates a split button control with default settings and behavior.
Declaration
public RadSplitButton()
Properties
DefaultItem
Gets or sets the default item that appears on the main button portion of the split button. This item's action is executed when the main button area is clicked.
Declaration
[Browsable(false)]
public RadItem DefaultItem { get; set; }
Property Value
The RadItem that serves as the default action, or null if no default item is set.
DefaultSize
Gets the default size of the RadSplitButton control.
DropDownButtonElement
Gets the RadSplitButtonElement that represents the visual element of this split button control. This element contains the visual styling and split button behavior logic.
Declaration
[Browsable(false)]
public RadSplitButtonElement DropDownButtonElement { get; }
Property Value
A RadSplitButtonElement that represents the button's visual element.
Methods
ControlDefinesThemeForElement(RadElement)
Determines whether the control defines theme settings for the specified element. This method is used by the theming infrastructure to apply appropriate themes to split button elements.
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
element
The element to check for theme definition.
Returns
true if this control defines the theme for the element; otherwise, false.
Overrides
CreateButtonElement()
Create main button element that is specific for RadSplitButton.
Declaration
protected override RadDropDownButtonElement CreateButtonElement()
Returns
The element that encapsulates the functionality of RadSplitButton
Overrides
OnDefaultItemChanged(EventArgs)
Raises the DefaultItemChanged event.
Events
DefaultItemChanged
Occurs when the default item of the split button changes. This event is raised whenever a new default item is assigned to the split button.
Declaration
[Browsable(true)]
public event EventHandler DefaultItemChanged
Event Value