Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / RangeGroup Class / Direction Property
Example


In This Topic
    Direction Property (RangeGroup)
    In This Topic
    Gets or sets the direction.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property Direction As RangeGroupDirection
    'Usage
     
    Dim instance As RangeGroup
    Dim value As RangeGroupDirection
     
    instance.Direction = value
     
    value = instance.Direction
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public RangeGroupDirection Direction {get; set;}

    Property Value

    A value that specifies the location of the range group summary row or column. The default value is Forward.
    Example
    This examples uses the Direction property.
    gcSpreadSheet1.Sheets[0].RowRangeGroup.Group(3, 2);
    gcSpreadSheet1.Sheets[0].RowRangeGroup.Direction = GrapeCity.Windows.SpreadSheet.Data.RangeGroupDirection.Backward;
    GcSpreadSheet1.Sheets(0).RowRangeGroup.Group(3, 2)
    GcSpreadSheet1.Sheets(0).RowRangeGroup.Direction = GrapeCity.Windows.SpreadSheet.Data.RangeGroupDirection.Backward
    See Also