Spread ASP.NET 6.0 Product Documentation
GetEditorControl Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Editor Namespace > GeneralEditor Class : GetEditorControl Method


id
Unique identifier for the editor control
parent
Parent control of the editor control
style
Appearance settings of the cell for the editor control
margin
Margin settings for the editor control
value
Value to set in the editor control
upperLevel
Whether to render to a up-level browser

Glossary Item Box

Creates a generic text box editor control.

Syntax

Visual Basic (Declaration) 
Public Overrides Function GetEditorControl( _
   ByVal id As String, _
   ByVal parent As TableCell, _
   ByVal style As Appearance, _
   ByVal margin As Inset, _
   ByVal value As Object, _
   ByVal upperLevel As Boolean _
) As Control
Visual Basic (Usage)Copy Code
Dim instance As GeneralEditor
Dim id As String
Dim parent As TableCell
Dim style As Appearance
Dim margin As Inset
Dim value As Object
Dim upperLevel As Boolean
Dim value As Control
 
value = instance.GetEditorControl(id, parent, style, margin, value, upperLevel)
C# 
public override Control GetEditorControl( 
   string id,
   TableCell parent,
   Appearance style,
   Inset margin,
   object value,
   bool upperLevel
)

Parameters

id
Unique identifier for the editor control
parent
Parent control of the editor control
style
Appearance settings of the cell for the editor control
margin
Margin settings for the editor control
value
Value to set in the editor control
upperLevel
Whether to render to a up-level browser

Remarks

This is the base class for the IEditor interface implementation.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.