참고
사용법
NuGet 에 Extended.Wpf.Toolkit 다운.
xmlns:wpfx="http://schemas.xceed.com/wpf/xaml/toolkit" 추가
<Style x:Key="ColorPicker_Default"> <Setter Property="wpfx:ColorPicker.Background" Value="{StaticResource Background_Low}" /> <Setter Property="wpfx:ColorPicker.TabBackground" Value="{StaticResource Background_Low}" /> <Setter Property="wpfx:ColorPicker.DropDownBackground" Value="{StaticResource Background_Low}" /> <Setter Property="wpfx:ColorPicker.Foreground" Value="{StaticResource Foreground_Normal}" /> <Setter Property="wpfx:ColorPicker.TabForeground" Value="{StaticResource Foreground_Normal}" /> <Setter Property="wpfx:ColorPicker.ShowTabHeaders" Value="False"/> <Setter Property="wpfx:ColorPicker.ColorMode" Value="ColorCanvas"/> </Style>
이건 기본적 스타일 꾸밀만한거.
ColorMode 가 실행하면 뜨는 탭 두개를 말함.
SelectedColor 로 값 들고오면 됨
댓글 없음:
댓글 쓰기