This is a migrated thread and some comments may be shown as answers.

TreeListView Expander Style Plus Minus

4 Answers 228 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 09 Nov 2011, 12:56 PM
Hello,

I want to show Plus/Minus (+/-) in Expander button style in my TreeListView node.
I want the TreeListView default  Office Blue style to remain as it is, just need to change the Expander style only. 

I have tried many but unable to accomplish. Please suggest me a solution asap. Please find the screenshot

4 Answers, 1 is accepted

Sort by
0
Manishkumar
Top achievements
Rank 1
answered on 11 Nov 2011, 08:28 AM
Can anybody help me with this asap
0
Maya
Telerik team
answered on 11 Nov 2011, 08:42 AM
Hello Manishkumar,

You can try to define a simple style targeting GridViewToggleButton and set its PresentationMode property to "PlusMinus". 

 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Manishkumar
Top achievements
Rank 1
answered on 11 Nov 2011, 02:39 PM
Can u please attach an example if any. I tried to google. but did not find the way..
0
Manishkumar
Top achievements
Rank 1
answered on 14 Nov 2011, 06:18 AM

 

 

I defined the style in Resource.
<
Style x:Key="PlusMinusButtonStyle" TargetType="telerik:GridViewToggleButton">

 

 

 

<Setter Property="PresentationMode" Value="PlusMinus" />

 

 

 

</Style>

 



I implemented the style in TreeListView.

 

HierarchyExpandButtonStyle = "{StaticResource PlusMinusButtonStyle}"

Still it is not working. Can u please help me

 

Tags
TreeListView
Asked by
Manishkumar
Top achievements
Rank 1
Answers by
Manishkumar
Top achievements
Rank 1
Maya
Telerik team
Share this question
or