Constructor :
mediaSlider.AddHandler(FrameworkElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(mediaSlider_MouseLeftButtonDown), true);
Event handler :
private void mediaSlider_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
txt.Text ="MouseLeftButton DOWN";
}
http://forums.silverlight.net/forums/p/117368/264314.aspx
mardi 28 septembre 2010
Slider : MouseLeftButtonDown event
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire