Edit this page

Template Structure

Like most WPF controls, the RadWindow 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 or even independent controls related to it. This topic will make you familiar with the structure of the RadWindow's template. Here is a snapshot of the template generated in Expression Blend.

It contains the following parts:

  • LayoutRoot - hosts the elements of the RadWindow's template and is of type Grid.

    • Shadow - hosts the elements of the RadWindow's shadow and is of type Border.

      • [Border] - takes part in the RadWidnow's shadow and is of type Border.

        • [Border] - takes part in the RadWidnow's shadow and is of type Border.

          • [Border] - takes part in the RadWidnow's shadow and is of type Border.

            • [Border] - takes part in the RadWidnow's shadow and is of type Border.

              • [Border] - takes part in the RadWidnow's shadow and is of type Border.

                • [Border] - takes part in the RadWidnow's shadow and is of type Border.
  • WindowOuterBorder - represents the outer border of the RadWindow, hosts the elements of the RadWindow and is of type Border.

    • WindowInnerBorder - represents the inner border of the RadWindow and is of type Border.

      • [Grid] - hosts the layout of the RadWindow content and header, and is of type Grid.

        • Header - hosts the header elements and is of type Grid.

          • [StackPanel] - hosts the icon and the title, and is of type StackPanel.

            • IconContent - represents the content for the Icon and is of type ContentPresenter.

            • HeaderContent - represents the content for the Header and is of type ContentPresenter.

          • titleThumb - handles the dragging of the RadWindow and is of type Thumb.

          • PART_HeaderButtonsBorder - hosts the buttons in the RadWindow's header and is of type Border.

            • HeaderButtons - orders the buttons in the RadWindow's header and is of type StackPanel.

              • PART_MinimizeButton - represents the button that minimizes the RadWindow and is of type Button.

                • [Path] - represents the figure inside the button and is of type Path.
              • PART_RestoreButton - represents the button that restores the RadWindow and is of type Button.

                • [Path] - represents the figure inside the button and is of type Path.
              • PART_MaximizeButton - represents the button that maximizes the RadWindow and is of type Button.

                • [Path] - represents the figure inside the button and is of type Path.
              • PART_CloseButton - represents the button that closes the RadWindow and is of type Button.

                • [Path] - represents the figure inside the button and is of type Path.
      • ContentOuterBorder - hosts the content of the RadWindow, represents the content's outer border and is of type Border.

        • ContentInnerBorder - represents the inner border of the content and is of type Border.

          • ContentElement - represents the content of the RadWindow and is of type ContentPresenter.
  • W - handles the resizing of the RadWindow to the west and is of type Thumb.

  • N - handles the resizing of the RadWindow to the north and is of type Thumb.

  • E - handles the resizing of the RadWindow to the east and is of type Thumb.

  • S - handles the resizing of the RadWindow to the south and is of type Thumb.

  • NW - handles the resizing of the RadWindow to the north-west and is of type Thumb.

  • NE - handles the resizing of the RadWindow to the north-east and is of type Thumb.

  • SE - handles the resizing of the RadWindow to the south-east and is of type Thumb.

  • SW - handles the resizing of the RadWindow to the south-west and is of type Thumb.

See Also