menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDefaultSizeChangedEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridDefaultSizeChangedEventArgs

    Provides data about the DefaultRowHeightChanged and DefaultColWidthChanged events.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    SyncfusionSuccessEventArgs
    GridDefaultSizeChangedEventArgs
    Inherited Members
    SyncfusionEventArgs.ToString()
    SyncfusionSuccessEventArgs.Success
    System.EventArgs.Empty
    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)
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridDefaultSizeChangedEventArgs : SyncfusionSuccessEventArgs
    Remarks

    GridDefaultSizeChangedEventArgs is a custom event argument class used by the DefaultRowHeightChanged and DefaultColWidthChanged events.

    This event is raised by the model to notify all associated views that it has changed the default row height or column width of the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing DefaultSize.

    The Success property indicates if all changes were successfully made to the model. If it is false, the operation was aborted. However, the view contents need to be redrawn no matter if the operation was successful or not.

    Constructors

    GridDefaultSizeChangedEventArgs(Int32, Boolean)

    Initializes the new instances of the GridDefaultSizeChangedEventArgs class.

    Declaration
    public GridDefaultSizeChangedEventArgs(int savedValue, bool success)
    Parameters
    Type Name Description
    System.Int32 savedValue

    The previous default row height or column width

    System.Boolean success

    Indicates if the operation was succesful or aborted.

    Properties

    SavedValue

    Gets the previous default row height or column width.

    Declaration
    [TraceProperty(true)]
    public int SavedValue { get; }
    Property Value
    Type
    System.Int32

    See Also

    GridDefaultSizeChangedEventHandler
    DefaultSize
    GridDefaultSizeChangingEventArgs
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved