I'm trying to translate this code into the Silverlight, any suggestions for the replacement of mouse classes?
Private Zero Affiliate Object_gottfocus (Object Sender, Routing Avenger, ARGS E) {If (Mouse LeftButton == Mouse Button. Release and Mouse. MildButton == MouseButtonState.Released & Mouse.RightButton == MouseButtonState.Released & Mouse.XButton1 == Mouse Button Released and Mouse.XButton2 == MouseButtonState.Released) (AssociatedObject.SelectAll (); _alreadyFocused = true;}} < P> I think you need to capture mouse events, as described in this answer:
Comments
Post a Comment