|
|
Rank: Member
Joined: 7/14/2010 Posts: 18 Points: 54
|
I would like to change only the text color in a new node while still using .UseThemes to maintain your "vista" look and feel. However, node.normalstyle.textcolor cannot be altered while .UseThemes is true.
Is there a method to copy the built in Vista Theme style to a new style that could then be applied to the treelistview, allowing me to alter the text color and maintain all other style settings to match the vista look?
|
|
 Rank: Administration
Joined: 6/10/2005 Posts: 637 Points: 1,365
|
In the moment when UseTheme is set to true, the appearance of the control is determined from built-in color scheme that matches the VisualStyle selected for particular windows operating system.
Although you can create the exact appearance by changing properties for each state of the nodes in their corresponding color style, the best solution we can implement which solves this, is to enable setting of styles even when UseTheme is set to true. In this way you can extend the appearance of current theme selected by adding your own custom changes to color styles. The functionality is the same as when UseTheme is set to false, but now it will be available in both cases.
This can be solved immediately and we can send you an updated version tomorrow.
|
|
Rank: Member
Joined: 7/14/2010 Posts: 18 Points: 54
|
While I appreciate it, would this cause an incompatibility with future revisions or a fork in the code tree of TreeListView, or would this be included in future versions of the control itself?
It does seem useful to have a "Apply Styles after Theme" option in future versions of the control itself.
|
|
 Rank: Administration
Joined: 6/10/2005 Posts: 637 Points: 1,365
|
We have received requests for this option from other users also. Upon consideration we have decided to make this feature available in all future versions, and also in all controls, not just TreeListView control.
We don’t make separate versions of the control. All feature requests and suggestions when accepted are included in the control in all future versions.
|
|
Rank: Member
Joined: 7/14/2010 Posts: 18 Points: 54
|
Good to know, thank you for the information. The last thing I would want to introduce is a fork in the code tree of the control itself.
Thank you for the solution. Please let me know when where to go about downloading it when it is ready.
|
|
 Rank: Administration
Joined: 6/10/2005 Posts: 637 Points: 1,365
|
We have added a new property AllowThemeExtend which when set to true allows customization of current theme.
A download link containing this update will be send to you shortly.
|
|
Rank: Member
Joined: 7/14/2010 Posts: 18 Points: 54
|
The new extended theme options works well, thank you very much.
|
|
|
Guest |