Click here to Skip to main content
15,907,329 members
Home / Discussions / WPF
   

WPF

 
Questionexecute code on Server-side - Silverlight Pin
jadughar14-Nov-10 19:40
jadughar14-Nov-10 19:40 
AnswerRe: execute code on Server-side - Silverlight Pin
Vimalsoft(Pty) Ltd14-Nov-10 20:10
professionalVimalsoft(Pty) Ltd14-Nov-10 20:10 
AnswerRe: execute code on Server-side - Silverlight Pin
Abhinav S14-Nov-10 20:40
Abhinav S14-Nov-10 20:40 
GeneralRe: execute code on Server-side - Silverlight Pin
jadughar14-Nov-10 21:07
jadughar14-Nov-10 21:07 
QuestionMouse Move - how to determine span of move (i.e. delta x and delta y) Pin
devvvy14-Nov-10 16:10
devvvy14-Nov-10 16:10 
AnswerRe: Mouse Move - how to determine span of move (i.e. delta x and delta y) Pin
Dr.Walt Fair, PE14-Nov-10 16:23
professionalDr.Walt Fair, PE14-Nov-10 16:23 
QuestionXenApp vs WPF Popup (repaint problem when Popup Minimized") Pin
devvvy14-Nov-10 15:43
devvvy14-Nov-10 15:43 
QuestionData Trigger Problem Pin
carrigart13-Nov-10 15:13
carrigart13-Nov-10 15:13 
Hi,

Looking for a bit of help regarding a Datatrigger that I'm trying to implement in my mvvm application.

What I have is a grid and in the grids triggers I have a datatrigger that is bound to a boolean property
called ShowAnimation that when true, triggers a animation to go. Code doesnt run at all. I tried setting the
animation off using an eventtrigger and the animation runs but when I try a data trigger, then no luck. Heres the
xaml for the grid and datatrigger.

<Grid x:Name="ShowAppointmentGrid" Height="10" Width="175" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>

<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>

<Label Grid.Column="0" Grid.Row="0" Content="Date :"/>
<TextBox Grid.Column="1" Text="10 - Apr - 2010" />

<Label Grid.Column="0" Grid.Row="1" Content="Location :"/>
<TextBox Grid.Column="1" Grid.Row="1" Text="Liverpool Lils"/>
<Label Grid.Column="0" Grid.Row="2" Content="Time :"/>
<TextBox Grid.Column="1" Grid.Row="2" Text="4:00p.m."/>

<Label Grid.Column="0" Grid.Row="3" Content="Notes :"/>
<TextBox Grid.Column="1" Grid.Row="3" TextWrapping="Wrap" >

<Grid.Triggers>
<DataTrigger Binding="{Binding Path=ShowAnimation}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard >
<DoubleAnimation Storyboard.TargetName="ShowAppointmentGrid"
Storyboard.TargetProperty="Height"
To="135" Duration="0Blush | :O :.5"/>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>

<DataTrigger.ExitActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetName="ShowAppointmentGrid" Storyboard.TargetProperty="Height"
Duration="0Blush | :O Blush | :O .3"/>
</Storyboard>
</BeginStoryboard>
</DataTrigger.ExitActions>
</DataTrigger>
</Grid.Triggers>
</Grid>

Thanks
QuestionAccordion add/remove Items at runtime Pin
ekimpl13-Nov-10 0:47
ekimpl13-Nov-10 0:47 
AnswerRe: Accordion add/remove Items at runtime Pin
Mycroft Holmes13-Nov-10 11:58
professionalMycroft Holmes13-Nov-10 11:58 
GeneralRe: Accordion add/remove Items at runtime Pin
ekimpl13-Nov-10 20:59
ekimpl13-Nov-10 20:59 
AnswerRe: Accordion add/remove Items at runtime Pin
Abhinav S13-Nov-10 16:38
Abhinav S13-Nov-10 16:38 
GeneralRe: Accordion add/remove Items at runtime Pin
ekimpl13-Nov-10 21:15
ekimpl13-Nov-10 21:15 
GeneralRe: Accordion add/remove Items at runtime Pin
ekimpl14-Nov-10 5:56
ekimpl14-Nov-10 5:56 
QuestionMultiple xap files after rename Pin
Mycroft Holmes12-Nov-10 16:38
professionalMycroft Holmes12-Nov-10 16:38 
AnswerRe: Multiple xap files after rename Pin
Mycroft Holmes13-Nov-10 21:06
professionalMycroft Holmes13-Nov-10 21:06 
GeneralRe: Multiple xap files after rename Pin
Abhinav S14-Nov-10 2:54
Abhinav S14-Nov-10 2:54 
AnswerRe: Multiple xap files after rename Pin
RobCroll14-Nov-10 10:29
RobCroll14-Nov-10 10:29 
GeneralRe: Multiple xap files after rename Pin
Mycroft Holmes14-Nov-10 13:14
professionalMycroft Holmes14-Nov-10 13:14 
GeneralRe: Multiple xap files after rename Pin
RobCroll14-Nov-10 13:38
RobCroll14-Nov-10 13:38 
GeneralRe: Multiple xap files after rename Pin
Mycroft Holmes14-Nov-10 13:54
professionalMycroft Holmes14-Nov-10 13:54 
QuestionSilverlight UserControl DependencyProperty in binding Pin
Adriaan Davel12-Nov-10 0:58
Adriaan Davel12-Nov-10 0:58 
QuestionRe: Silverlight UserControl DependencyProperty in binding Pin
Adriaan Davel15-Nov-10 21:55
Adriaan Davel15-Nov-10 21:55 
QuestionNot specifically MVVM Question - separation by project Pin
_Maxxx_12-Nov-10 0:18
professional_Maxxx_12-Nov-10 0:18 
AnswerRe: Not specifically MVVM Question - separation by project Pin
Abhinav S12-Nov-10 1:48
Abhinav S12-Nov-10 1:48 

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.