[]
        
(Showing Draft Content)

C1.WPF.Toolbar.C1ToolbarStrip

C1ToolbarStrip Class

C1ToolbarStrip control represents a strip that contains one or more controls. C1ToolbarStrip can be used alone or as content of toolbar group.

Namespace: C1.WPF.Toolbar
Assembly: C1.WPF.Toolbar.4.6.2.dll
Syntax
public class C1ToolbarStrip : ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage

Constructors

Name Description
C1ToolbarStrip()

Initializes a new instance of a C1ToolbarStrip.

Fields

Name Description
ButtonBackgroundProperty

Identifies the ButtonBackground dependency property.

ButtonForegroundProperty

Identifies the ButtonForeground dependency property.

FocusBrushProperty

Identifies the FocusBrush dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

OrientationProperty

Identifies the Orientation dependency property.

OverflowPanelProperty

Identifies the OverflowPanel dependency property.

OverflowProperty

Identifies the Overflow dependency property.

PressedBrushProperty

Identifies the PressedBrush dependency property.

Properties

Name Description
ButtonBackground

Gets or sets the Brush that will be assigned to the Background of the buttons inside the control.

ButtonForeground

Gets or sets the Brush that will be assigned to the Foreground of the buttons inside the control.

FocusBrush

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

MouseOverBrush

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

Orientation

Gets or sets the orientation of the toolbar strip.

Overflow

Gets or set the value that indicates how to handle the items which do not fit to the available space.

OverflowMenuItems

Gets the collection that contains elements of overflow menu.

OverflowPanel

Gets or sets the template for overflow panel.

PressedBrush

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

Methods

Name Description
ArrangeOverride(Size)

Called when arranging a control.

GetContainerForItemOverride()

Creates the element to display the item.

IsItemItsOwnContainerOverride(object)

Determines if the specified item is its own container.

MeasureOverride(Size)

Called when measuring a control.

OnApplyTemplate()

Invoked during a call of ApplyTemplate() method.

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

Events

Name Description
OverflowItemAdded

Fires when an element is added to the overflow items. The overflow items include the elements hidden from the toolbar strip due to lack of available space.

OverflowItemRemoved

Fires when an element is removed from the overflow items. The overflow items include the elements hidden from the toolbar strip due to lack of available space.