Click or drag to resize

IconFrameFromControlObject Method

Creates an instance of the IconFrame with the specified native control object.

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static IconFrame FromControlObject(
	float scale,
	Object controlObject
)

Parameters

scale
Type: SystemSingle
Scale of logical to physical pixels.
controlObject
Type: SystemObject
Native control object.

Return Value

Type: IconFrame
A new instance of the IconFrame with the native control object and scale.
Remarks
This is used by platform implementations to create instances of this class with the appropriate control object. This is not intended to be called directly.
See Also