ClassRadButtonGroup
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
RadButtonGroup()
Initializes a new instance of the RadButtonGroup class.
Declaration
public RadButtonGroup()
Methods
GetContainerForItemOverride()
Creates or identifies the element used to display a specified item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
DependencyObject
IsItemItsOwnContainerOverride(object)
Determines if the specified item is (or is eligible to be) its own container.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnItemsChanged(NotifyCollectionChangedEventArgs)
Called when the value of the property changes.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs
A NotifyCollectionChangedEventArgs that contains the event data.
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
Element used to display the specified item.
item
Specified item.