Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView Expander button size
Message
From
28/11/2009 06:26:44
 
 
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01436603
Message ID:
01436808
Views:
39
FWIW the answer to this is pretty mundane.
I had a default Border style set in the app and the ControlTemplate for the TreeViewItem wraps the ToggleButton in two Borders....

>In my TreeView the 'Expander' ToggleButton is getting chopped to about half of the height required to display it completely - and I don't understand why.
>
>If I drill in using Snoop I can see that it's Height is in fact hard coded at 13 but nothing (AFAICS) is constraining the height of the containing TreeViewItem - so why is it getting chopped?
>
>TIA,
>Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform