RadioButton 컨트롤
.NET프로그래밍/Silverlight 3.0 2009. 12. 2. 10:23 |[MainPage.xaml]
<UserControl x:Class="RiaRadioButton.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">
<Grid x:Name="LayoutRoot" Background="White">
<StackPanel>
<TextBlock Text="당신의 성별은?"></TextBlock>
<RadioButton Content="남자" IsChecked="True"></RadioButton>
<RadioButton Content="여자"></RadioButton>
<TextBlock Text="가장 좋아하는 언어는?"></TextBlock>
<RadioButton Content="C" IsChecked="True" GroupName="fav"></RadioButton>
<RadioButton Content="C++" GroupName="fav"></RadioButton>
<RadioButton Content="C#" GroupName="fav"></RadioButton>
</StackPanel>
</Grid>
</UserControl>
'.NET프로그래밍 > Silverlight 3.0' 카테고리의 다른 글
ToolTip 컨트롤 (풍선도움말 제공) (0) | 2009.12.02 |
---|---|
CheckBox 컨트롤 (0) | 2009.12.02 |
RepeatButton 컨트롤 (0) | 2009.12.02 |
HyperlinkButton 컨트롤 (0) | 2009.12.02 |
코드 비하인드에서 붙임(Attached) 속성 사용 (0) | 2009.12.02 |