Spread Windows Forms 12.0 Product Documentation
CopyFrom Method (TipAppearance)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TipAppearance Class : CopyFrom Method
Object with appearance settings
Copies the settings of the specified set of tip appearance settings to this tip.
Syntax
'Declaration
 
Public Sub CopyFrom( _
   ByVal appearance As TipAppearance _
) 
'Usage
 
Dim instance As TipAppearance
Dim appearance As TipAppearance
 
instance.CopyFrom(appearance)
public void CopyFrom( 
   TipAppearance appearance
)

Parameters

appearance
Object with appearance settings
Example
This example shows how to copy the background color to a new object.
FarPoint.Win.Spread.TipAppearancetipclone=newFarPoint.Win.Spread.TipAppearance();
tipclone.BackColor=Color.Gold;
FarPoint.Win.Spread.TipAppearancenewtip=newFarPoint.Win.Spread.TipAppearance();
newtip.CopyFrom(tipclone);

fpSpread1.TextTipPolicy=FarPoint.Win.Spread.TextTipPolicy.Floating;
fpSpread1.TextTipDelay=1000;
DimtipcloneAsNewFarPoint.Win.Spread.TipAppearance
tipclone.BackColor=Color.Gold
DimnewtipAsNewFarPoint.Win.Spread.TipAppearance
newtip.CopyFrom(clone)

FpSpread1.TextTipPolicy=FarPoint.Win.Spread.TextTipPolicy.Floating
FpSpread1.TextTipDelay=1000
See Also

Reference

TipAppearance Class
TipAppearance Members

User-Task Documentation

Displaying Text Tips