WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCurrentCellErrorMessageEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridCurrentCellErrorMessageEventArgs

    Provides event data for the CurrentCellErrorMessage event which notifies you that the current cell validation failed and a message is displayed. You can set e.Cancel = true for the event and display your own custom message box.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    GridCurrentCellErrorMessageEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridCurrentCellErrorMessageEventArgs : SyncfusionCancelEventArgs

    Constructors

    GridCurrentCellErrorMessageEventArgs(IWin32Window, String)

    Initializes the new instances for the GridCurrentCellErrorMessageEventArgs class.

    Declaration
    public GridCurrentCellErrorMessageEventArgs(IWin32Window owner, string text)
    Parameters
    Type Name Description
    System.Windows.Forms.IWin32Window owner

    Parent window.

    System.String text

    Error message.

    Properties

    Owner

    Gets or sets TextBoxCellRenderer the owner that should be passed as argument to the MessageBox.Show call.

    Declaration
    public IWin32Window Owner { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.IWin32Window

    Text

    Gets or sets TextBoxCellRenderer the suggested error text to be displayed.

    Declaration
    [TraceProperty(true)]
    public string Text { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved