Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / BorderProperty Class / Index Property
Example


In This Topic
    Index Property (BorderProperty)
    In This Topic
    Gets an integer value associated with the current border property.
    Syntax
    'Declaration
     
    Public Overridable ReadOnly Property Index As Integer
    'Usage
     
    Dim instance As BorderProperty
    Dim value As Integer
     
    value = instance.Index
    public virtual int Index {get;}

    Property Value

    Integer index of the border property
    Example
    This example returns the index of the BorderStyleLeft property to a text box.
    FarPoint.Web.Spread.BorderProperty bord;
    int i;
    i=bord.BorderStyleLeft.Index();
    TextBox1.Text=Convert.ToString(i);
    Dim bord As FarPoint.Web.Spread.BorderProperty
    Dim i As Integer
    i=bord.BorderStyleLeft.Index()
    TextBox1.Text=i
    See Also