Home Forums WPF controls Xceed DataGrid for WPF Call for Themes

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064

    I have to re-download the installer and re-installer again. It looked like I had the old version of installer for some reasons.

    Now I got it working already. Is there a way to apply the theme globally? I tried to merge it into my resource but the theme didn’t get apply automatically…

    <pre>
    <ResourceDictionary.MergedDictionaries>
    <ResourceDictionary Source=”/MyTheme;component\themes/generic.xaml” />
    </ResourceDictionary.MergedDictionaries>
    </pre>

    Imported from legacy forums. Posted by nat (had 973 views)

    Xceed Support
    Member
    Post count: 5658

    The simplest would be to create an implicit style for TableView, CardView and CompactCardView to set the Theme property accordingly…
    <code>
    <Window.Resources>
    <Style TargetType=”{x:Type xcdg:TableView}”>
    <Setter Property=”Theme” >
    <Setter.Value>
    <my:CustomTheme />
    </Setter.Value>
    </Setter>
    </Style>
    </Window.Resources>
    </code>

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

    User (Old forums)
    Member
    Post count: 23064

    I would be very interested to test the tutorial…Let’s keep in touch…

    Imported from legacy forums. Posted by Sebas (had 1451 views)

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