ToggleButtonField.ChangeState Method
Change the state of the toggle button
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub ChangeState ( _
parentShape As ShapeElement _
)
public void ChangeState(
ShapeElement parentShape
)
public:
void ChangeState(
ShapeElement^ parentShape
)
member ChangeState :
parentShape:ShapeElement -> unit
public function ChangeState(
parentShape : ShapeElement
)
Parameters
- 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.