Spread Windows Forms 8.0 Product Documentation
GetAppearance Method (GroupInfo)
Example 


Appearance object
Copies the appearance settings.
Syntax
'Declaration
 
Public Function GetAppearance( _
   ByVal appearance As Appearance _
) As Appearance
'Usage
 
Dim instance As GroupInfo
Dim appearance As Appearance
Dim value As Appearance
 
value = instance.GetAppearance(appearance)
public Appearance GetAppearance( 
   Appearance appearance
)

Parameters

appearance
Appearance object

Return Value

Appearance object containing the appearance settings for the group
Example
fpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate;
fpSpread1.AllowColumnMove = true;
fpSpread1.ActiveSheet.GroupBarInfo.Visible = true;
fpSpread1.ActiveSheet.AllowGroup = true; 

FarPoint.Win.Spread.GroupInfo gi = new FarPoint.Win.Spread.GroupInfo();
gi.BackColor = Color.Yellow;

fpSpread1.ActiveSheet.GroupInfos.Add(gi);

FarPoint.Win.Spread.Appearance app = new FarPoint.Win.Spread.Appearance();
gi.GetAppearance(app);
MessageBox.Show(app.BackColor.ToString());
FpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate
FpSpread1.AllowColumnMove = True
FpSpread1.ActiveSheet.GroupBarInfo.Visible = True
FpSpread1.ActiveSheet.AllowGroup = True

Dim gi As New FarPoint.Win.Spread.GroupInfo
gi.BackColor = Color.Yellow

FpSpread1.ActiveSheet.GroupInfos.Add(gi)

Dim app As New FarPoint.Win.Spread.Appearance
gi.GetAppearance(app)
MessageBox.Show(app.BackColor.ToString)
Requirements

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

See Also

Reference

GroupInfo Class
GroupInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.