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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

TipAppearance Class
TipAppearance Members

User-Task Documentation

Displaying Text Tips

 

 


Copyright © GrapeCity, inc. All rights reserved.