Hi,
I want to place a new Button (an arrow, see in example) in the header of the XamTiles, in the upper right corner, near the default "x" and the "state-change-Buttons". Can I do this? How do I this?
Thanks and greets...Marco
Hi Marco,
You can use the default style template as a basis for modifying the Tile. It can be found in the DefaultStyles\Tiles\TilesGeneric.xaml folder where you have installed the product.
Sincerely,
Horen
Hi Horen,
if I define a template, I have to define all things by myself, right? I.e. I have to define the close button, the minimize button, and so on, and so on!? That's much work for only one button more! ;o(
Is it not possible to add only one button to the three default-buttons?
Thanks...Marco
You can set the HeaderTemplate or the HeaderTemplateSelector propertiesof the Tile to a custom DataTemplate. Note that this is restricted to an area between the tile's image on the left and the buttons on the right.
If you want complete control over the layout of the entire tile header area you should provide a Style for the TileHeaderPresenter element with a custom template.
Horen Kirazyan