Click here to Skip to main content
15,922,407 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Dynamically Hinding Controls Pin
Mark Salsbery25-Oct-08 10:44
Mark Salsbery25-Oct-08 10:44 
QuestionAre there any anti-alias effects in WPF ? Pin
Mohammad Dayyan23-Oct-08 9:19
Mohammad Dayyan23-Oct-08 9:19 
AnswerRe: Are there any anti-alias effects in WPF ? Pin
elektrowolf25-Oct-08 23:30
elektrowolf25-Oct-08 23:30 
GeneralRe: Are there any anti-alias effects in WPF ? Pin
Mohammad Dayyan25-Oct-08 23:39
Mohammad Dayyan25-Oct-08 23:39 
QuestionChart Component Pin
Johan Lombaard23-Oct-08 3:09
Johan Lombaard23-Oct-08 3:09 
AnswerRe: Chart Component Pin
Pete O'Hanlon23-Oct-08 4:35
mvePete O'Hanlon23-Oct-08 4:35 
AnswerRe: Chart Component Pin
Jammer23-Oct-08 5:03
Jammer23-Oct-08 5:03 
QuestionHow to get the coordinate of the Shape which moving on the PathGeometry while using DoubleAnimationUsingPath? Pin
suyeshk22-Oct-08 23:11
suyeshk22-Oct-08 23:11 
Hi,

I have developed an animation application in WPF using DoubleAnimationUsingPath, simply i want to display the coordinates (Canvas.Top, Canvas.Left) of shape (say a rectangle shape) which gets continously updated while animating on the PathGeometry (say a ellipse using ArcSegment). I have used following XAML code for Creating Path geometry & then animating a rectangle on that path geometry:

<Grid.Resources>
<PathGeometry x:Key="animPath">
<PathFigure StartPoint="160,170" IsClosed="True">
<ArcSegment Point="140,175" Size="80,180"
SweepDirection="Clockwise" IsLargeArc="True" />
</PathFigure>

</PathGeometry>

</Grid.Resources>

.......

<Path Stroke="Black" x:Name="mainUI" >
<Path.Data>
<RectangleGeometry x:Name="rect00" Rect="0, 0, 60, 60" RadiusX="10" RadiusY="10"></RectangleGeometry>
</Path.Data>
<Path.Triggers>
<EventTrigger RoutedEvent="Line.Loaded">
<BeginStoryboard Name="change1">
<Storyboard>
<DoubleAnimationUsingPath Source="X"
RepeatBehavior="Forever" Duration="0Blush | :O :15"
Storyboard.TargetProperty="(Canvas.Left)"
PathGeometry="{StaticResource animPath}" />
<DoubleAnimationUsingPath Source="Y"
RepeatBehavior="Forever" Duration="0Blush | :O :15"
Storyboard.TargetProperty="(Canvas.Top)"
PathGeometry="{StaticResource animPath}" />

</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Path.Triggers>
</Path>

...

Here I want to print on console the Canvas.Left & Canvas.Top property of Path when the animation has started and its gets continuosly changed everytime the Path changes its position on the PathGeometry as mentioned in DoubleGeometryUsingPath tag.

Hope you understood the query..
Thanks,
Suyesh.
QuestionWPF & Silverlight LOB Form Layout - Searching for a Better Solution Pin
User 27100922-Oct-08 22:46
User 27100922-Oct-08 22:46 
AnswerRe: WPF & Silverlight LOB Form Layout - Searching for a Better Solution Pin
Pete O'Hanlon22-Oct-08 23:02
mvePete O'Hanlon22-Oct-08 23:02 
QuestionDerive from UserControl Pin
ezazazel22-Oct-08 11:35
ezazazel22-Oct-08 11:35 
AnswerRe: Derive from UserControl Pin
Pete O'Hanlon22-Oct-08 11:43
mvePete O'Hanlon22-Oct-08 11:43 
GeneralRe: Derive from UserControl Pin
ezazazel22-Oct-08 12:10
ezazazel22-Oct-08 12:10 
QuestionDisplaying 2D text in WPF Pin
crazygirl22-Oct-08 3:38
crazygirl22-Oct-08 3:38 
AnswerRe: Displaying 2D text in WPF Pin
Pete O'Hanlon22-Oct-08 5:27
mvePete O'Hanlon22-Oct-08 5:27 
GeneralRe: Displaying 2D text in WPF Pin
crazygirl28-Oct-08 9:00
crazygirl28-Oct-08 9:00 
QuestionIs WPF actually useful for most businesses? Pin
RugbyLeague21-Oct-08 4:02
RugbyLeague21-Oct-08 4:02 
AnswerRe: Is WPF actually useful for most businesses? Pin
User 27100921-Oct-08 4:11
User 27100921-Oct-08 4:11 
GeneralRe: Is WPF actually useful for most businesses? Pin
RugbyLeague21-Oct-08 4:23
RugbyLeague21-Oct-08 4:23 
GeneralRe: Is WPF actually useful for most businesses? Pin
Pete O'Hanlon21-Oct-08 4:46
mvePete O'Hanlon21-Oct-08 4:46 
GeneralRe: Is WPF actually useful for most businesses? Pin
RugbyLeague21-Oct-08 4:50
RugbyLeague21-Oct-08 4:50 
GeneralRe: Is WPF actually useful for most businesses? Pin
Pete O'Hanlon21-Oct-08 5:06
mvePete O'Hanlon21-Oct-08 5:06 
GeneralRe: Is WPF actually useful for most businesses? Pin
Jammer21-Oct-08 9:06
Jammer21-Oct-08 9:06 
GeneralRe: Is WPF actually useful for most businesses? Pin
RugbyLeague21-Oct-08 22:59
RugbyLeague21-Oct-08 22:59 
GeneralRe: Is WPF actually useful for most businesses? Pin
Jammer22-Oct-08 10:41
Jammer22-Oct-08 10:41 

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.