Partager via


ToggleButtonEventArgs Constructor (Object, ShapeElement)

Initializes a new instance of the ToggleButtonEventArgs class.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
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

.NET Framework Security

See Also

Reference

ToggleButtonEventArgs Class

ToggleButtonEventArgs Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace