Hello.
In the case of colorPickerOver, I want to remove the colorpicker borderthickness. I gave the thickness as 0, but it doesn't work.
And I want to fill the Rectangle in the ContentTemplate, but the red top, bottom, left and right gray margins remain.
In the case of color picker under, a split button was created to create a ColorPicker, but it is not synchronized with the button next to it.
And can you delete the arrow buttons?
<
telerik:RadColorPicker
Grid.Row
=
"1"
x:Name
=
"colorPickerOver"
VerticalAlignment
=
"Center"
SelectedColor
=
"{Binding OverColor, Mode=TwoWay}"
AutomaticColor
=
"{Binding OverColor}"
IsRecentColorsActive
=
"True"
NoColorText
=
"Default"
Background
=
"Transparent"
BorderBrush
=
"Transparent"
BorderThickness
=
"0"
>
<
telerik:RadColorPicker.ContentTemplate
>
<
DataTemplate
>
<
Rectangle
Width
=
"30"
Height
=
"30"
Fill="{Binding RelativeSource={RelativeSource
Mode
=
FindAncestor
,
AncestorType={x:Type telerik:RadColorPicker}},
Path
=
SelectedColor
, Converter={StaticResource mediaToBrushConverter}}"/>
</
DataTemplate
>
</
telerik:RadColorPicker.ContentTemplate
>
<
telerik:RadColorPicker.AdditionalContent
>
<
ContentControl
HorizontalContentAlignment
=
"Stretch"
ContentTemplate
=
"{StaticResource MoreColorsTemplate}"
Content
=
"{Binding}"
/>
</
telerik:RadColorPicker.AdditionalContent
>
</
telerik:RadColorPicker
>
<
telerik:RadColorPicker
Grid.Row
=
"2"
x:Name
=
"colorPickerUnder"
VerticalAlignment
=
"Center"
SelectedColor
=
"{Binding UnderColor, Mode=TwoWay}"
AutomaticColor
=
"{Binding UnderColor}"
IsRecentColorsActive
=
"True"
NoColorText
=
"Default"
Background
=
"Transparent"
BorderBrush
=
"Transparent"
BorderThickness
=
"0"
>
<
telerik:RadColorPicker.ContentTemplate
>
<
DataTemplate
>
<
telerik:RadDropDownButton
Padding
=
"0"
Height
=
"30"
Width
=
"30"
BorderThickness
=
"0"
DropDownIndicatorVisibility
=
"Collapsed"
>
<
telerik:RadDropDownButton.Content
>
<
Rectangle
Width
=
"{Binding ActualWidth, RelativeSource={RelativeSource AncestorType=telerik:RadColorPicker}}"
Height
=
"{Binding ActualHeight, RelativeSource={RelativeSource AncestorType=telerik:RadColorPicker}}"
>
<
Rectangle.Fill
>
<
SolidColorBrush
Color
=
"{Binding }"
/>
</
Rectangle.Fill
>
</
Rectangle
>
</
telerik:RadDropDownButton.Content
>
<
telerik:RadDropDownButton.DropDownContent
>
<
telerik:RadColorSelector
/>
</
telerik:RadDropDownButton.DropDownContent
>
</
telerik:RadDropDownButton
>
</
DataTemplate
>
</
telerik:RadColorPicker.ContentTemplate
>
Thanks.