Telerik Forums
UI for WPF Forum
7 answers
410 views

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

 

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

Vicky
Telerik team
 answered on 07 Apr 2021
2 answers
84 views
Can I remove or lock so that the user only can use RGB?
Fredrik
Top achievements
Rank 1
Veteran
Iron
 answered on 12 Mar 2021
1 answer
44 views

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.

Fredrik
Top achievements
Rank 1
Veteran
Iron
 answered on 08 Mar 2021
1 answer
64 views
How can I edit position of the grid?
I want only one column like in the attach image
Dinko | Tech Support Engineer
Telerik team
 answered on 24 Jan 2017
5 answers
78 views

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.

 

Sia
Telerik team
 answered on 18 Dec 2015
1 answer
44 views
Hello Guys,

i didn't found something about this bug, so i want to report it.
If you use the RadColorEditor and the User enters more than 8 Character into the input field, the program Crashes.

Best regards
Morten
Martin Ivanov
Telerik team
 answered on 11 Mar 2015
1 answer
126 views
When using the ColorEditor, there is an option to hide or collapse the Alpha slider. However, the user can still alter alpha settings in the hex representation TextBox. How can I prevent this? I would still like the user to be able to interact with the TextBox, but I don't want them to change the color's transparency.
Pavel R. Pavlov
Telerik team
 answered on 06 Nov 2014
1 answer
71 views
Is there quick way to add a color editor the the (Richtext) HighlightColorPicker, so users can create their (corporate) colors
Petar Mladenov
Telerik team
 answered on 28 Jul 2014
2 answers
58 views
Hi,

the ColorEditor ist running fine, but is it possible to save the "new" colored pic as new Image?

Thanks
regards
ww
Arron
Top achievements
Rank 1
 answered on 17 Mar 2014
3 answers
106 views
Hi
Currently I display ColorEditor in a RadExpander in a RadPropertyGrid. When the expander is expanded the whole RadPropertyGrid expands to accommodate it.
Is it possible to present the ColorEditor initially collapsed so user can click to expand and spill outside of container as you can with the ColorPicker?
Or is there another container control I can use to emulate this?
Thanks
Craig
Craig
Top achievements
Rank 1
 answered on 21 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?