ToggleButtonField.CreateToggleButtonEventArgs Method
Create an instance of the class responsible for toggle button event arguments
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Overridable Function CreateToggleButtonEventArgs ( _
parentShape As ShapeElement _
) As ToggleButtonEventArgs
protected virtual ToggleButtonEventArgs CreateToggleButtonEventArgs(
ShapeElement parentShape
)
protected:
virtual ToggleButtonEventArgs^ CreateToggleButtonEventArgs(
ShapeElement^ parentShape
)
abstract CreateToggleButtonEventArgs :
parentShape:ShapeElement -> ToggleButtonEventArgs
override CreateToggleButtonEventArgs :
parentShape:ShapeElement -> ToggleButtonEventArgs
protected function CreateToggleButtonEventArgs(
parentShape : ShapeElement
) : ToggleButtonEventArgs
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ToggleButtonEventArgs
.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.