Spread for ASP.NET 7.0 Product Documentation
GetEditorControl Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > PercentCellType Class : GetEditorControl Method


id
Unique identifier of the control
parent
Parent cell (TableCell object) of the control
style
Style settings (Appearance object) for the control
margin
Margin settings (Inset object) for the control
value
Value (as object) to put in the control
upperLevel
Whether the control can render in an up-level browser

Glossary Item Box

Gets the control used to edit the cell.

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 PercentCellType
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 of the control
parent
Parent cell (TableCell object) of the control
style
Style settings (Appearance object) for the control
margin
Margin settings (Inset object) for the control
value
Value (as object) to put in the control
upperLevel
Whether the control can render in an up-level browser

Return Value

Control object containing the editor control

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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