Share via


ViewChangingEventArgs Class

Provides data for the ViewChangingEventArgs event. Inherits form ViewChangedEventArgs.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Controls.ViewChangedEventArgs
      Microsoft.SqlServer.Management.Controls.ViewChangingEventArgs

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Class ViewChangingEventArgs _
    Inherits ViewChangedEventArgs
'Usage
Dim instance As ViewChangingEventArgs
public class ViewChangingEventArgs : ViewChangedEventArgs
public ref class ViewChangingEventArgs : public ViewChangedEventArgs
type ViewChangingEventArgs =  
    class
        inherit ViewChangedEventArgs
    end
public class ViewChangingEventArgs extends ViewChangedEventArgs

The ViewChangingEventArgs type exposes the following members.

Constructors

  Name Description
Public method ViewChangingEventArgs Initializes a new instance of the ViewChangingEventArgs class.

Top

Properties

  Name Description
Public property Cancel Gets or sets a value indicating whether to cancel the view changing event arguments.
Public property NewView Gets the new view of the controls. (Inherited from ViewChangedEventArgs.)
Public property OldView Gets the previous view of the control. (Inherited from ViewChangedEventArgs.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.