Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the ToggleButtonEventArgs class.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    state As Object, _
    parentShape As ShapeElement _
)
public ToggleButtonEventArgs(
    Object state,
    ShapeElement parentShape
)
public:
ToggleButtonEventArgs(
    Object^ state, 
    ShapeElement^ parentShape
)
new : 
        state:Object * 
        parentShape:ShapeElement -> ToggleButtonEventArgs
public function ToggleButtonEventArgs(
    state : Object, 
    parentShape : ShapeElement
)
Parameters
- state
 Type: System.Object
- parentShape
 Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.