GrapeCity.Windows.SpreadSheet.Data Namespace > Cell Class : ActualBorderTop Property |
'Declaration Public ReadOnly Property ActualBorderTop As BorderLine
'Usage Dim instance As Cell Dim value As BorderLine value = instance.ActualBorderTop
public BorderLine ActualBorderTop {get;}
GrapeCity.Windows.SpreadSheet.Data.Cell acell; acell = gcSpreadSheet1.Sheets[0].Cells[0, 0]; acell.BorderBottom = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(100, 150, 25, 25)); acell.BorderTop = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(100, 150, 25, 25)); acell.BorderLeft = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(100, 150, 25, 25)); acell.BorderRight = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(100, 150, 25, 25)); listBox1.Items.Add(acell.ActualBorderBottom.ToString()); listBox1.Items.Add(acell.ActualBorderTop.ToString()); listBox1.Items.Add(acell.ActualBorderLeft.ToString()); listBox1.Items.Add(acell.ActualBorderRight.ToString());
Dim acell As GrapeCity.Windows.SpreadSheet.Data.Cell acell = GcSpreadSheet1.Sheets(0).Cells(0, 0) acell.BorderBottom = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(100, 150, 25, 25)) acell.BorderTop = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(100, 150, 25, 25)) acell.BorderLeft = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(100, 150, 25, 25)) acell.BorderRight = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Color.FromArgb(100, 150, 25, 25)) ListBox1.Items.Add(acell.ActualBorderBottom.ToString()) ListBox1.Items.Add(acell.ActualBorderTop.ToString()) ListBox1.Items.Add(acell.ActualBorderLeft.ToString()) ListBox1.Items.Add(acell.ActualBorderRight.ToString())
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