We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Platform : WPF
Category : Stylable controls

What are the different models for Control authoring ?

1. Deriving from UserControl class. Consider this when,

  • Your control consists of existing components.
  • You don’t need to support complex customization.
  • 2. Deriving from Control,

  • You would like the appearance of the control through ControlTemplate.
  • You would like the control to support different themes.
  • 3. Deriving from FrameworkElement,

  • You want to have fine-grained control over the appearance of your control beyond what is generally provided.
  • You want to define the appearance of your control by defining your own render logic.
  • You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.