Click here to Skip to main content
15,895,256 members
Home / Discussions / WPF
   

WPF

 
QuestionRe: Positioning controls on a WPF form Pin
Mark Salsbery12-Aug-09 6:41
Mark Salsbery12-Aug-09 6:41 
GeneralRe: Positioning controls on a WPF form Pin
Pierre Leclercq15-Aug-09 0:53
Pierre Leclercq15-Aug-09 0:53 
AnswerRe: Positioning controls on a WPF form Pin
#realJSOP12-Aug-09 2:14
mve#realJSOP12-Aug-09 2:14 
GeneralRe: Positioning controls on a WPF form Pin
Pierre Leclercq15-Aug-09 0:44
Pierre Leclercq15-Aug-09 0:44 
GeneralRe: Positioning controls on a WPF form [modified] Pin
Mark Salsbery15-Aug-09 5:58
Mark Salsbery15-Aug-09 5:58 
GeneralRe: Positioning controls on a WPF form Pin
Pierre Leclercq15-Aug-09 6:26
Pierre Leclercq15-Aug-09 6:26 
QuestionHow to add runtime events for dynamic textbox controls in wpf [modified] Pin
Veerendranadh11-Aug-09 0:15
Veerendranadh11-Aug-09 0:15 
AnswerRe: How to add runtime events for dynamic textbox controls in wpf Pin
Pete O'Hanlon11-Aug-09 3:00
mvePete O'Hanlon11-Aug-09 3:00 
The textbox has default behaviours in place for handling the mouse events - what you need to do is handle the PreviewMouseLeftButtonDown event instead. This gets to your handler before the textbox consumes the MouseLeftButtonDown event. It's a simple fix:
tb.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(tb_MouseLeftButtonDown);
Alternitively, you can add your own handler using
tb.AddHandler(UIElement.MouseLeftButtonDownEvent, new RoutedEventHandler(tb_MouseLeftButtonDown),true);


"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



QuestionHosting Silverlight Application on IIS Pin
sunil.n.cs10-Aug-09 20:42
sunil.n.cs10-Aug-09 20:42 
AnswerRe: Hosting Silverlight Application on IIS Pin
Mark Salsbery11-Aug-09 5:46
Mark Salsbery11-Aug-09 5:46 
GeneralRe: Hosting Silverlight Application on IIS Pin
sunil.n.cs11-Aug-09 23:05
sunil.n.cs11-Aug-09 23:05 
Question[Message Deleted] Pin
Veerendranadh10-Aug-09 18:43
Veerendranadh10-Aug-09 18:43 
AnswerRe: Problem when loading UIElementCollection using XamlReader Pin
Pete O'Hanlon10-Aug-09 22:04
mvePete O'Hanlon10-Aug-09 22:04 
GeneralRe: Problem when loading UIElementCollection using XamlReader Pin
Veerendranadh10-Aug-09 22:16
Veerendranadh10-Aug-09 22:16 
GeneralRe: Problem when loading UIElementCollection using XamlReader Pin
Pete O'Hanlon10-Aug-09 23:02
mvePete O'Hanlon10-Aug-09 23:02 
GeneralRe: Problem when loading UIElementCollection using XamlReader Pin
Pete O'Hanlon11-Aug-09 1:51
mvePete O'Hanlon11-Aug-09 1:51 
QuestionSilverlight 3 OOB on Mac! Pin
Nader Elshehabi10-Aug-09 2:11
Nader Elshehabi10-Aug-09 2:11 
AnswerRe: Silverlight 3 OOB on Mac! Pin
Mike Marynowski10-Aug-09 2:42
professionalMike Marynowski10-Aug-09 2:42 
GeneralRe: Silverlight 3 OOB on Mac! Pin
Nader Elshehabi10-Aug-09 3:02
Nader Elshehabi10-Aug-09 3:02 
GeneralRe: Silverlight 3 OOB on Mac! Pin
Mike Marynowski10-Aug-09 3:39
professionalMike Marynowski10-Aug-09 3:39 
QuestionWPF DatePicker Pin
Member 407081510-Aug-09 0:09
Member 407081510-Aug-09 0:09 
AnswerRe: WPF DatePicker Pin
Mark Salsbery10-Aug-09 10:36
Mark Salsbery10-Aug-09 10:36 
GeneralRe: WPF DatePicker - Please see this too Pin
Member 407081511-Aug-09 19:19
Member 407081511-Aug-09 19:19 
GeneralRe: WPF DatePicker - Please see this too Pin
Mark Salsbery12-Aug-09 7:11
Mark Salsbery12-Aug-09 7:11 
GeneralRe: WPF DatePicker - Number of week Pin
Member 407081513-Aug-09 17:45
Member 407081513-Aug-09 17:45 

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.