menu

WinForms

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

    Show / Hide Table of Contents

    Class ViewPortBoundsChangingEventArgs

    Class containing view port bounds changing event args.

    Inheritance
    System.Object
    System.EventArgs
    ViewPortBoundsChangingEventArgs
    Inherited Members
    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)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class ViewPortBoundsChangingEventArgs : EventArgs

    Constructors

    ViewPortBoundsChangingEventArgs(RectangleF, RectangleF)

    Initializes a new instance of the ViewPortBoundsChangingEventArgs class.

    Declaration
    public ViewPortBoundsChangingEventArgs(RectangleF bounds, RectangleF oldBounds)
    Parameters
    Type Name Description
    System.Drawing.RectangleF bounds

    The bounds.

    System.Drawing.RectangleF oldBounds

    The old bounds.

    Properties

    Cancel

    Gets or sets a value indicating whether this is cancel.

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

    NewViewPortBounds

    Gets the new ViewPortBounds.

    Declaration
    public RectangleF NewViewPortBounds { get; }
    Property Value
    Type
    System.Drawing.RectangleF

    OldViewPortBounds

    Gets the Old ViewPortBounds.

    Declaration
    public RectangleF OldViewPortBounds { get; }
    Property Value
    Type
    System.Drawing.RectangleF
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved