Templates Structure

Like most controls, the RadToolBar also allows you to template it in order to change the control from the inside. Except for templating the whole control, you can template only parts of it. This topic will make you familiar with the structure of the RadToolBar's templates.

For more information about templating and how to modify the default templates of the RadControls you can read the Editing Control Templates on this matter.

RadToolBar Template Structure

RadToolBar Template Structure

  • RootElement: Is of type Grid and hosts the RadToolBar's template.
    • PART_DropdownButton: The button responsible for open/close the Overflow area.
    • PopupGrid: Is of type Grid and host the dropdown Popup element.
      • PART_Overflow: This element is of type Popup and holds the Overflow panel and is responsible for all the pop-up management.
        • PART_OverflowPanel: This element is of type RadToolBarOverflowPanel and serves as a place holder for all items not fitted in Strip panel.
    • [Grid]: This element holds the Grip element of the RadToolBar.
      • [GripOrnamentH]: This element is of type Grid and represent the horizontal visualization of the grip area.
        • [Path]
        • [Path]
      • [GripOrnamentV]: This element is of type Grid and represent the vertical visualization of the grip area.
        • [Path]
        • [Path]
    • PART_StripPanel: This element is of type RadToolBarPanel and serves as a place holder for all visible items.

RadToolBarTray Template Structure

RadToolBarTray Template Structure

  • [Border]: This element holds the ItemPresenter.
    • PART_ItemsPresenter: This element is of type ItemPresenter which visualize every specified RadToolBar.

See Also

In this article
Not finding the help you need? Improve this article