RadRibbonBarGroup
Represents a Ribbon Bar group. The Group can contain telerik controls. You may group related controls in groups; this gives the application intuitive interface.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[ComVisible(false)]
public class RadRibbonBarGroup : CollapsibleElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IItemsElement
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemCollapsibleElementRadRibbonBarGroup...
Implements:
Inherited Members
Constructors
public RadRibbonBarGroup()
Fields
public static RadProperty OldImageIndexProperty
public static RadProperty OldImageProperty
Properties
Gets an instance of the FillPrimitiveclass that represents the body's fill;
public FillPrimitive BodyFill { get; }
Gets an instance of the FillPrimitiveclass that represents the caption's fill;
public FillPrimitive CaptionFill { get; }
Gets or sets the image that is displayed when the chunk is collapsed.
[Browsable(true)]
[TypeConverter(typeof(ImageTypeConverter))]
public Image CollapsedImage { get; set; }
Gets the highest visibility-state step supported by a ribbon group.
[Browsable(false)]
public override int CollapseMaxSteps { get; }
Overrides:
Get or Set collapsing order weight - bigger mean to start collapsing from this RadRibbonbarGroup
public int CollapsingPriority { get; set; }
Gets the button that raises DialogButtonClick when activated; its visibility is controlled by ShowDialogButton.
[Browsable(false)]
public RadButtonElement DialogButton { get; }
Gets the button that displays this group's items in a drop-down when the group is collapsed.
[Browsable(false)]
public RadDropDownButtonElement DropDownElement { get; }
Gets an instance of the BorderPrimitiveclass that represents the group's outer border.
public BorderPrimitive GroupBorder { get; }
Gets an instance of the FillPrimitiveclass that represents the group's fill;
public FillPrimitive GroupFill { get; }
Gets an instance of the TextPrimitiveclass that represents the group's text caption.
public TextPrimitive GroupText { get; }
Gets a collection of nested items.
[Browsable(true)]
[RadNewItem("", false, false, false)]
public RadItemOwnerCollection Items { get; }
Implements:
Gets or sets the orientation of the items inside the chunk. Possible values are: Horizontal and Vertical.
[Browsable(true)]
public Orientation Orientation { get; set; }
Get or sets value indicating whether Dialog button is visible or hidden.
public bool ShowDialogButton { get; set; }
Gets an instance of the RadDropDownButtonElementclass that represents of the elements in the Simplified ribbon style;
[Browsable(false)]
public RadDropDownButtonElement SimplifiedDropDownElement { get; }
Gets the type used to resolve theme styles for this group.
protected override Type ThemeEffectiveType { get; }
Overrides:
Methods
Determines whether the group or one of its items can transition to the requested collapse step.
[Browsable(false)]
public override bool CanCollapseToStep(int nextStep)
The target visibility state.
Returns:true when collapsing is allowed and the group or its items support the state, subject to the current layout mode and the cancellable visibility-state notification.
Overrides:
Determines whether the group accepts the requested visibility step.
Creates the group's caption and content layout, together with its regular and simplified drop-down buttons.
protected override void CreateChildElements()
Overrides:
Initializes the item collection and the default sizing and shape for the group.
protected override void InitializeFields()
Overrides:
Notifies the owner that one of its items was clicked.
public void ItemClicked(RadItem item)
The clicked item.
Implements:
This group does not change item selection in response to this callback.
Unsubscribes from theme-change notifications before disposal completes.
protected override void OnBeginDispose()
Overrides:
Raises DialogButtonClick when the group's dialog button is activated.
Flattens nested button groups and applies simplified item styles when entering simplified layout, then restores their original hierarchy and styles when leaving it.
protected override void OnIsSimplifiedChanged()
Overrides:
Omits the default margin and size constraints from serialized output.
Overrides object ToString() method. Returns the value of the Text property prefixed with the "chunk:" string.
Events
Occurs when Dialog Button is clicked
public event EventHandler DialogButtonClick