Articles in this section
Category / Section

How to change the FontSize edit mode in UWP TreeGrid (SfTreeGrid)?

1 min read

UWP TreeGrid (SfTreeGrid) FontSize changed only applied in the display text. TextBox loaded as editor element in TreeGridTextColumn when enter into edit mode FontSize not changed. You can change the FontSize in edit mode by setting the FontSize for TextBox.

<Page.Resources>
        <!--TreeGridNumericColumn editor element Set font size-->
        <Style TargetType="editors:SfNumericTextBox">
            <Setter Property="FontSize" Value="12"/>
        </Style>
        <!--TreeGridTextColumn editor element Set font size-->
        <Style TargetType="TextBox">
            <Setter Property="FontSize" Value="12"/>
        </Style>
</Page.Resources>

UWP TreeGrid (SfTreeGrid) provides support for various built-in column types. Each column has its own properties and renderer for more details please refer the below documentation link.

Documentation Link: https://help.syncfusion.com/uwp/treegrid/columntypes

Shows the font size changed while edit mode in SfTreeGridTake a moment to peruse the UWP TreeGrid - Editing documentation, where you can find about editing with code examples.

You can download the example from GitHub

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied