Class GridRadioButtonInfo
Holds the state information regarding a radio button within a RadioButton cell.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridRadioButtonInfo : ISerializable, ICloneable
Constructors
GridRadioButtonInfo()
Initializes a new GridRadioButtonInfo with default values.
Declaration
public GridRadioButtonInfo()
GridRadioButtonInfo(SerializationInfo, StreamingContext)
Initializes a new GridRadioButtonInfo from a serialization stream.
Declaration
protected GridRadioButtonInfo(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | An object that holds all the data needed to serialize or de_serialize this instance. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of the serialized stream specified by info. |
GridRadioButtonInfo(String, Boolean)
Initializes a new GridRadioButtonInfo object of the class.
Declaration
public GridRadioButtonInfo(string desc, bool enabled)
Parameters
Type | Name | Description |
---|---|---|
System.String | desc | The Description property value. |
System.Boolean | enabled | The Enabled property value. |
Properties
Description
Gets or sets the text displayed with the button.
Declaration
public string Description { get; set; }
Property Value
Type |
---|
System.String |
Enabled
Gets or sets a value indicating whether the button is enabled or not.
Declaration
public bool Enabled { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Clone()
Creates a copy of this object.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | A copy of this object. |
GetObjectData(SerializationInfo, StreamingContext)
Implements the ISerializable interface and returns the data needed to serialize the object.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | A SerializationInfo object containing the information required to serialize the object. |
System.Runtime.Serialization.StreamingContext | context | A StreamingContext object containing the source and destination of the serialized stream. |