xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.9k stars 878 forks source link

Scroll in ColorPicker #1657

Closed balkarov closed 1 year ago

balkarov commented 3 years ago

If ColorPicker has many colors then some colors are not visible. Безымянный

XceedBoucherS commented 3 years ago

Hi,

You could try to go in file -Xceed.Wpf.Toolkit/ColorPicker/Themes/Aero2.NormalColor.xaml (for Windows 8 and up) -Xceed.Wpf.Toolkit/ColorPicker/Themes/Generic.xaml (for other Windows)

and look for Style "ColorListStyle" and modify the MaxHeight from 500 to 275 (which is about 13-14 lines of colors). This way, a scrollbar should appear if you have a List of colors greater than 275 in height.