Class PreferredLayoutEventArgs
Event argument used for the PreferredLayout event.
Inheritance
System.Object
System.EventArgs
PreferredLayoutEventArgs
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 PreferredLayoutEventArgs : EventArgs
Constructors
PreferredLayoutEventArgs(Boolean, PointF, SizeF)
Initializes a new instance of the PreferredLayoutEventArgs class.
Declaration
public PreferredLayoutEventArgs(bool bIsGraphUnderlayout, PointF location, SizeF size)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bIsGraphUnderlayout | Specifies whether the particular graph is under layout. |
System.Drawing.PointF | location | Specifies the node or graph location. |
System.Drawing.SizeF | size | Specifies the node or graph size. |
Properties
IsGraphUnderLayout
Gets a value indicating whether the graph is under layout.
Declaration
public bool IsGraphUnderLayout { get; }
Property Value
Type |
---|
System.Boolean |
Location
Gets or sets the preferred graph location.
Declaration
public PointF Location { get; set; }
Property Value
Type |
---|
System.Drawing.PointF |
ResizeGraphNodes
Gets or sets a value indicating whether graph nodes will be resized.
Declaration
public bool ResizeGraphNodes { get; set; }
Property Value
Type |
---|
System.Boolean |
Size
Gets or sets the preferred graph size.
Declaration
public SizeF Size { get; set; }
Property Value
Type |
---|
System.Drawing.SizeF |