Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
575
How to change the MouseOver-Color of the CloseButton of a tile?
posted

Hi,

how can I change the mouse-over-background-color (default is red) of the close-button on a tile (i.e. to yellow)?

Many thanks...
Marco

Parents
No Data
Reply
  • 9836
    Suggested Answer
    posted

    Hello Marco,

    You can either change the default brush of the buttons int he caption area of the tile:

    <Grid.Resources>

                <SolidColorBrush x:Key="{x:Static igTiles:TileBrushKeys.TileCaptionBtnHottrackBackgroundFillKey}"

    Color="Yellow" />

    </Grid.Resources>

    or modify the TileHeaderPresenter.CloseButtonStyleKey. All of the default styles for the tileview control are usually located here: \NetAdvantage 2010.2\WPF\DefaultStyles\Tiles\TilesGeneric.xaml

    Let me know if you have any questions with this matter.

Children
No Data