RadButtonGroup
Represents a button group control that can contain multiple buttons, allowing for grouped actions in a navigation interface. This control is designed to facilitate the organization of buttons, providing a consistent layout and styling. It can be themed and supports both WPF and non-WPF frameworks, adapting its behavior accordingly. The RadButtonGroup control automatically adjusts button sizes based on the items it contains and provides the ability to reset themes, apply templates, and manage item containers efficiently.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
[Themable]
public class RadButtonGroup : ItemsControl
Inheritance: objectRadButtonGroup
Constructors
Initializes a new instance of the RadButtonGroup class.
public RadButtonGroup()
Methods
GetContainerForItemOverride()
DependencyObject
Creates or identifies the element used to display a specified item.
protected override DependencyObject GetContainerForItemOverride()
DependencyObject
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when the value of the property changes.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
A NotifyCollectionChangedEventArgs that contains the event data.
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Element used to display the specified item.
itemobjectSpecified item.
Resets the theme.
public void ResetTheme()