menu

Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridEditorColumn - Xamarin.iOS API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridEditorColumn

    Provides the base implementation for all the editor columns in a SfDataGrid.

    Inheritance
    System.Object
    GridColumn
    GridEditorColumn
    GridNumericColumn
    Implements
    System.IDisposable
    Inherited Members
    GridColumn.ActualWidth
    GridColumn.AllowEditing
    GridColumn.AllowSorting
    GridColumn.CanEditCell()
    GridColumn.CellTextSize
    GridColumn.CellType
    GridColumn.ColumnSizer
    GridColumn.CultureInfo
    GridColumn.Dispose()
    GridColumn.Format
    GridColumn.GetFormattedValue(Object)
    GridColumn.GroupMode
    GridColumn.HeaderCellTextSize
    GridColumn.HeaderFont
    GridColumn.HeaderTemplate
    GridColumn.HeaderText
    GridColumn.HeaderTextAlignment
    GridColumn.HeaderTextMargin
    GridColumn.IsHidden
    GridColumn.LineBreakMode
    GridColumn.MappingName
    GridColumn.MaximumWidth
    GridColumn.MinimumWidth
    GridColumn.RecordFont
    GridColumn.SetGrid(SfDataGrid)
    GridColumn.SortMode
    GridColumn.TextAlignment
    GridColumn.TextMargin
    GridColumn.UserCellType
    GridColumn.Width
    Namespace: Syncfusion.SfDataGrid
    Assembly: Syncfusion.SfDataGrid.iOS.dll
    Syntax
    public abstract class GridEditorColumn : GridColumn, IDisposable

    Constructors

    GridEditorColumn()

    Initializes a new instance of the GridEditorColumn class.

    Declaration
    protected GridEditorColumn()

    Properties

    AllowNullValue

    Gets or sets a value indicating whether the null values are allowed to the editor columns. When this property is enabled, NullValue or NullText will be set to the column, instead of the null value given by the user in edit mode.

    Declaration
    public bool AllowNullValue { get; set; }
    Property Value
    Type Description
    System.Boolean

    True if the null value is allowed, otherwise false. The default value is false.

    Examples
    GridNumericColumn numericColumn = new GridNumericColumn();
    numericColumn.AllowNullValue = true;

    MaxValue

    Gets or sets the maximum value constraint of the column.

    Declaration
    public Decimal MaxValue { get; set; }
    Property Value
    Type Description
    System.Decimal

    The maximum value constraint of the column.

    MinValue

    Gets or sets the minimum value constraint of the column.

    Declaration
    public Decimal MinValue { get; set; }
    Property Value
    Type Description
    System.Decimal

    The minimum value constraint of the column.

    NullText

    Gets or sets a string that is displayed instead of null value if the cell value is null, provided that AllowNullValue is enabled.

    Declaration
    public string NullText { get; set; }
    Property Value
    Type Description
    System.String

    A string that is displayed instead of null value in the cell, provided that the NullValue is null.

    Remarks

    The NullText is applied, when the AllowNullValue property is enabled and the NullValue is null.

    Examples
    GridNumericColumn numericColumn = new GridNumericColumn();
    numericColumn.AllowNullValue = true;
    numericColumn.NullText = "null";

    NullValue

    Gets or sets an object that is displayed instead of null value if the cell value is null, provided that AllowNullValue is enabled.

    Declaration
    public object NullValue { get; set; }
    Property Value
    Type Description
    System.Object

    An object that is displayed instead of null value in the cell.

    Remarks

    The NullValue is applied, when the AllowNullValue property is enabled.

    Examples
    GridNumericColumn numericColumn = new GridNumericColumn();
    numericColumn.AllowNullValue = true;
    numericColumn.NullValue = 0;

    Methods

    Dispose(Boolean)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    if true - release both managed and unmanaged resources; if false - release only unmanaged resources.

    Overrides
    GridColumn.Dispose(Boolean)

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved