GrapeCity MultiRow Windows Forms Documentation
PrepareEditingCellForEdit Method (IEditingCell)
Example 


true to select all of the cell's content; otherwise, false.
Prepares the current selected cell for editing.
Syntax
Sub PrepareEditingCellForEdit( _
   ByVal selectAll As Boolean _
) 
Dim instance As IEditingCell
Dim selectAll As Boolean
 
instance.PrepareEditingCellForEdit(selectAll)
void PrepareEditingCellForEdit( 
   bool selectAll
)

Parameters

selectAll
true to select all of the cell's content; otherwise, false.
Remarks
The purpose of this method is to prepare the cell and its contents for editing. For example, you might want to put the insertion point at the end of the cell contents or change how the contents are aligned.
Example
The following code example shows how to use this method to customize an editable cell. This code example is part of a larger example provided for the IEditingCell interface.
public void PrepareEditingCellForEdit(bool selectAll)
        {
            // Prepare to edit cell.
        }
Public Sub PrepareEditingCellForEdit(ByVal selectAll As Boolean) Implements 
IEditingCell.PrepareEditingCellForEdit
        ' Prepare to edit cell.
    End Sub
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

Reference

IEditingCell Interface
IEditingCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.