New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadButtonGroupItem : ContentControl

Inheritance: objectRadButtonGroupItem

Constructors

Initializes a new instance of the RadButtonGroupItem class.

C#
public RadButtonGroupItem()

Methods

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Resets the theme.

C#
public void ResetTheme()