ClassRadButtonGroupItem
The RadButtonGroupItem class represents an item in a button group container, providing functionality to manage its visual states based on its position within the parent collection. This class inherits from ContentControl and includes members for initializing its style, applying templates, and managing visual states. It defines two visual states, "FirstContainer" and "DefaultContainer," which determine the appearance of the control based on whether the item is the first container in its collection. The class also provides a method to reset the theme and manage state transitions when visual states change.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
public class RadButtonGroupItem : ContentControl
Inheritance: objectRadButtonGroupItem
Constructors
RadButtonGroupItem()
Initializes a new instance of the RadButtonGroupItem class.
Declaration
public RadButtonGroupItem()
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes 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.