NewItemFactory.GetImage Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns an Object that can be set as the Content of a ContentControl and that is used as an Icon for the requested type by the property editing host.

Namespace:  System.Activities.Design.PropertyEditing
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Public Overridable Function GetImage ( _
    type As Type, _
    desiredSize As Size _
) As Object
'Usage
Dim instance As NewItemFactory
Dim type As Type
Dim desiredSize As Size
Dim returnValue As Object

returnValue = instance.GetImage(type, _
    desiredSize)
public virtual Object GetImage(
    Type type,
    Size desiredSize
)
public:
virtual Object^ GetImage(
    Type^ type, 
    Size desiredSize
)
public function GetImage(
    type : Type, 
    desiredSize : Size
) : Object
abstract GetImage : 
        type:Type * 
        desiredSize:Size -> Object 
override GetImage : 
        type:Type * 
        desiredSize:Size -> Object 

Parameters

Return Value

Type: System.Object
An object image for the specified type.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

NewItemFactory Class

NewItemFactory Members

System.Activities.Design.PropertyEditing Namespace