Syncfusion.Grid.Windows


Syncfusion.Windows.Forms.Grid Namespace > GridControl Class : SerializeCellsBehavior Property

SerializeCellsBehavior Property

Gets or sets how to serialize grid data at design-time. You can choose to serialize cell contents as code into the Forms InitializeComponent method or you can choose to serialize cell contents into a ResX file. Default is GridSerializeCellsBehavior.SerializeIntoCode.
Syntax
'Declaration
 
<CategoryAttribute("Grid Contents")>
<DescriptionAttribute("Choose to serialize cell contents as code or into a ResX file.")>
Public Property SerializeCellsBehavior As GridSerializeCellsBehavior
'Usage
 
Dim instance As GridControl
Dim value As GridSerializeCellsBehavior
 
instance.SerializeCellsBehavior = value
 
value = instance.SerializeCellsBehavior
[Category("Grid Contents")]
[Description("Choose to serialize cell contents as code or into a ResX file.")]
public GridSerializeCellsBehavior SerializeCellsBehavior {get; set;}
Remarks
If you have a larger number of cells then you should switch to Resx serialization. For smaller number of cells SerializeIntoCode is easier to maintain since you can change cell contents directly within the Forms code.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also