Click here to Skip to main content
15,911,789 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Print in WPF Pin
Thomas Stockwell22-Dec-08 6:28
professionalThomas Stockwell22-Dec-08 6:28 
QuestionWPF & DELL Tablet PC Pin
Jammer17-Dec-08 7:01
Jammer17-Dec-08 7:01 
QuestionWPF Databinding : Cannot bind data Pin
Arijit Manna17-Dec-08 2:59
Arijit Manna17-Dec-08 2:59 
AnswerRe: WPF Databinding : Cannot bind data Pin
Mark Salsbery17-Dec-08 6:33
Mark Salsbery17-Dec-08 6:33 
GeneralRe: WPF Databinding : Cannot bind data Pin
Arijit Manna17-Dec-08 18:50
Arijit Manna17-Dec-08 18:50 
GeneralRe: WPF Databinding : Cannot bind data Pin
Arijit Manna17-Dec-08 18:51
Arijit Manna17-Dec-08 18:51 
GeneralRe: WPF Databinding : Cannot bind data Pin
Mark Salsbery18-Dec-08 8:16
Mark Salsbery18-Dec-08 8:16 
QuestionHow to binding to the actual width and height of the control in doubleanimation? Pin
Eric Vonjacson16-Dec-08 23:20
Eric Vonjacson16-Dec-08 23:20 
Hi,

I add a expander to a window and the double animation when is expanded. However, the to property of the doubleanimation is hardcoded, in my example, the "to" property is 200 and 400. I want to ask that how could it binding to the actual width or height of the expander control? Is this possible?

<Expander Grid.Column="3" Grid.RowSpan="2" Header="expander1" Margin="3,12,-83,18" Name="expander1" BorderBrush="Red" BorderThickness="2" Width="200" Height="400">
     <StackPanel>
       <Button Width="100">This is the button one</Button>
       <Button Width="100">This is the button two</Button>
       </StackPanel>

     <Expander.Triggers>
       <EventTrigger RoutedEvent="Expander.Expanded">
         <BeginStoryboard>
           <Storyboard>
             <DoubleAnimation Storyboard.TargetName="expander1" Storyboard.TargetProperty="Width"
                              From="0" To="200" Duration="0:0:0.25" />
             <DoubleAnimation Storyboard.TargetName="expander1" Storyboard.TargetProperty="Height"
                              From="0" To="400" Duration="0:0:0.25" />
           </Storyboard>
         </BeginStoryboard>
       </EventTrigger>
     </Expander.Triggers>
   </Expander>

thanks.
AnswerRe: How to binding to the actual width and height of the control in doubleanimation? Pin
Pete O'Hanlon17-Dec-08 3:41
mvePete O'Hanlon17-Dec-08 3:41 
GeneralRe: How to binding to the actual width and height of the control in doubleanimation? Pin
Eric Vonjacson17-Dec-08 18:54
Eric Vonjacson17-Dec-08 18:54 
GeneralRe: How to binding to the actual width and height of the control in doubleanimation? Pin
Pete O'Hanlon17-Dec-08 22:04
mvePete O'Hanlon17-Dec-08 22:04 
QuestionUnable to open the Wpf application in windows ( SCSF) [modified] Pin
kinnuP16-Dec-08 23:01
kinnuP16-Dec-08 23:01 
QuestionNEW reporting tool for Silverlight. Pin
TechiGIRL16-Dec-08 22:45
TechiGIRL16-Dec-08 22:45 
Questioncode for email registration and confirmation Pin
harikrishna25116-Dec-08 22:22
harikrishna25116-Dec-08 22:22 
AnswerRe: code for email registration and confirmation Pin
Michael Sync29-Jan-09 2:46
Michael Sync29-Jan-09 2:46 
Questionemail registration and confirmation project Pin
harikrishna25116-Dec-08 22:18
harikrishna25116-Dec-08 22:18 
AnswerRe: email registration and confirmation project Pin
Vimalsoft(Pty) Ltd21-Dec-08 20:53
professionalVimalsoft(Pty) Ltd21-Dec-08 20:53 
Questionmissing taglistenUriMode="Explicit/Unique" Pin
vikramsc16-Dec-08 3:35
vikramsc16-Dec-08 3:35 
QuestionRe: missing taglistenUriMode="Explicit/Unique" Pin
Mark Salsbery16-Dec-08 5:42
Mark Salsbery16-Dec-08 5:42 
AnswerRe: missing taglistenUriMode="Explicit/Unique" Pin
Pete O'Hanlon16-Dec-08 8:31
mvePete O'Hanlon16-Dec-08 8:31 
QuestionHow to override animation in wpf progress bar in indeterminate state? Pin
oyvindpe15-Dec-08 21:42
oyvindpe15-Dec-08 21:42 
AnswerRe: How to override animation in wpf progress bar in indeterminate state? Pin
Charith Jayasundara16-Dec-08 2:55
Charith Jayasundara16-Dec-08 2:55 
AnswerRe: How to override animation in wpf progress bar in indeterminate state? Pin
oyvindpe16-Dec-08 3:48
oyvindpe16-Dec-08 3:48 
QuestionStroke "erasure by points" action duplication on an InkCanvas. (WPF) Pin
Amit Regmi15-Dec-08 9:59
Amit Regmi15-Dec-08 9:59 
QuestionC# WPF how to find ContextMenu Parent Control? [modified] Pin
me0814-Dec-08 21:17
me0814-Dec-08 21:17 

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.