GrapeCity.Windows.SpreadSheet.Data Namespace > Row Class : ResetBorderRight Method |
'Declaration Public Sub ResetBorderRight()
'Usage Dim instance As Row instance.ResetBorderRight()
public void ResetBorderRight()
gcSpreadSheet1.Sheets[0].Rows[5].BorderTop = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(255, 100, 50, 100)); gcSpreadSheet1.Sheets[0].Rows[5].BorderLeft = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(255, 255, 122, 5)); gcSpreadSheet1.Sheets[0].Rows[5].BorderRight = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(255, 255, 122, 5), GrapeCity.Windows.SpreadSheet.Data.BorderLineStyle.DashDot); gcSpreadSheet1.Sheets[0].Rows[5].BorderBottom = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(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.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(255, 100, 50, 100)) GcSpreadSheet1.Sheets(0).Rows(5).BorderLeft = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(255, 255, 122, 5)) GcSpreadSheet1.Sheets(0).Rows(5).BorderRight = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(255, 255, 122, 5), GrapeCity.Windows.SpreadSheet.Data.BorderLineStyle.DashDot) GcSpreadSheet1.Sheets(0).Rows(5).BorderBottom = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(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
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6