ClassRadRibbonBarButtonGroup
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
RadRibbonBarButtonGroup()
Declaration
public RadRibbonBarButtonGroup()
Fields
OnRoutedButtonDeselected
Declaration
public static RoutedEvent OnRoutedButtonDeselected
Field Value
OnRoutedButtonSelected
Declaration
public static RoutedEvent OnRoutedButtonSelected
Field Value
Properties
CollapseMaxSteps
Declaration
public override int CollapseMaxSteps { get; }
Property Value
Overrides
Items
Gets the collection of items in the button group.
Declaration
[Browsable(true)]
[RadNewItem("", false, false, false)]
public RadItemOwnerCollection Items { get; }
Property Value
Implements
MinSize
Get or sets the minimum size to apply on an element when layout is calculated.
Declaration
public override Size MinSize { get; set; }
Property Value
Overrides
Orientation
Gets or sets the orientation of the elements inside the button group: Horizontal or Vertical.
Declaration
[Browsable(true)]
public Orientation Orientation { get; set; }
Property Value
ShowBackColor
Gets or sets a value indicating whether the back color is shown.
Declaration
[Browsable(true)]
public bool ShowBackColor { get; set; }
Property Value
ShowBorder
Gets or sets a value indicating whether the border is shown.
Declaration
[Browsable(false)]
public bool ShowBorder { get; set; }
Property Value
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
GetIsSelected(RadElement)
Declaration
public bool GetIsSelected(RadElement childElement)
Parameters
childElement
Returns
InitializeFields()
Initializes the fields of this instance with their default values.
Declaration
protected override void InitializeFields()
Overrides
ItemChanged(RadItemCollection, RadItem, ItemsChangeOperation)
Fires ItemChanged event.
Declaration
public void ItemChanged(RadItemCollection changed, RadItem target, ItemsChangeOperation operation)
Parameters
changed
target
operation
ItemClicked(RadItem)
Fires ItemClicked event.
Declaration
public void ItemClicked(RadItem item)
Parameters
item
Implements
OnLoaded()
Called when the element has been successfully loaded. That includes loading of all its children as well.
Declaration
protected override void OnLoaded()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Called when a property value has changed, handling item-specific property change logic including text, visual state, and animation properties.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The property changed event arguments.
Overrides
RefreshItems(RadElement)
Refreshes the items nested in the argument.
Declaration
public virtual void RefreshItems(RadElement element)
Parameters
element
ResetItemsIsAtUnevenIndexProperty()
Declaration
protected virtual void ResetItemsIsAtUnevenIndexProperty()
SetIsSelected(RadElement, bool)
Declaration
public void SetIsSelected(RadElement childElement, bool value)
Parameters
childElement
value
SetSelectedItem(RadElement)
Declaration
public void SetSelectedItem(RadElement element)
Parameters
element