블로그 이미지
래곤
study 관련자료를 한곳으로 자기 개발 목적으로 재태크 재무 관리 목적으로 일상생활의 팁을 공유 하기 위하여 블로그를 개설 하였습니다.

calendar

1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
반응형

Category

Recent Post

Recent Comment

Archive

2009. 11. 27. 16:16 .Net Project/SilverLight 3.0
반응형
  CheckBox
- ToggleButton을 상속받아 구현된 컨트롤로 선택/미선택 같은 UI사용
- IsThreeState 프로퍼티의 설정값에 따라 CheckBox가 가질 수 잇는 상태
  CheckBox 사용방법


<UserControl x:Class="RiaContent.FrmCheckbox"

    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">

   

    <StackPanel>

        <CheckBox x:Name="chkboxTwoState" Content="Two StateCheck Box"

                  Checked="chkboxTwoState_Checked"
                  Unchecked
="chkboxTwoState_Unchecked"></CheckBox>

 

        <CheckBox x:Name="chkBoxThreeState" Content="Three State Checkbox"

                  Checked="chkBoxThreeState_Checked" 
                  
Unchecked
="chkBoxThreeState_Unchecked" ></CheckBox>
    </StackPanel>   

</UserControl> 




반응형
posted by 래곤