BaseView.Assign(BaseView, Boolean) Method
Copies the settings of a View object to the current one.
public virtual void Assign( BaseView v, bool copyEvents )
Public Overridable Sub Assign( v As BaseView, copyEvents As Boolean )
A BaseView object or descendant representing the source of the operation.
true if event handlers assigned to the source BaseView object should be assigned to the corresponding events of the destination View object; otherwise, false.
The Assign method is used to copy the settings of the BaseView object specified by the v parameter to the current View object. This method copies public properties of the source View object and, if the copyEvents parameter is true, the event handlers assigned. This makes it possible to have several View objects with the same behavior and appearance.
Descendant Views override this method to implement proper assignment.