Spread WinRT Documentation
GrapeCity.Xaml.SpreadSheet.Data Namespace / Cell Class / ActualBorderLeft Property
Example


In This Topic
    ActualBorderLeft Property
    In This Topic
    Gets the displayed left border of a cell.
    Syntax
    'Declaration
     
    Public ReadOnly Property ActualBorderLeft As BorderLine
    'Usage
     
    Dim instance As Cell
    Dim value As BorderLine
     
    value = instance.ActualBorderLeft
    public BorderLine ActualBorderLeft {get;}

    Property Value

    A BorderLine object that specifies the actual border for the cell.
    Remarks
    The style is composed of cell, row, column, sheet, conditional format, and alternating rows.
    Example
    This example gets the ActualBorderLeft property.
    GrapeCity.Xaml.SpreadSheet.Data.Cell acell;
    acell = gcSpreadSheet1.Sheets[0].Cells[0, 0];
    acell.BorderBottom = new GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(100, 150, 25, 25));
    acell.BorderTop = new GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(100, 150, 25, 25));
    acell.BorderLeft = new GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(100, 150, 25, 25));
    acell.BorderRight = new GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.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.Xaml.SpreadSheet.Data.Cell
    acell = GcSpreadSheet1.Sheets(0).Cells(0, 0)
    acell.BorderBottom = New GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(100, 150, 25, 25))
    acell.BorderTop = New GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(100, 150, 25, 25))
    acell.BorderLeft = New GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.Color.FromArgb(100, 150, 25, 25))
    acell.BorderRight = New GrapeCity.Xaml.SpreadSheet.Data.BorderLine(Windows.UI.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())
    See Also