Partager via


ToggleButtonField.GetButtonImage Method

Provides the image for the current state of the button

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
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

Return Value

Type: System.Drawing.Image

.NET Framework Security

See Also

Reference

ToggleButtonField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace