Is it possible to remove the slider line in the slider control
(I’m not sure what to call it, but it’s the line the slider holder slides to)?
Is it possible to remove the slider line in the slider control (I’m not
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.
You should be able to, here are the default styles and templates for the slider control. http://msdn.microsoft.com/en-us/library/cc278073(v=vs.95).aspx
From this excellent tutorial under the section called Customizing Controls using Control Templates: “The control model used by Silverlight and WPF allows you to go much further than just customizing the inner content of a control. It optionally allows you to completely replace a control’s visual tree with anything you want – while still keeping the control behavior intact.”
At first I still found this somewhat confusing. After I watched this 4 part video series by Jesse Liberty on Building a Skinnable Custom Control this concept of changing a controls look and feel while the behavior remains in tact, made a lot more sense.