Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView Expander button size
Message
De
03/12/2009 03:42:34
 
 
À
03/12/2009 03:24:15
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01436603
Message ID:
01437425
Vues:
37
>>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
>
>I don't know how many times I've wanted a where the heck did that setting come from button in WPF.

I don't know how Snoop hooks in to the App but, oddly, it too was picking up the Style in its own TreeView - that should have given me a clue :-{
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform