Hi, I've two problems with the XamNumericEditor :
1 : If I set the bg and the foreColor to :
Background="Black" Foreground="White"
the cursor stays black when I write a number.
2 : If I set a new model customization in Expression Blend (without modifing it), when I run my WPF project, I can't enter values and I don't see the spin button...
Hello,
I have been looking into your questions and in order to change the color of the caret you need to create a Style for the ‘CaretElement’ in order to set its ‘Background’ property. This is my XAML code :
and when I run it using Expression Blend, it seems everything goes right.
If I have misunderstood you in any way, please modify my code or attach a sample application in order to investigate it.
Looking forward to hearing from you.
Hi, great for the first point, that works.
For the second, I'll see that later.
Thx
I have been looking into your sample application and I am a bit confused what exactly you would like to achieve. According to your first post you would like to have XamNumericEditor with black Background and white foreground and caret. In your sample application the background of the window is black and the background of the control is white. If it concerns to different one from your first issue please create a new forum thread explaining your last issue.
Thank you.
Hi, sorry, I hope that sample will be more explicit :
I have been looking into your issue and it seems that you are trying to export the style for the XamNumericEditor by using the Expression Blend. This may cause an issue sometimes so I can suggest you use the default template and make you modifications :
C:\Program Files (x86)\Infragistics\NetAdvantage 2012.1\WPF\DefaultStyles\Editors\EditorsGeneric
C:\Program Files (x86)\Infragistics\NetAdvantage 2012.1\WPF\DefaultStyles\Editors\ EditorsGeneric_Brushes
C:\Program Files (x86)\Infragistics\NetAdvantage 2012.1\WPF\DefaultStyles\Editors\ EditorsGeneric_Express
Hi, it's effectively that I've done in our application (for the xne and the xamDataGrid (very useful for the zoomBar)).
Thanks you.
Thank you for your feedback.
If you need any further assistance on this matter, feel free to ask.