Syncfusion.Grid.Windows
Example 


True if CultureInfo.CurrentUICulture should be returned when CultureInfo is NULL.

GetCulture Method

Gets the culture information from the style object or returns CultureInfo.CurrentCulture if CultureInfo is NULL.
Syntax
'Declaration
 
Public Function GetCulture( _
   ByVal useCurrentCultureIfNull As Boolean _
) As CultureInfo
'Usage
 
Dim instance As GridStyleInfo
Dim useCurrentCultureIfNull As Boolean
Dim value As CultureInfo
 
value = instance.GetCulture(useCurrentCultureIfNull)

Parameters

useCurrentCultureIfNull
True if CultureInfo.CurrentUICulture should be returned when CultureInfo is NULL.

Return Value

The culture information with rules for parsing and formatting the cell's value.
Example
This example shows how to get the culture information of the grid.
//Getting CultureInfo of Grid.
CultureInfo cultureInfo = this.gridControl1.TableStyle.GetCulture(true);
'Getting CultureInfo of Grid.
Dim cultureInfo As CultureInfo = Me.gridControl1.TableStyle.GetCulture(True)
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also