Click here to Skip to main content
15,913,320 members
Home / Discussions / WPF
   

WPF

 
QuestionWPF - Navigation w/o click sound Pin
crystal91545-Jun-10 13:56
crystal91545-Jun-10 13:56 
QuestionVisual Studio 2010 WPF and ListBoxes Pin
RossouwDB2-Jun-10 22:02
RossouwDB2-Jun-10 22:02 
QuestionIs it possible to do a streaming upload to my server of audio recordings as they are being recorded by my Silverlight client-side application? Pin
Sandra McLeod2-Jun-10 8:39
Sandra McLeod2-Jun-10 8:39 
AnswerRe: Is it possible to do a streaming upload to my server of audio recordings as they are being recorded by my Silverlight client-side application? Pin
fred_8-Jun-10 10:17
fred_8-Jun-10 10:17 
QuestionPhotoshop like image editor with a drag and drop image gallery Pin
ikbegins1-Jun-10 23:37
ikbegins1-Jun-10 23:37 
AnswerRe: Photoshop like image editor with a drag and drop image gallery Pin
Abhinav S3-Jun-10 23:27
Abhinav S3-Jun-10 23:27 
AnswerRe: Photoshop like image editor with a drag and drop image gallery Pin
fjparisIII6-Jun-10 13:38
fjparisIII6-Jun-10 13:38 
GeneralRe: Photoshop like image editor with a drag and drop image gallery Pin
Mycroft Holmes6-Jun-10 15:02
professionalMycroft Holmes6-Jun-10 15:02 
GeneralRe: Photoshop like image editor with a drag and drop image gallery Pin
ikbegins7-Jun-10 21:50
ikbegins7-Jun-10 21:50 
GeneralRe: Photoshop like image editor with a drag and drop image gallery Pin
Mycroft Holmes7-Jun-10 22:19
professionalMycroft Holmes7-Jun-10 22:19 
GeneralRe: Photoshop like image editor with a drag and drop image gallery Pin
ikbegins9-Jun-10 21:37
ikbegins9-Jun-10 21:37 
QuestionSilverlight ---- Viewbox Control : How ? Pin
milestanley1-Jun-10 21:26
milestanley1-Jun-10 21:26 
AnswerRe: Silverlight ---- Viewbox Control : How ? Pin
Abhinav S1-Jun-10 21:47
Abhinav S1-Jun-10 21:47 
GeneralRe: Silverlight ---- Viewbox Control : How ? Pin
milestanley1-Jun-10 22:07
milestanley1-Jun-10 22:07 
AnswerRe: Silverlight ---- Viewbox Control : How ? Pin
Abhinav S1-Jun-10 23:11
Abhinav S1-Jun-10 23:11 
GeneralRe: Silverlight ---- Viewbox Control : How ? Pin
milestanley1-Jun-10 23:34
milestanley1-Jun-10 23:34 
AnswerRe: Silverlight ---- Viewbox Control : How ? Pin
Peace ON1-Jun-10 22:17
Peace ON1-Jun-10 22:17 
AnswerRe: Silverlight ---- Viewbox Control : How ? Pin
Mamta D3-Jul-10 20:51
Mamta D3-Jul-10 20:51 
QuestionHow do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
fjparisIII1-Jun-10 8:20
fjparisIII1-Jun-10 8:20 
AnswerRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
fjparisIII1-Jun-10 10:22
fjparisIII1-Jun-10 10:22 
GeneralStoryboard Animation of ScrollBar is not possible Pin
fjparisIII1-Jun-10 12:31
fjparisIII1-Jun-10 12:31 
AnswerRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
Abhinav S1-Jun-10 17:36
Abhinav S1-Jun-10 17:36 
GeneralRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
fjparisIII1-Jun-10 18:27
fjparisIII1-Jun-10 18:27 
GeneralRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
Abhinav S1-Jun-10 23:22
Abhinav S1-Jun-10 23:22 
GeneralRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
fjparisIII2-Jun-10 4:32
fjparisIII2-Jun-10 4:32 
Abhinav S wrote:
These are supposed to...
etc.
I know what they both do. I use them all the time, both in Silverlight and WPF. I just don't see their relevance to the problem I was trying to solve.
Abhinav S wrote:
I'm glad that you have managed to get this working using a workaround though.

You're talking about the centering of the Expanders, correct? I'd hardly call my solution a "workaround." It's a straightforward solution, direct and to the point.

Maybe I didn't explain carefully enough what I'm trying to do. I have extensive product documentation on my Website. I have a product overview, ten tutorials, plus an "Easter egg" that gives background on how such a product ever came to be developed. Each document is initially presented as a list of Expanders within a ScrollViewer. The average list has about 8 Expanders and each Expander expands and collapses on average 8 lines of wrapping text per paragraph and maybe 5 or 6 paragraphs.

The problem was to vertically center an Expander header when the user clicks on it. However, doing that was just a matter of SMOP, nothing esoteric about it at all, and I shouldn't even have asked the question to begin with.

But then I immediately saw that the expansion/collapse took place so fast that it was disconcerting and that it needed to be animated. That's really the interesting part of this entire discussion, and I'm still working on it to capture all the end cases. Should have it all worked out sometime this morning, and then I'll present it under Tips and Tricks.

Anyhow, I don't see how VerticalContentAlignment would play a role in this, since I don't want to keep the content vertically aligned, but only vertically aligned when the user clicks on the Expander header, and only the header for that one Expander, not all of them.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.