Silverlight: Custom Radio Button

I am trying to create a custom switch that looks like a two-button control that looks somewhat like the one below, with the highlighted state switched. Not sure where to start.

enter image description here

Are there any controls that are already available that I can use.

+3
source share
1 answer

OK, here is a brief overview of what you will need to do ...

  • First, you will need to change ControlTemplatefor an existing control RadioButton. There are many tutorials that describe this, like this one .
  • . , Grid?
  • Grid Rectangle, Option1, Option2
  • VisualStateManager, Fill Rectangle VisualState. .. Pressed .

. , - Silverlight. , .

+5

All Articles