Spread for ASP.NET 11 Product Documentation
GetEditorControl Method (EmptyCellType)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > EmptyCellType Class : GetEditorControl Method
String with unique identifier for the cell edit control
Parent control of the cell edit control
Style (appearance settings) for the cell edit control
Inset (margin settings) for the cell edit control
Value to be set to the cell edit control
Whether the control can render in an up-level browser
Gets the control used to edit the cell (and always returns null).
Syntax
'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
'Usage
 
Dim instance As EmptyCellType
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)
public override Control GetEditorControl( 
   string id,
   TableCell parent,
   Appearance style,
   Inset margin,
   object value,
   bool upperLevel
)

Parameters

id
String with unique identifier for the cell edit control
parent
Parent control of the cell edit control
style
Style (appearance settings) for the cell edit control
margin
Inset (margin settings) for the cell edit control
value
Value to be set to the cell edit control
upperLevel
Whether the control can render in an up-level browser

Return Value

Null (no editor)
Remarks

The Spread component always positions the editor control returned by the GetEditorControl method so that the editor control covers the entire cell.

See Also

Reference

EmptyCellType Class
EmptyCellType Members