Declined
Last Updated: 07 Jun 2019 08:50 by ADMIN
Dennis
Created on: 30 Jan 2019 14:10
Category: TreeView
Type: Bug Report
0
TreeView: TextCellTextColor property of the ItemStyle is not applied
TextCellTextColor property of the TreeViewItemStyle is not respected.
1 comment
ADMIN
Georgi
Posted on: 07 Jun 2019 08:49
Hi all,

We have deleted the TextCellTextColor property. You can use implicit style for setting the text color:
...
        <telerikDataControls:RadTreeView.Resources>
            <ResourceDictionary>
                <Style TargetType="telerikTreeView:ItemText">
                    <Setter Property="TextColor" Value="White"/>
                </Style>
                <Style TargetType="telerikTreeView:ExpandCollapseIndicator">
                    <Setter Property="TextColor" Value="#0A3A82"/>
                </Style>
            </ResourceDictionary>
        </telerikDataControls:RadTreeView.Resources>
...

Where the the telerikTreeView namespace is defined like this:
xmlns:telerikTreeView="clr-namespace:Telerik.XamarinForms.DataControls.TreeView;assembly=Telerik.XamarinForms.DataControls"


Also if you prefer setting it as a property in the ItemStyle you can vote and let us know on what part of the item you expect the color to be set in this feedback item:
https://feedback.telerik.com/xamarin/1412304-treeview-provide-a-way-to-set-text-color-to-an-item-via-the-itemstyle-property

More information you can find in the following forum thread:
https://www.telerik.com/forums/building-a-treeview-with-data-from-a-web-service