Represents a ribbon bar button group. You can group buttons that are logically related, for example, bold, italic, and underline buttons in a text editor application.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[ComVisible(false)]
public class RadRibbonBarButtonGroup : CollapsibleElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IItemsElement
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemCollapsibleElementRadRibbonBarButtonGroup...
Implements:
Inherited Members
Constructors
public RadRibbonBarButtonGroup()
Fields
public static RadProperty IsSelectedProperty
public static RoutedEvent OnRoutedButtonDeselected
public static RoutedEvent OnRoutedButtonSelected
public static RadProperty OrientationProperty
Properties
public override int CollapseMaxSteps { get; }
Overrides:
Gets the collection of items in the button group.
[Browsable(true)]
[RadNewItem("", false, false, false)]
public RadItemOwnerCollection Items { get; }
Implements:
Get or sets the minimum size to apply on an element when layout is calculated.
public override Size MinSize { get; set; }
Overrides:
Gets or sets the orientation of the elements inside the button group: Horizontal or Vertical.
[Browsable(true)]
public Orientation Orientation { get; set; }
Gets or sets a value indicating whether the back color is shown.
[Browsable(true)]
public bool ShowBackColor { get; set; }
Gets or sets a value indicating whether the border is shown.
[Browsable(false)]
public bool ShowBorder { get; set; }
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Initializes the fields of this instance with their default values.
protected override void InitializeFields()
Overrides:
Fires ItemChanged event.
public void ItemChanged(RadItemCollection changed, RadItem target, ItemsChangeOperation operation)
Fires ItemClicked event.
Called when the element has been successfully loaded. That includes loading of all its children as well.
protected override void OnLoaded()
Overrides:
Called when a property value has changed, handling item-specific property change logic including text, visual state, and animation properties.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property changed event arguments.
Overrides:
Refreshes the items nested in the argument.
protected virtual void ResetItemsIsAtUnevenIndexProperty()
public void SetIsSelected(RadElement childElement, bool value)