Spread Windows Forms 6.0 Product Documentation
GetEditorControl Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > IReuseEditorControl Interface : GetEditorControl Method


parent
Parent control
appearance
Appearance settings of the control
zoomFactor
Numeric value for scaling the display of the control

Glossary Item Box

Gets the control associated with the editor for the specified parent control.

Syntax

Visual Basic (Declaration) 
Function GetEditorControl( _
   ByVal parent As Control, _
   ByVal appearance As Appearance, _
   ByVal zoomFactor As Single _
) As Control
Visual Basic (Usage)Copy Code
Dim instance As IReuseEditorControl
Dim parent As Control
Dim appearance As Appearance
Dim zoomFactor As Single
Dim value As Control
 
value = instance.GetEditorControl(parent, appearance, zoomFactor)
C# 
Control GetEditorControl( 
   Control parent,
   Appearance appearance,
   float zoomFactor
)

Parameters

parent
Parent control
appearance
Appearance settings of the control
zoomFactor
Numeric value for scaling the display of the control

Return Value

Control

Remarks

After creating the control the first time, add it to parent.Controls and return the same instance when called again for that parent.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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