Class FNumericUpDownCellModel
Implements a data model for enhanced NumericUpDown cell.
Inheritance
System.Object
FNumericUpDownCellModel
Implements
System.Runtime.Serialization.ISerializable
System.IDisposable
Inherited Members
GridCellModelBase.CalculatePreferredCellSize(Graphics, Int32, Int32, GridStyleInfo, GridQueryBounds)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class FNumericUpDownCellModel : GridNumericUpDownCellModel, ISerializable, IDisposable
Constructors
FNumericUpDownCellModel(GridModel)
Initializes a new instance of the FNumericUpDownCellModel class.
Declaration
public FNumericUpDownCellModel(GridModel grid)
Parameters
Type | Name | Description |
---|---|---|
GridModel | grid | The grid model. |
FNumericUpDownCellModel(SerializationInfo, StreamingContext)
Initializes a new instance of the FNumericUpDownCellModel class.
Declaration
protected FNumericUpDownCellModel(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | SerializationInfo |
System.Runtime.Serialization.StreamingContext | context | StreamingContext |
Methods
CreateRenderer(GridControlBase)
Creates a cell renderer.
Declaration
public override GridCellRendererBase CreateRenderer(GridControlBase control)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | control | The grid control. |
Returns
Type | Description |
---|---|
GridCellRendererBase | The Cell renderer. |
Overrides
GetFormattedText(GridStyleInfo, Object, Int32)
Gets the cell formatted text.
Declaration
public override string GetFormattedText(GridStyleInfo style, object value, int textInfo)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfo | style | Cell style information. |
System.Object | value | Cell value. |
System.Int32 | textInfo | Provides additional information. |
Returns
Type | Description |
---|---|
System.String | Formatted text. |
Overrides
Implements
System.Runtime.Serialization.ISerializable
System.IDisposable