Information générale
Catégorie:
Windows Presentation Foundation (WPF)
Versions des environnements
>>Hi,
>>Thanks for the code. You're right - it didn't help much for the case in question but gave me a few ideas for something else I needed!
>>The code I posted solved my problem - basically adding the Transform of the Path to the content Geometry and removing it from the Path. Then I can use the change in bounds for the Path to calculate a compensating size and position so that the final appearance is identical. Maybe there's a simpler way - but I haven't found one....
>
>Cool, glad you found some use foir it<g>
>
>>BTW, completely off topic : Do you use Snoop? I find it very useful for digging into visual trees at runtime.....
>
>Constantly Snoop is a vital part of my toolkit.
>
>I also use these items frequently for WPF coding:
>
>Mole
>ShowMeTheTemplate
>SqlServerQueryVisualizer
>CLRProfiler
>Adobe Illustrator XAML converter add in
>Simple Styles Sample Project
Hi,
I'd come across mention of Mole and ShowMeTheTemplate, intended to look at them, never got round to it.....
This prompted me to download them - both very cool (esp. SMTT) In fact it prompted me to think that changing the ScrollView template might be another solution to the problem on the other thread....
Best,
Viv
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement