ChevronButtonField.GetButtonImage Method
Provides the image for the current state of the button
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Protected Overrides Function GetButtonImage ( _
parentShape As ShapeElement _
) As Image
protected override Image GetButtonImage(
ShapeElement parentShape
)
protected:
virtual Image^ GetButtonImage(
ShapeElement^ parentShape
) override
abstract GetButtonImage :
parentShape:ShapeElement -> Image
override GetButtonImage :
parentShape:ShapeElement -> Image
protected override function GetButtonImage(
parentShape : ShapeElement
) : Image
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: System.Drawing.Image
Remarks
Provides the image for the current state of the button.
.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.