ToggleButtonField.GetButtonImage Method
Provides the image for the current state of the 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
Protected MustOverride Function GetButtonImage ( _
parentShape As ShapeElement _
) As Image
protected abstract Image GetButtonImage(
ShapeElement parentShape
)
protected:
virtual Image^ GetButtonImage(
ShapeElement^ parentShape
) abstract
abstract GetButtonImage :
parentShape:ShapeElement -> Image
protected abstract function GetButtonImage(
parentShape : ShapeElement
) : Image
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: Image
.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.