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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change Column FontSize and InputScope

Thread ID:

Created:

Updated:

Platform:

Replies:

116225 Apr 29,2014 02:31 PM UTC May 3,2014 01:19 PM UTC WinRT 1
loading
Tags: SfDataGrid
Wei Tsai Chung
Asked On April 29, 2014 02:31 PM UTC

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

Ashok N [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;