I am using a textbox in a WPFApplication and I want to implement a dependency property that will decide whether textbox allow input as numeric or alphanumeric.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
there are at least three ways to do this.
1) derive a sub-class, adding your dependency property
2) create an attached property
3) create and attach a behavior (using the expression SDK)