Spread Windows Forms 7.0 Product Documentation
GetReusableEditorControl Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > EditBaseCellType Class : GetReusableEditorControl Method


irec
Editor control to reuse
parent
Parent control
appearance
Appearance settings
zoomFactor
Numeric value for scaling the display of the control

Glossary Item Box

Implementation of IReuseEditorControl.GetEditorControl for use by cell types.

Syntax

Visual Basic (Declaration) 
Public Shadows Function GetReusableEditorControl( _
   ByVal irec As IReuseEditorControl, _
   ByVal parent As Control, _
   ByVal appearance As Appearance, _
   ByVal zoomFactor As Single _
) As Control
Visual Basic (Usage)Copy Code
Dim instance As EditBaseCellType
Dim irec As IReuseEditorControl
Dim parent As Control
Dim appearance As Appearance
Dim zoomFactor As Single
Dim value As Control
 
value = instance.GetReusableEditorControl(irec, parent, appearance, zoomFactor)
C# 
public new Control GetReusableEditorControl( 
   IReuseEditorControl irec,
   Control parent,
   Appearance appearance,
   float zoomFactor
)

Parameters

irec
Editor control to reuse
parent
Parent control
appearance
Appearance settings
zoomFactor
Numeric value for scaling the display of the control

Return Value

Control

Remarks

After calling this method, if initialized is false, you must call IReuseEditorControl.InitializeEditorControl to make the editor control ready for editing.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.