RadSplitButton
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
Initializes a new instance of the RadSplitButton class. Creates a split button control with default settings and behavior.
public RadSplitButton()
Properties
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.
[Browsable(false)]
public RadItem DefaultItem { get; set; }
The RadItem that serves as the default action, or null if no default item is set.
Gets the default size of the RadSplitButton control.
protected override Size DefaultSize { get; }
A Size representing the default control dimensions.
Overrides:
Gets the RadSplitButtonElement that represents the visual element of this split button control. This element contains the visual styling and split button behavior logic.
[Browsable(false)]
public RadSplitButtonElement DropDownButtonElement { get; }
A RadSplitButtonElement that represents the button's visual element.
Methods
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.
public override bool ControlDefinesThemeForElement(RadElement element)
The element to check for theme definition.
Returns:true if this control defines the theme for the element; otherwise, false.
Overrides:
Create main button element that is specific for RadSplitButton.
protected override RadDropDownButtonElement CreateButtonElement()
The element that encapsulates the functionality of RadSplitButton
Overrides:
Raises the DefaultItemChanged event.
Events
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.
[Browsable(true)]
public event EventHandler DefaultItemChanged