We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Change Column FontSize and InputScope

Dear Sir:

I have 2 question :
   1. how can i change 「GridNumericColumn」 edit fontsize and keyboard inputscope(InputScope="Number")
       [see attach image GridNumericColumnQuestion.png]

   2. how can i change 「GridComboBoxColumn」 dropdown item fontsize
       [see attach images GridComboBoxColumnQuestion.png]

Thank for your help.

Attachment: Question_36c8046c.zip

1 Reply

AN Ashok N Syncfusion Team May 3, 2014 01:19 PM UTC

Hi Wei,


You can change the FontSize and also InputScope by writing styles for NumericTextBox and ComboBox as like in the below code snippet,

 

Code snippet:

 

<Page.Resources>

        <Style TargetType="syncTools:SfNumericTextBox">

            <Setter Property="FontSize" Value="20"/>

            <Setter Property="InputScope" Value="Number"/>

        </Style>

        <Style TargetType="ComboBox">

            <Setter Property="FontSize" Value="20"/>

        </Style>

    </Page.Resources>

 

We have created a sample to achieve this requirement and please check the following sample link:

http://www.syncfusion.com/downloads/support/directtrac/123016/WinRTGridColumns-1011306673.zip

 

Please let us know if you have any queries.

Thanks

Ashok


Loader.
Live Chat Icon For mobile
Up arrow icon