Class ProvideLayoutInformationEventArgs
Provides data for the ProvideLayoutInformation event.
Inheritance
System.Object
System.EventArgs
ProvideLayoutInformationEventArgs
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.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ProvideLayoutInformationEventArgs : EventArgs
Constructors
ProvideLayoutInformationEventArgs(Control, LayoutInformationType)
Creates a new instance of the ProvideLayoutInformationEventArgs class.
Declaration
public ProvideLayoutInformationEventArgs(Control control, LayoutInformationType requested)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | control | The control for which the layout information is requested. |
LayoutInformationType | requested | The type of information requested. |
Properties
Control
Returns the control for which the layout information is requested.
Declaration
public Control Control { get; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.Control | A control instance. |
Handled
Indicates whether this event was handled and a value provided.
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True to indicate a value was provided; False otherwise. |
Requested
Returns the type of information requested.
Declaration
public LayoutInformationType Requested { get; }
Property Value
Type | Description |
---|---|
LayoutInformationType | A LayoutInformationType enum. |
Size
Gets / sets the size to be returned.
Declaration
public Size Size { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | A size value. |