Gets or sets a value that indicates how the
Cell is resized.
The following code example shows how to use this property to control whether a cell can be resized. This code example is part of a larger example provided for the
GcMultiRow.AllowUserToResize class.
void makeFirstCellResizable_Click(object sender, EventArgs e)
{
Cell cell = this.gcMultiRow1.Rows[0][0];
// Make cell resizable in two directions.
// You can make any cell resize (or not) by changing this property's value.
cell.ResizeMode = ResizeMode.Both;
}
Private Sub makeFirstCellResizable_Click(ByVal sender As Object, ByVal e As EventArgs) Handles
makeFirstCellResizable.Click
Dim cell As Cell = Me.gcMultiRow1.Rows(0)(0)
' Make cell resizable in two directions.
' You can make any cell resize (or not) by changing this property's value.
cell.ResizeMode = ResizeMode.Both
End Sub
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