Class ZoomFactorChangingEventArgs
Represents the class which holds the properties of ZoomFactorChanging event.
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.Spreadsheet.Helpers
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class ZoomFactorChangingEventArgs : GridCancelEventArgs
Constructors
ZoomFactorChangingEventArgs(String, Int32, ZoomTrigger)
Initializes a new instance of the ZoomFactorChangingEventArgs class.
Declaration
public ZoomFactorChangingEventArgs(string sheetName, int zoomfactor, ZoomTrigger trigger)
Parameters
Type | Name | Description |
---|---|---|
System.String | sheetName | Name of the sheet. |
System.Int32 | zoomfactor | Size to zoom. |
ZoomTrigger | trigger | One of the enum options to trigger. |
Properties
SheetName
Gets the name of the IWorksheet that is to be zoom in or out.
Declaration
public string SheetName { get; }
Property Value
Type | Description |
---|---|
System.String | Name of the sheet. |
ZoomFactor
Gets the zoom factor.
Declaration
public int ZoomFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Size to zoom. |
ZoomTrigger
Gets the trigger option to zoom in or out.
Declaration
public ZoomTrigger ZoomTrigger { get; }
Property Value
Type | Description |
---|---|
ZoomTrigger | One of the enum option to trigger. |