[]
        
(Showing Draft Content)

C1.WPF.Ribbon.RibbonGroup

RibbonGroup Class

Represents a group of tools.

Namespace: C1.WPF.Ribbon
Assembly: C1.WPF.Ribbon.dll
Syntax
[StyleTypedProperty(Property = "ToolStripStyle", StyleTargetType = typeof(C1ToolStrip))]
[StyleTypedProperty(Property = "DialogLauncherButtonStyle", StyleTargetType = typeof(C1Button))]
[StyleTypedProperty(Property = "DialogLauncherIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "ToolStyle", StyleTargetType = typeof(C1Tool))]
[StyleTypedProperty(Property = "EditableToolStyle", StyleTargetType = typeof(C1Tool))]
[TemplatePart(Name = "NormalGrid", Type = typeof(Grid))]
[TemplatePart(Name = "CollapsedGrid", Type = typeof(Grid))]
[TemplatePart(Name = "Items", Type = typeof(ItemsPresenter))]
[TemplatePart(Name = "DropDown", Type = typeof(C1DropDownButton))]
[TemplatePart(Name = "DialogLauncher", Type = typeof(C1Button))]
[TemplatePart(Name = "DialogLauncherCollapsed", Type = typeof(C1Button))]
public class RibbonGroup : ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, INotifyPropertyChanged, IDisposable

Constructors

Name Description
RibbonGroup()

Initializes a new instance of the RibbonGroup class.

Fields

Name Description
DialogLauncherButtonStyleProperty

Identifies the DialogLauncherButtonStyle dependency property.

DialogLauncherIconStyleProperty

Identifies the DialogLauncherIconStyle dependency property.

DialogLauncherIconTemplateProperty

Identifies the DialogLauncherIconTemplate dependency property.

EditableToolStyleProperty

Identifies the EditableToolStyle dependency property.

FocusBrushProperty

Identifies the FocusBrush dependency property.

HeaderProperty

Identifies the Header dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

PopupStyleProperty

Identifies the PopupStyle dependency property.

PressedBrushProperty

Identifies the PressedBrush dependency property.

ShowDialogLauncherProperty

Identifies the ShowDialogLauncher dependency property.

ToolStripStyleProperty

Identifies the ToolStripStyle dependency property.

ToolStyleProperty

Identifies the ToolStyle dependency property.

Properties

Name Description
CollapsedSizeVisibility

Gets the visibility of the collapsed part.

DialogLauncherButtonStyle

Gets or sets the style applied to the button that opens the dialog.

DialogLauncherIconStyle

Gets or sets the style of the dialog launcher icon.

DialogLauncherIconTemplate

Gets or sets the template of the dialog launcher icon.

EditableToolStyle

Gets or sets the style applied to editable tools.

FocusBrush

Gets or sets the Brush used to highlight the focused control.

FullSizeVisibility

Gets the visibility of the FullSize part.

GroupSizeDefinitions

Gets or sets the collection of group size definitions for the toolbar group.

Header

Gets or sets the header of the group.

IsCollapsed

Gets whether the group is collapsed.

IsDisposed

Gets whether this instance is disposed.

MouseOverBrush

Gets or sets the Brush used to highlight the control when it has the mouse over.

PopupStyle

Gets or sets the Style applied to the menu.

PressedBrush

Gets or sets the Brush used to paint a button when it is pressed.

ShowDialogLauncher

Gets or sets whether a dialog launcher button is displayed.

ToolStripStyle

Gets or sets the style of the tool-strip.

ToolStyle

Gets or sets the style of the tools.

WidthConstraint

Gets the width constraint set by the C1Ribbon control.

Methods

Name Description
Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the RibbonGroup class.

OnApplyTemplate()
OnItemsChanged(NotifyCollectionChangedEventArgs)

Invoked when Items property changed.

OnPropertyChanged(string)

Called when a property changed.

PrepareContainerForItemOverride(DependencyObject, object)

Prepares item container.

TryCloseDropDownButton()

Try to close the DropDownButton of this ToolbarGroup

Events

Name Description
DialogLauncherClick

Fires when dialog launcher is clicked.

PropertyChanged

Raised when a property changed.