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

WPF

 
AnswerRe: Data binding from a List to a Grid Pin
Mark Salsbery25-Jun-09 7:23
Mark Salsbery25-Jun-09 7:23 
GeneralRe: Data binding from a List to a Grid Pin
fjparisIII25-Jun-09 7:40
fjparisIII25-Jun-09 7:40 
GeneralRe: Data binding from a List to a Grid Pin
Mark Salsbery25-Jun-09 7:46
Mark Salsbery25-Jun-09 7:46 
GeneralRe: Data binding from a List to a Grid Pin
fjparisIII25-Jun-09 8:33
fjparisIII25-Jun-09 8:33 
AnswerRe: Data binding from a List to a Grid (Everything works now) [modified] Pin
fjparisIII25-Jun-09 12:19
fjparisIII25-Jun-09 12:19 
QuestionWPF Slider project Pin
fgimenez24-Jun-09 8:14
fgimenez24-Jun-09 8:14 
AnswerRe: WPF Slider project Pin
Christian Graus24-Jun-09 15:26
protectorChristian Graus24-Jun-09 15:26 
GeneralRe: WPF Slider project Pin
fgimenez29-Jun-09 2:49
fgimenez29-Jun-09 2:49 
Yes, I've tested in several machines( with different and better video cards) and the result was always the same, the animation flicks.
I'm new to all the wpf developing so I'm building a very simple animation. There is a rectangule with a gradient on the screen and I move it from left to right. That's all.
The size of the rectangule remains the same, only it's position changes.
I'm using the Expression Blend to create the animation and the see the XAML code. The animation looks generated is this one:
<Storyboard x:Key="TextAnimation">
    <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
        <SplineColorKeyFrame KeyTime="00:00:02" Value="#FFFF0000"/>
    </ColorAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Key="testAnimation">
    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" KeySpline="0,0,1,1"/>
        <SplineDoubleKeyFrame KeyTime="00:00:01" Value="340" KeySpline="0,0,1,1"/>
    </DoubleAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" KeySpline="0,0,1,1"/>
        <SplineDoubleKeyFrame KeyTime="00:00:01" Value="225" KeySpline="0,0,1,1"/>
    </DoubleAnimationUsingKeyFrames>
</Storyboard>


As you can see, the propertys being changed are the X and Y positions.
The problem is that as the rectangule moves throught the screen, the borders flick( you can see how they are been drawn very quickly) and this gives a very shaby effect.
Is there any other way to do this? All the examples and libreries I've found have the same problem.

Again, thanks!

Cheers
QuestionSilverlight2Chat Pin
deep7624-Jun-09 4:59
deep7624-Jun-09 4:59 
AnswerRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 7:35
Mark Salsbery24-Jun-09 7:35 
GeneralRe: Silverlight2Chat Pin
deep7624-Jun-09 7:41
deep7624-Jun-09 7:41 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 7:49
Mark Salsbery24-Jun-09 7:49 
GeneralRe: Silverlight2Chat Pin
deep7624-Jun-09 8:04
deep7624-Jun-09 8:04 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 8:25
Mark Salsbery24-Jun-09 8:25 
GeneralRe: Silverlight2Chat Pin
deep7624-Jun-09 8:37
deep7624-Jun-09 8:37 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 9:00
Mark Salsbery24-Jun-09 9:00 
GeneralRe: Silverlight2Chat Pin
deep7624-Jun-09 9:52
deep7624-Jun-09 9:52 
QuestionRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 12:06
Mark Salsbery24-Jun-09 12:06 
AnswerRe: Silverlight2Chat Pin
deep7624-Jun-09 14:35
deep7624-Jun-09 14:35 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 14:46
Mark Salsbery24-Jun-09 14:46 
GeneralRe: Silverlight2Chat Pin
deep7624-Jun-09 15:03
deep7624-Jun-09 15:03 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 18:02
Mark Salsbery24-Jun-09 18:02 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 18:18
Mark Salsbery24-Jun-09 18:18 
AnswerRe: Silverlight2Chat Pin
deep7625-Jun-09 3:29
deep7625-Jun-09 3:29 
GeneralRe: Silverlight2Chat Pin
Pete O'Hanlon24-Jun-09 21:38
mvePete O'Hanlon24-Jun-09 21:38 

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.