Class SerializableGridButtonColumn
Represents a class that is used to serialize and deserialize GridButtonColumn property settings.
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Serialization
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class SerializableGridButtonColumn : SerializableGridColumn
  Constructors
SerializableGridButtonColumn()
Declaration
public SerializableGridButtonColumn()
  Properties
AllowDefaultButtonText
Gets or sets a value indicating whether the button needs to display the default value or not.
Declaration
public bool AllowDefaultButtonText { get; set; }
  Property Value
| Type | 
|---|
| System.Boolean | 
Buttons
Gets or sets the list of buttons that needs to be renderer in the Grid Cell.
Declaration
public List<CellButton> Buttons { get; set; }
  Property Value
| Type | 
|---|
| System.Collections.Generic.List<CellButton> | 
ButtonSize
Gets or sets the default size of the button.
Declaration
public Size ButtonSize { get; set; }
  Property Value
| Type | 
|---|
| System.Drawing.Size | 
DefaultButtonText
Gets or sets the default button text of the column.
Declaration
public string DefaultButtonText { get; set; }
  Property Value
| Type | 
|---|
| System.String | 
Image
Gets or sets the image for the GridButtonColumn.
Declaration
public Image Image { get; set; }
  Property Value
| Type | 
|---|
| System.Drawing.Image | 
ImageIndex
Gets or sets the index of the image in a image list to display on the button.
Declaration
public int ImageIndex { get; set; }
  Property Value
| Type | 
|---|
| System.Int32 | 
ImageList
Gets or sets the image list that used to display the image on the button.
Declaration
public ImageList ImageList { get; set; }
  Property Value
| Type | 
|---|
| System.Windows.Forms.ImageList | 
ImageSize
Gets or sets the size of the image in a button.
Declaration
public Size ImageSize { get; set; }
  Property Value
| Type | 
|---|
| System.Drawing.Size | 
Orientation
Gets or sets the orientation of rendering the multiple buttons on the button column.
Declaration
public Orientation Orientation { get; set; }
  Property Value
| Type | 
|---|
| System.Windows.Forms.Orientation | 
TextImageRelation
Gets or sets the position of the text and image relative to each other.
Declaration
public TextImageRelation TextImageRelation { get; set; }
  Property Value
| Type | 
|---|
| System.Windows.Forms.TextImageRelation |