SfTreeView + active theme

Hi,

I am trying to implement the SfTreeView in a demo application.

All my controls display correctly in the selected theme, including the TreeViewAdv (left treeview in image). I have one SfTreeView (see red ! in atttached image), but that control does not display the active theme.

Is this due to SfTreeView being in preview or is there perhaps a bug?

Kind regards,

Niels van Strien

ps: all visible names + info are randomly generated data, so no privacy concern

Attachment: SfTreeView_89c36ada.7z

10 Replies

MA Mohanram Anbukkarasu Syncfusion Team July 30, 2020 02:28 PM UTC

Hi Niels van Strien, 

Thanks for contacting Syncfusion support. 

For SfTreeView, we have planned only to provide Material theme and Office 2019 theme support. It will be available from our 2020 Volume 2 SP release which is expected to be rolled out in the end of August 2020. 

From the provided image, we suspect that you have use some theme other than the above mentioned themes.. Kindly update the name of the  themes you have used in your appalication. 

Regards, 
Mohanram A. 



NV NM van Strien July 31, 2020 07:34 AM UTC

Hello Mohanram,

I am using a dropdown which is bound to the enumeration of VisualStyles, so that users can choose the theme that they like.

In xaml I defined:

    <Window.Resources>
        <ObjectDataProvider
            x:Key="Themes"
            MethodName="GetValues"
            ObjectType="{x:Type system:Enum}">
            <ObjectDataProvider.MethodParameters>
                <x:Type TypeName="sfskin:VisualStyles" />
            </ObjectDataProvider.MethodParameters>
        </ObjectDataProvider>
    </Window.Resources>

I understand that making less themes available for components is necessary - currently there are (too) many. However, I really like the Blend theme as well. So, if possible, I would like to request support for that theme as well with the new SfTree.

Also, it would be useful to me, and perhaps other developers too, to have an a new enum with VisualStyles that are supported by all components, including the new ones like SfTree. Otherwise it will be hard for developers to determine (programatically) which themes are supported by all the components they use. In a scenario where users may choose the theme they prefer, it would be useful to have such a new enumeration.

Kind regards,

Niels van Strien
.


MA Mohanram Anbukkarasu Syncfusion Team August 4, 2020 02:26 AM UTC

Hi Niels van Strien, 
 
Thanks for the update.  

We are currently checking the feasibility to provide the requested supports regarding the visual styles enumeration and SfTreeView visual styles. We will update with further details on 5th August, 2020.  

We appreciate your patience until then. 

Regards, 
Mohanram A. 



MA Mohanram Anbukkarasu Syncfusion Team August 5, 2020 12:10 PM UTC

Hi Niels van Strien, 

Sorry for the inconvenience. 

We can’t provide support for existing themes other than Material and Office2019 themes for the new components like SfTreeView. And also it is impossible to provide separate enumeration for VisualStyles as per your requirement. We suggest you to make use of the MaterialDark and Office2019Black which are similar to the blend theme appearance and populate the dropdown with those material and office2019 themes which are applicable for all the components. 

Please let us know if you require any other assistance from us. 

Regards, 
Mohanram A. 




NV NM van Strien August 7, 2020 05:31 PM UTC

Hi Mohanran,

I get buggy behavior when I change away from Blend. I am using a RibbonWindow for the main window.

I have now set in it's XAML

    xmlns:sfskin="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
    sfskin:SfSkinManager.VisualStyle="Office2019Black"

Before initializing the main window I call
SfSkinManager.ApplyStylesOnApplication = true;

I do not see a difference in the application at run time when I do not set that. Is it necessary?

--

In the visual studio 2019 XAML preview - I do not see any tabs or buttons anymore in the Ribbon, which makes it very hard to edit the Ribbon. How do I fix that?

--

The documentation mentions that the ribbon control comes with a few styles, but not the Material and Office2019 themes.
see: https://help.syncfusion.com/wpf/ribbon/stylingandtemplates

Would it be possible to update the Ribbon control to include support for the Material and Office2019 themes out of the box, since this seems to be the path ahead?

--

When using Office2019Black, at runtime, the SfTreeView is now a black empty space, whereas with Blend I just had a control without a skin. This is not workable.

--

