GrapeCity MultiRow Windows Forms Documentation
Clone Method (MaskedTextBoxCell)


Creates an exact copy of the MaskedTextBoxCell class.
Syntax
Public Overrides Function Clone() As Object
Dim instance As MaskedTextBoxCell
Dim value As Object
 
value = instance.Clone()
public override object Clone()

Return Value

A System.Object value that represents the cloned MaskedTextBoxCell.
Remarks

This method does not copy the Cell.Name property of this Cell. The Name property is a unique identification of a Cell in a Template, so cloning it is not proper.

Override the Clone method whenever you derive from the MaskedTextBoxCell class and add new properties to the derived class.

Note to Inheritors:

When overriding the Clone method in a derived class, call the base class's Clone method so that the properties of the base class are copied to the new cell, and be sure to also copy the values of any properties that were added to the derived class.

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

MaskedTextBoxCell Class
MaskedTextBoxCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.