GrapeCity MultiRow Windows Forms Documentation
Clone Method (HeaderDropDownList)


Creates a new HeaderDropDownList that is a deep copy of the current HeaderDropDownList.
Syntax
Public Overridable Function Clone() As HeaderDropDownList
Dim instance As HeaderDropDownList
Dim value As HeaderDropDownList
 
value = instance.Clone()
public virtual HeaderDropDownList Clone()

Return Value

A HeaderDropDownList that is a deep copy of the current HeaderDropDownList.
Remarks
The new drop-down list is a deep copy of the current one, which means, each item in the list is cloned. The new list's Owner is a null reference (Nothing in Visual Basic). The new list has the same event handler as the Opened and Closed events with the current drop-down list, so the code written in the handler also works for the new list.
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

HeaderDropDownList Class
HeaderDropDownList Members

 

 


Copyright © GrapeCity, inc. All rights reserved.