Click here to Skip to main content
15,887,683 members
Home / Discussions / WPF
   

WPF

 
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 
QuestionBring up Window from Hyperlink Pin
fjparisIII1-Sep-09 13:49
fjparisIII1-Sep-09 13:49 
AnswerRe: Bring up Window from Hyperlink (I SOLVED IT -- need to bring up a Page, not a Window) Pin
fjparisIII2-Sep-09 10:15
fjparisIII2-Sep-09 10:15 
QuestionHow to copy a TList? Pin
CBenac1-Sep-09 3:22
CBenac1-Sep-09 3:22 
QuestionRe: How to copy a TList? Pin
Mark Salsbery1-Sep-09 5:43
Mark Salsbery1-Sep-09 5:43 
AnswerRe: How to copy a TList? Pin
CBenac1-Sep-09 6:54
CBenac1-Sep-09 6:54 
GeneralRe: How to copy a TList? Pin
Mark Salsbery1-Sep-09 7:23
Mark Salsbery1-Sep-09 7:23 
GeneralRe: How to copy a TList? [modified] Pin
CBenac1-Sep-09 12:19
CBenac1-Sep-09 12:19 
GeneralRe: How to copy a TList? Pin
Pete O'Hanlon1-Sep-09 22:02
mvePete O'Hanlon1-Sep-09 22:02 
AnswerRe: How to copy a TList? Pin
Edbert P1-Sep-09 16:46
Edbert P1-Sep-09 16:46 
GeneralRe: How to copy a TList? Pin
CBenac2-Sep-09 3:04
CBenac2-Sep-09 3:04 

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.