07-01-2016 03:45 AM - edited 07-01-2016 03:52 AM
Hi!
1.) How can I change the font size of NumericTextBoxDouble?
I use this code:
<ni:NumericTextBoxDouble InteractionMode="ReadOnly" Height="50" Width="100" TextAlignment="Center" Value="999.999" FontSize="40"/>
but font size remain approximately 10-12 pixel.
Why?
2.) How can I disable the scientific (exponential) numeric format of the AxisDouble on WPF Graph?
Regards,
Tamas
P.S.: I use VisualStudio 2013 Community and MS 2015 Standard
Solved! Go to Solution.
07-01-2016 12:48 PM
1) FontSize
is the correct property. Do you have an implicit style for TextBox
that is overriding font size? For example, if I add "<Style TargetType="TextBox"><Setter Property="FontSize" Value="22" /></Style>
" to the resources of a test window, that overrides the font setting on the numeric text box.
2) You can control the format of the division labels through the LabelPresenter
property on the MajorDivisions
of the axis. For example, using "<ni:RangeLabeledDivisions LabelPresenter="F1" />
" will display division labels using the fixed-point Standard Numeric Format String.
07-04-2016 03:57 AM
Thanks for your reply!
Best regards,
Tamas