ToolBar class
이 콘텐츠는 아직 번역되지 않았습니다.
Rows of command groups. Rows are the Bands themselves, never a consequence of the width: a band that runs out of room hides its trailing groups behind its own overflow button, so the toolbar’s height is what the application asked for and does not change as the window resizes.
Guide: C# Markup reference: Toolbar
public sealed class ToolBar : ControlPublic Members
Section titled “Public Members”| name | description |
|---|---|
| ToolBar() | The default constructor. |
| Bands { get; } | Gets the bands, top to bottom. |
| CanReorderGroups { get; set; } | |
| IsReordering { get; } | |
| ItemPresentation { get; set; } | |
| ItemToolTipMode { get; set; } | |
| event GroupsReordered | Raised after a drag has moved a group, once Bands holds the new layout. |
| static readonly CanReorderGroupsProperty | Whether groups may be dragged into a different place. This is a capability, not a mode: a press still runs the entry, and only a drag from a group’s grip moves it. On by default, as a toolbar with grips has been since the toolbars this one is modelled on; turn it off for a fixed one and the grips go with it. |
| static readonly IsReorderingProperty | Whether a group is currently being dragged. |
| static readonly ItemPresentationProperty | How entries show their commands unless the entry overrides it. |
| static readonly ItemToolTipModeProperty | What the entries build a tooltip from when the entry supplies none. Decided here rather than per entry: a toolbar that says one thing about half its buttons and another about the rest is harder to read than either. Defaults to everything the command can say, because an icon-only entry shows no name at all. |
See Also
Section titled “See Also”- class Control
- namespace Aprillz.MewUI.Controls