Hello
I created the Editor after watching the demo.
When an error occurs, clicking the button first opens the Editor window, but an error occurs.
-------This Error-------------
System.Windows.Markup.XamlParseException: ''Cannot set unknown member 'System.Windows.Controls.TextBox.IsReadOnly'.'
Line number '1301' and line position '21'.'
------------------------
There is no content of Editor Xaml.
There is no error when creating an instance. Error appears when using ShowDialog!
var window = new EditorView(); // Pass
window.showdialog(); // << Error
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
<
Window.Resources
>
<
ResourceDictionary
>
<
ResourceDictionary.MergedDictionaries
>
<
ResourceDictionary
Source
=
"pack://application:,,,/KickOff;component/Resources/NoXaml/NoXamlTemplate.xaml"
/>
</
ResourceDictionary.MergedDictionaries
>
</
ResourceDictionary
>
</
Window.Resources
>
<
Grid
>
<
telerik:RadColorEditor
x:Name
=
"radColorEditor"
/>
<
StackPanel
Orientation
=
"Horizontal"
VerticalAlignment
=
"Bottom"
HorizontalAlignment
=
"Right"
Height
=
"32"
Margin
=
"0 0 11 11"
>
<
Button
Content
=
"OK"
Width
=
"60"
Margin
=
"0 0 10 0"
Click
=
"OnClickOkCommand" => Using DialogResult = true, Close()
/>
<
Button
Content
=
"Cancel"
Width
=
"60"
Click
=
"OnClickCancelCommand" => Using DialogResult = false, Close()
/>
</
StackPanel
>
</
Grid
>
I used telerik noxaml version 2021_1_308, office 2019 themes.
refer : telerik controls, controls.input
themes.implicit wpf40 office2019 : system.windows.xaml, telerik.controls.xaml, telerik.controls.input.xaml
Thanks.
How do I get the selected value when I am using MVVM?
I have tried this:
<telerik:RadColorEditor SelectedColor="{Binding SelectedColor, Mode=TwoWay}" ColorMode="RGB" />
but it doesn't give me anything back.
Hi,
When I change the Alpha value (via slider or textbox) to something other than 100%
the LuminancePad goes black and white. the color return only when the alpha value is 100%.
is there a way to override this behavior?
Attached files to demonstrate.
I cannot attach an example project. but what I did was to create new wpf project. added the RadColorEditor, and changed the active sections to HueSaturationPad,LuminancePad,ColorModesPanel.
Thanks.