How to set dialog theme?

3 posts, 0 answers
  1. Ray
    Ray avatar
    2 posts
    Member since:
    Jul 2016

    Posted 17 Dec 2019 Link to this post

    We are using the RadFilePathPicker and we can set the theme of the picker control but how do we set the theme of the resulting dialog when the control is opened?  The theme does not seem to carry over.


    <telerik:RadFilePathPicker DialogType="SaveFile" FilePath="{Binding SaveLocation, Mode=TwoWay}" Margin="0" 
                                                   WatermarkContent="No File Selected" VerticalAlignment="Center" Height="30" Grid.Row="4" Grid.Column="1"


  2. Dinko
    Dinko avatar
    999 posts

    Posted 20 Dec 2019 Link to this post

    Hi Ray, 

    Thank you for the provided code snippet.

    I was able to reproduce this behavior on my side. Therefore, I have logged it in our Feedback Portal where you can track its progress. What I can suggest as a workaround is to set the theme to the whole application. You can do that with StyleManager by setting the StyleManager.ApplicationTheme static property before the InitializeComponent(); method.

    public MainWindow()
        StyleManager.ApplicationTheme = new Office2016TouchTheme();

    I hope this approach is applicable to you. In addition, I have updated your Telerik Points for bringing this behavior to our attention.

    Progress Telerik

    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. Ray
    Ray avatar
    2 posts
    Member since:
    Jul 2016

    Posted 20 Dec 2019 in reply to Dinko Link to this post

    This will not work for us.  Thanks for logging it though.
Back to Top