Click here to Skip to main content
15,906,567 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Why Does It Do That? Pin
Rage4-Sep-09 1:01
professionalRage4-Sep-09 1:01 
GeneralRe: Why Does It Do That? Pin
#realJSOP4-Sep-09 2:14
professional#realJSOP4-Sep-09 2:14 
GeneralRe: Why Does It Do That? Pin
Mycroft Holmes5-Sep-09 14:34
professionalMycroft Holmes5-Sep-09 14:34 
GeneralRe: Why Does It Do That? Pin
Dario Solera4-Sep-09 1:23
Dario Solera4-Sep-09 1:23 
GeneralRe: Why Does It Do That? Pin
OriginalGriff4-Sep-09 1:25
mveOriginalGriff4-Sep-09 1:25 
GeneralRe: Why Does It Do That? Pin
Jim Crafton4-Sep-09 3:15
Jim Crafton4-Sep-09 3:15 
GeneralRe: Why Does It Do That? Pin
peterchen4-Sep-09 3:21
peterchen4-Sep-09 3:21 
QuestionUsing a resource in multiple places Pin
Etienne_1233-Sep-09 8:10
Etienne_1233-Sep-09 8:10 
AnswerRe: Using a resource in multiple places Pin
Daniel Larocque3-Sep-09 8:41
Daniel Larocque3-Sep-09 8:41 
GeneralRe: Using a resource in multiple places Pin
Etienne_1234-Sep-09 1:01
Etienne_1234-Sep-09 1:01 
GeneralRe: Using a resource in multiple places Pin
Pete O'Hanlon4-Sep-09 1:13
mvePete O'Hanlon4-Sep-09 1:13 
GeneralRe: Using a resource in multiple places Pin
Daniel Larocque4-Sep-09 1:15
Daniel Larocque4-Sep-09 1:15 
GeneralRe: Using a resource in multiple places Pin
Etienne_1234-Sep-09 2:19
Etienne_1234-Sep-09 2:19 
QuestionUpload Images to SQL database in silverlight Pin
Nekkantidivya2-Sep-09 0:34
Nekkantidivya2-Sep-09 0:34 
AnswerRe: Upload Images to SQL database in silverlight Pin
Pete O'Hanlon2-Sep-09 1:40
mvePete O'Hanlon2-Sep-09 1:40 
AnswerRe: Upload Images to SQL database in silverlight Pin
Arun Jacob2-Sep-09 20:03
Arun Jacob2-Sep-09 20:03 
QuestionUsercontrol properties Pin
krishnan.s1-Sep-09 18:53
krishnan.s1-Sep-09 18:53 
AnswerRe: Usercontrol properties Pin
Krishna Aditya1-Sep-09 22:43
Krishna Aditya1-Sep-09 22:43 
Hi...

An example in the Codeproject has this implementation.

I am extracting from it and pasting it here.
in XAML.cs,

<pre>      private void CenteringSlider_LostMouseCapture(object sender, MouseEventArgs e)
            {
                  // change the size of the ellipse when slider value is change
                  // for this example the slider max is 80
                  // and the slider min is -80

                  PlumEllipse.Width = PlumEllipse.Height = (100 + e.NewValue);

            }

            private void CenteringSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs&lt;double&gt; e)
            {
                  // set a 500ms duration
                  Duration returnToCenterDuration = new Duration(new TimeSpan(0, 0, 0, 0, 500));
                  CenteringSlider.BeginAnimation(Slider.ValueProperty,
                        new DoubleAnimation(CenteringSlider.Value, 0, returnToCenterDuration, FillBehavior.Stop));

                  // set the slider value to zero
                  //   otherwise the slider will return to the last postion after the animation
                  CenteringSlider.Value = 0;

            }
</pre>

Please search for the full project in codeproject itself.
Thank you,
Ramm
AnswerRe: Usercontrol properties Pin
Pete O'Hanlon1-Sep-09 23:06
mvePete O'Hanlon1-Sep-09 23:06 
GeneralRe: Usercontrol properties Pin
krishnan.s2-Sep-09 1:35
krishnan.s2-Sep-09 1:35 
GeneralRe: Usercontrol properties Pin
Pete O'Hanlon4-Sep-09 10:09
mvePete O'Hanlon4-Sep-09 10:09 
GeneralRe: Usercontrol properties [modified] Pin
PaulPrice3-Sep-09 4:02
PaulPrice3-Sep-09 4:02 
GeneralRe: Usercontrol properties Pin
Pete O'Hanlon4-Sep-09 10:08
mvePete O'Hanlon4-Sep-09 10:08 
Question[Message Deleted] Pin
ProgrammerWPF1-Sep-09 16:02
ProgrammerWPF1-Sep-09 16:02 
AnswerRe: Creating a customcontrol Pin
Super Lloyd1-Sep-09 16:56
Super Lloyd1-Sep-09 16:56 

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.