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.
Unfortunately, activation email could not send to your email. Please try again.

How to differentiate the GridCombobox column from other columns in non-editable display mode?

You can differentiate the GridComboBoxColumn from other columns by showing the drop down arrow in the display mode. Normally, it is shown only in the edit mode. For this, you need to write the custom style for the GridCell and assign that style to the GridComboBoxColumn.CellStyle property, as follows.

 XAML               

 

Note: The above custom style is only applicable for the WPF platform. For WinRT and Windows Phone, UWP refer to the following sample links.

 

 

The following screenshot shows to differentiate the GridComboBoxColumn from other columns,

Figure 1: Shows drop down arrow for GridComboBoxColumn in display mode

 

Sample Links:

WPF

WinRT

WP-WinRT

UWP

Article ID: Published Date: Last Revised Date: Platform: Control:
5301 08/05/2015 04/05/2017 Windows Phone SfDataGrid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.