Custom Controls In WPF
Hi Kevin,Once again thanks a lot... I approached the event handling in a different wayward approach..in my custom control, i created one more event.. called MycontrolClickEvent...Then I handled...
View ArticleCustom Controls In WPF
Hi Sandeep,For your first question:For classic situation, you can add the click event in XAML file, like<Button Click="Button_Click" /> And define a method named "Button_Click" in C# code. But...
View ArticleCustom Controls In WPF
Hi Kevin,Thanks a lot.. It worked wonders... Btw thanks for the lightning quick response...I have two more concerns.. Hope you can help me..--> How do I capture the click event of the button. Since...
View ArticleCustom Controls In WPF
It's possible.First, you should define two Dependence properties in the C# code.public DependenceProperty EllipseHeightProperty =...
View ArticleCustom Controls In WPF
Hello All,I am new to WPF . I want to develop a custom control. Like a rounded text box by using two ellipses.I do not want to hardcode the height and width of the ellipses in the Custom Control...
View Article