Similar problems occur when using the Material Dark theme.

--

Note that this part of the documentation is outdated due to the changes that were implemented with SfTreeView -  at least when using SfTreeView you cannot bind to the enumeration without breaking the UI: https://help.syncfusion.com/wpf/themes/skin-manager#how-to


There are a lot of issue with just changing style from Blend to Office2019Black or MaterialDark. It is not a simple transition.

I would appreciate your help with how to move forward.

Kind regards,

Niels van Strien




MA Mohanram Anbukkarasu Syncfusion Team August 10, 2020 12:58 PM UTC

Hi Niels van Strien, 
 
Thanks for the update.  
  
S. No 
Query 
Response 
1 
I get buggy behavior when I change away from Blend. I am using a RibbonWindow for the main window.  
  
I have now set in it's XAML  
  
    xmlns:sfskin="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
    sfskin:SfSkinManager.VisualStyle="Office2019Black" 
 
  
Before initializing the main window I call  
SfSkinManager.ApplyStylesOnApplication = true;  
  
  
  
I do not see a difference in the application at run time when I do not set that. Is it necessary?  
 
On setting the Office2019Black theme in the RibbonWindow, the theme will applied for RibbonWindow. However if you have any other controls in your application and you want to apply the theme for all controls in your application, then it will be applicable by using the ApplyStylesOnApplication property.  
  
You can refer the following ug for more information about ApplyStylesOnApplication property:  
  
2 
In the visual studio 2019 XAML preview - I do not see any tabs or buttons anymore in the Ribbon, which makes it very hard to edit the Ribbon. How do I fix that?  
We could understand that you are not able to view tabs and button in Ribbon,and we were able to reproduce this.   
  
  
  
Could you please let us know whether you are reporting this issue in Office2019Black ? It would be helpful for us to proceed on this further.  
 
3 
The documentation mentions that the ribbon control comes with a few styles, but not the Material and Office2019 themes.  
  
Would it be possible to update the Ribbon control to include support for the Material and Office2019 themes out of the box, since this seems to be the path ahead?  
 
We have added the Material and Office2019 theme support in under skinmanager topic  
  
  
However we consider your request to add the topics of latest themes such as Material and Office2019 in Ribbon UG documentation. We have logged a report on this and it will be publish at the earliest.  
  
 
4 
When using Office2019Black, at runtime, the SfTreeView is now a black empty space, whereas with Blend I just had a control without a skin. This is not workable. 
 
-- 
 
Similar problems occur when using the Material Dark theme. 
 
As we  have mentioned in our earlier updates, Material and Office 2019 theme support will be available from our upcoming 2020 Volume 2 SP release which is expected to be rolled out in this month (August 2020). Once it is provided you can make us of these themes for the SfTreeView. 
 
 
5 
Note that this part of the documentation is outdated due to the changes that were implemented with SfTreeView -  at least when using SfTreeView you cannot bind to the enumeration without breaking the UI: https://help.syncfusion.com/wpf/themes/skin-manager#how-to  
We are little unclear with this update. Kindly provide more details about what you are mentioning as outdated. It will be helpful for us to understand your requirement and provide a proper response.  
 
Regards, 
Mohanram A. 
 



NV NM van Strien September 7, 2020 02:46 AM UTC

Hello Mohanram,

Sorry for the long delay. I will respond properly somewhere in the next week.

Kind regards,

Niels van Strien


MA Mohanram Anbukkarasu Syncfusion Team September 7, 2020 11:12 AM UTC

Hi Niels van Strien, 

Thanks for the update.  

We will wait to hear from you.   

Regards, 
Mohanram A. 



NV NM van Strien October 6, 2020 10:03 AM UTC

Hi Mohanram Anbukkarasu,

I have been called away from my project for a while. I returned today, update to the october release of SF tools and it seems that the issues I brought forward in this thread have been solved. Should something anew arise, I feel I can better start a new thread.

Thank you for your help with these issues.

Kind regards,

Niels


VS Vijayarasan Sivanandham Syncfusion Team October 7, 2020 08:50 AM UTC

Hi NM van Strien

Thanks for the update.
 

Thanks for the response. We are glad that your issue is resolved.

Regards,
 
Vijayarasan S 


Loader.
Up arrow icon