Home Forums WPF controls Xceed DataGrid for WPF How can i re-use DataGrid resources in my application ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #22728 |

    Hello,

    I want to re-create the same Look’N’Feel for my application,
    I have been looking at the XAML files under the \Themes folder
    but I just couldn’t get anything out from them.

    For example :

    (from the DataGrid LiveExplorer demo)

    I would like to have the same behavior of Columns Headers applied to some of my controls,
    when you pass the mouse over, it does a nice reflection effect.

    Do you have any idea ?

    Thanks for your help !

    Imported from legacy forums. Posted by Aybe (had 2413 views)

    Xceed Support
    Member
    Post count: 5658

    Styles and templates are not availlable for the Live Explorer look and feel…

    However, you can design your own reflection effect.

    This can be done creating an animation, in the cell’s template. You need to animate the GradientStops of a GradientBrush (assigned as the background of a control). Then, launch the animation is a trigger on the IsMouseOver property.

    HTH

    Imported from legacy forums. Posted by Marcus [Xceed] (had 236 views)

    User (Old forums)
    Member
    Post count: 23064

    Hello Marcus,

    Yes, this is the way i’m engaging on, after some searches.

    Thanks for your help !

    Imported from legacy forums. Posted by Aybe (had 3599 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.