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 am checking if this is still an issue for you.
If you require any further assistance please do not hesitate to ask.
Hi, I solved my issue without using a style or a template on the xne.
I've a bug if I use the modify model property on the xne in Expression Blend.
After I've done that, in the Blend designer, that's ok but when I run my project, the xne is in total mess...
<igEditors:XamNumericEditor HorizontalAlignment="Right" Margin="0,106,62,0" VerticalAlignment="Top" Width="104" Style="{DynamicResource XamNumericEditorStyle1}"/>
If possible, may you please attach a sample application which shows this issue. I would like to test it on my side.
Yep, that's done :
nb :
Expression Blend 4
Framework 4
VS_10.
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.
Thank you for your feedback.
If you need any further assistance on this matter, feel free to ask.
Hi, it's effectively that I've done in our application (for the xne and the xamDataGrid (very useful for the zoomBar)).
Thanks you.
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, sorry, I hope that sample will be more explicit :