/default.aspx
Silverlight .NET CMS and Controls
Home
/controls.aspx
Silverlight Controls
Controls
Radio Button

Silverlight Radio Button

This Silverlight only Radio Button is, easy to implement on your Silverlight website and also customizable to provide a visual feel suitable for any website design.

How to Use the Radio Button

In your XAML ensure you have a reference to the Liquid.dll in the Canvas tag at the top. To use the Radio Button on your Silverlight page:

<UserControl x:Class="RadioButtons.Page"
    xmlns="http://schemas.microsoft.com/client/2007"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="400" Height="300">
     <Canvas>
          <RadioButton Canvas.Left="10" Canvas.Top="10" Content="Option 1" GroupName="group1" />
          <RadioButton Canvas.Left="10" Canvas.Top="30" Content="Option 2" GroupName="group1" />
          <RadioButton Canvas.Left="10" Canvas.Top="50" Content="Option 3" GroupName="group1" />
          
          <RadioButton Canvas.Left="100" Canvas.Top="10" Content="Option 10" GroupName="group2" />
          <RadioButton Canvas.Left="100" Canvas.Top="30" Content="Option 20" GroupName="group2" />
          <RadioButton Canvas.Left="100" Canvas.Top="50" Content="Option 30" GroupName="group2" />
     </Canvas>
</UserControl>

 

Example Silverlight Radio Button:

Silverlight Radio Button

Your Comments and Questions Answered

 You are not logged in. You need to login to post new messages, if you do not have a login you can register for free!

dan May, 27 2008 - 05:02

Hello,

Thanks for the post, there is no way to do this now but we have added this to the list of improvements for the next version!

 

ahmedadly May, 24 2008 - 07:25

is there any way to style the font of the radion button text ? for ex "6 months?"

 
This page is 19.16KB and was generated by the SilverPages CMS in 0.015 seconds. Total impressions: 326.