Click here to Skip to main content
16,010,473 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Need Silverlight 3d chart Pin
BobJanova31-May-11 23:29
BobJanova31-May-11 23:29 
GeneralRe: Need Silverlight 3d chart Pin
Mikhael Ray Burton1-Jun-11 7:24
Mikhael Ray Burton1-Jun-11 7:24 
GeneralRe: Need Silverlight 3d chart Pin
BobJanova1-Jun-11 12:09
BobJanova1-Jun-11 12:09 
GeneralRe: Need Silverlight 3d chart Pin
BobJanova2-Jun-11 8:00
BobJanova2-Jun-11 8:00 
QuestionIEditableObject and WCF Pin
Mycroft Holmes30-May-11 17:32
professionalMycroft Holmes30-May-11 17:32 
AnswerRe: IEditableObject and WCF Pin
Pete O'Hanlon30-May-11 23:25
mvePete O'Hanlon30-May-11 23:25 
GeneralRe: IEditableObject and WCF Pin
Mycroft Holmes31-May-11 12:58
professionalMycroft Holmes31-May-11 12:58 
QuestionReading materials for WPF Pin
CodingLover30-May-11 2:29
CodingLover30-May-11 2:29 
AnswerRe: Reading materials for WPF Pin
Mark Salsbery30-May-11 6:11
Mark Salsbery30-May-11 6:11 
JokeRe: Reading materials for WPF Pin
_Maxxx_30-May-11 14:07
professional_Maxxx_30-May-11 14:07 
GeneralRe: Reading materials for WPF Pin
Mark Salsbery31-May-11 7:22
Mark Salsbery31-May-11 7:22 
GeneralRe: Reading materials for WPF Pin
_Maxxx_31-May-11 13:11
professional_Maxxx_31-May-11 13:11 
GeneralRe: Reading materials for WPF Pin
CodingLover30-May-11 18:29
CodingLover30-May-11 18:29 
AnswerRe: Reading materials for WPF Pin
Abhinav S30-May-11 7:22
Abhinav S30-May-11 7:22 
GeneralRe: Reading materials for WPF Pin
CodingLover30-May-11 18:30
CodingLover30-May-11 18:30 
GeneralRe: Reading materials for WPF Pin
Abhinav S30-May-11 20:06
Abhinav S30-May-11 20:06 
QuestionRe: Reading materials for WPF Pin
CodingLover30-May-11 18:32
CodingLover30-May-11 18:32 
QuestionApplying MVVM (WPF) Pin
jgalak29-May-11 10:49
jgalak29-May-11 10:49 
AnswerRe: Applying MVVM (WPF) [long post] Pin
Keith Barrow29-May-11 12:11
professionalKeith Barrow29-May-11 12:11 
AnswerRe: Applying MVVM (WPF) Pin
_Maxxx_29-May-11 14:27
professional_Maxxx_29-May-11 14:27 
QuestionStorybook.RepeatBehavior not repeating [modified] Pin
Paul R Cotter28-May-11 11:06
Paul R Cotter28-May-11 11:06 
I have a misunderstanding about RepeatBehaviour. I'm experimenting and I have this XAML embedded in a Canvas inside a System.Windows.Window. I expected the colors to transition from Blue to Orange and back again, followed by Green to Purple and back again, and then for the process to repeat until the Storyboard duration ran out. However, it only performs one cycle and then stops - on green.

What am I doing wrong...
<Button Name="butPlay"
        Click="butPlay_Click"
        Width="96"  Canvas.Left="136" Canvas.Top="191" Content="Play" Height="40" >
    <Button.Triggers>
        <EventTrigger RoutedEvent="Button.Click">
            <BeginStoryboard >
                <Storyboard Duration="1: 0: 0"
                            RepeatBehavior="5">
                    <ColorAnimation Storyboard.TargetProperty="Color"
                                    Storyboard.TargetName="rctPlayBrush"
                                    From="Blue" To="Orange"
                                    Duration="0: 0: 1"
                                    AutoReverse="True" />

                    <ColorAnimation Storyboard.TargetProperty="Color"
                                    Storyboard.TargetName="rctPlayBrush"
                                    From="Green" To="Purple"
                                    Duration="0: 0: 1"
                                    AutoReverse="True"
                                    BeginTime="0: 0: 2"/>
                </Storyboard>
            </BeginStoryboard>
        </EventTrigger>
    </Button.Triggers>
</Button>



Whilst I realise the colour scheme leaves a little to be desired, can you help me the technical rather than esthetic aspect?

ps. How does one stop colon-zero (Blush | :O )being displayed as a smiley? (hence the spaces after the colons in the code)
Paulustrious
Email: codeproject who-is-at paulcotter.com
modified on Saturday, May 28, 2011 5:49 PM

AnswerRe: Storybook.RepeatBehavior not repeating [modified] Pin
Mark Salsbery28-May-11 12:37
Mark Salsbery28-May-11 12:37 
QuestionSilverlight / WPF Every page a content control Pin
DL00127-May-11 5:29
DL00127-May-11 5:29 
AnswerRe: Silverlight / WPF Every page a content control Pin
Mark Salsbery27-May-11 7:33
Mark Salsbery27-May-11 7:33 
AnswerRe: Silverlight / WPF Every page a content control Pin
Abhinav S27-May-11 8:15
Abhinav S27-May-11 8:15 

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.