Share via


UserInteractionServices.GetIcon Method (ModelElementClass, ElementIconState)

Returns a bitmap for an icon to use in the UI to match the provided element and icon state.

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Overridable Function GetIcon ( _
    elementType As ModelElementClass, _
    state As ElementIconState _
) As Bitmap
public virtual Bitmap GetIcon(
    ModelElementClass elementType,
    ElementIconState state
)
public:
virtual Bitmap^ GetIcon(
    ModelElementClass^ elementType, 
    ElementIconState state
)
abstract GetIcon : 
        elementType:ModelElementClass * 
        state:ElementIconState -> Bitmap 
override GetIcon : 
        elementType:ModelElementClass * 
        state:ElementIconState -> Bitmap 
public function GetIcon(
    elementType : ModelElementClass, 
    state : ElementIconState
) : Bitmap

Parameters

Return Value

Type: System.Drawing.Bitmap
A bitmap for the requested icon.

.NET Framework Security

See Also

Reference

UserInteractionServices Class

GetIcon Overload

Microsoft.Data.Schema Namespace

ModelElementClass

ElementIconState