I would like to change colors of the text selection in both XamTextEditor and XamMaskedEditor. I found <Style TargetType="{x:Type igEditors:DisplayCharacterPresenter}"> which I could modify to change the text selection colors for ONLY the XamMaskedEditor.
So for the XamTextEditor, how do I do similar thing?
Thank you!
Hi Jack,
Thank you for your post. I have been looking into your question and I have been achieved the desired functionality by setting the ‘SelectionBrush’ property of the ‘PART_FocusSite’ textbox in the EditTemplate of the XamTextEditor. You can find the default style for the XamTextEditor in :
C:\Program Files (x86)\Infragistics\NetAdvantage 2012.2\WPF\DefaultStyles\Editors\EditorsGeneric_Express.xaml
I am attaching a sample application(TextEditorSelectedColor.zip) that shows this functionality.