Duplicates the properties of the specified object into the current instance of the PanelPart class.
public void CopyFrom(
Public Sub CopyFrom(
source As PanelPart
A PanelPart object that represents the object which the settings will be copied from.
Use the CopyFrom method to duplicate the properties of the specified PanelPart object into the instance of the PanelPart class from which this method is called.
All properties, including those that have been set in the current instance of the PanelPart class, will be replaced by the associated property in the PanelPart specified by the source parameter.