GrapeCity.Xaml.SpreadSheet.Data
ResetBorderTop Method (Row)
Example 


Resets the row to inherit the top row border from the default row.
Syntax
'Declaration
 
Public Sub ResetBorderTop() 
'Usage
 
Dim instance As Row
 
instance.ResetBorderTop()
public void ResetBorderTop()
Example
This example uses the ResetBorderTop method.
gcSpreadSheet1.Sheets[0].Rows[5].BorderTop = new GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(255, 100, 50, 100));
gcSpreadSheet1.Sheets[0].Rows[5].BorderLeft = new GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(255, 255, 122, 5));
gcSpreadSheet1.Sheets[0].Rows[5].BorderRight = new GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(255, 255, 122, 5), GrapeCity.Xaml.SpreadSheet.Data.BorderLineStyle.DashDot);
gcSpreadSheet1.Sheets[0].Rows[5].BorderBottom = new GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(255, 255, 50, 200));

private void button1_Click(object sender, RoutedEventArgs e)
{
gcSpreadSheet1.Sheets[0].Rows[5].ResetBorderBottom();
gcSpreadSheet1.Sheets[0].Rows[5].ResetBorderLeft();
gcSpreadSheet1.Sheets[0].Rows[5].ResetBorderRight();
gcSpreadSheet1.Sheets[0].Rows[5].ResetBorderTop();
}
GcSpreadSheet1.Sheets(0).Rows(5).BorderTop = New GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(255, 100, 50, 100))
GcSpreadSheet1.Sheets(0).Rows(5).BorderLeft = New GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(255, 255, 122, 5))
GcSpreadSheet1.Sheets(0).Rows(5).BorderRight = New GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(255, 255, 122, 5), GrapeCity.Xaml.SpreadSheet.Data.BorderLineStyle.DashDot)
GcSpreadSheet1.Sheets(0).Rows(5).BorderBottom = New GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(255, 255, 50, 200))

Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click
GcSpreadSheet1.Sheets(0).Rows(5).ResetBorderBottom()
GcSpreadSheet1.Sheets(0).Rows(5).ResetBorderLeft()
GcSpreadSheet1.Sheets(0).Rows(5).ResetBorderRight()
GcSpreadSheet1.Sheets(0).Rows(5).ResetBorderTop()
End Sub
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Row Class
Row Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options