Click to Rate and Give Feedback
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
LayoutExceptionEventArgs Class

Updated: November 2007

Provides data for the LayoutError event.

Namespace:  System.Windows.Forms.Integration
Assembly:  WindowsFormsIntegration (in WindowsFormsIntegration.dll)

Visual Basic (Declaration)
Public Class LayoutExceptionEventArgs _
    Inherits IntegrationExceptionEventArgs
Visual Basic (Usage)
Dim instance As LayoutExceptionEventArgs
C#
public class LayoutExceptionEventArgs : IntegrationExceptionEventArgs
Visual C++
public ref class LayoutExceptionEventArgs : public IntegrationExceptionEventArgs
J#
public class LayoutExceptionEventArgs extends IntegrationExceptionEventArgs
JScript
public class LayoutExceptionEventArgs extends IntegrationExceptionEventArgs
XAML
You cannot directly create an instance of this class in XAML.

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.

System..::.Object
  System..::.EventArgs
    System.Windows.Forms.Integration..::.IntegrationExceptionEventArgs
      System.Windows.Forms.Integration..::.LayoutExceptionEventArgs
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows Vista

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker