LayoutExceptionEventArgs Class
Provides data for the LayoutError event.
Assembly: WindowsFormsIntegration (in WindowsFormsIntegration.dll)
System::EventArgs
System.Windows.Forms.Integration::IntegrationExceptionEventArgs
System.Windows.Forms.Integration::LayoutExceptionEventArgs
| Name | Description | |
|---|---|---|
![]() | LayoutExceptionEventArgs(Exception^) | Initializes a new instance of the LayoutExceptionEventArgs class. |
| Name | Description | |
|---|---|---|
![]() | Exception | Gets the Exception associated with this IntegrationExceptionEventArgs.(Inherited from IntegrationExceptionEventArgs.) |
![]() | ThrowException | Gets or sets a value indicating whether to raise the Exception specified by the Exception property. (Inherited from IntegrationExceptionEventArgs.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The IntegrationExceptionEventArgs class enables the user to preview a layout-related exception before it is raised.
In your event handler, set the value of the ThrowException property to true to indicate that the exception should be raised.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


