I am trying to change the font size of the selected text in the xamMultiColumnComboEditor. I can see that it is set to 14.667 in the SpecializedTextBox and I tried to apply the following to it, however the text size is not changing.
<ig:XamMultiColumnComboEditor.Resources> <Style TargetType="igPrim:SpecializedTextBox"> <Setter Property="FontSize" Value="14" /> </Style> <Style TargetType="TextBlock"> <Setter Property="FontSize" Value="14" /> </Style>
</ig:XamMultiColumnComboEditor.Resources>
Thank you for the help.
One thing that I have noticed about your example is that if you use Themes (I am using Metro), then this method of changing the font size causes the Theme to no longer be used. Is there any way around that issue?
Regards,
Arthur
Hello Laura,
Did you have any other questions or concerns on this matter?
Sincerely,AndrewDeveloper Support IInfragistics Inc.www.infragistics.com/support
Thank you! It must be something with us as this did not work for me. I don't currently have the time to devote to making you a sample project. I will talk with some people here to try and get it resolved.
I followed the steps you suggested and was unable to reproduce the behavior you're describing. I created a sample project that uses a XamMultiColumnCombo editor and made two styles for the SpecializedTextBox. One writes the FontSize style directly to the SpecializedTextbox, and the other makes a style for the XamMultiColumnComboEditor and then in that style’s Style.Resources area, it writes the style for the SpecializedTextbox.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using. My test was performed using version 14.1.20141.2027 in Infragistics for WPF 2014 Volume 1.
If the project does show the product feature working correctly, this indicates a possible problem in the code of your application. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.
Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if I can provide any further assistance.