Spread WPF 15
GrapeCity.Windows.SpreadSheet.UI Namespace / GcSpreadSheet Class / RowSplitBoxPolicy Property
Example


In This Topic
    RowSplitBoxPolicy Property (GcSpreadSheet)
    In This Topic
    Gets or sets under which conditions the GcSpreadSheet component permits row splits.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property RowSplitBoxPolicy As SplitBoxPolicy
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim value As SplitBoxPolicy
     
    instance.RowSplitBoxPolicy = value
     
    value = instance.RowSplitBoxPolicy
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public SplitBoxPolicy RowSplitBoxPolicy {get; set;}
    Example
    This example sets the RowSplitBoxPolicy property.
    gcSpreadSheet1.ColumnSplitBoxPolicy = GrapeCity.Windows.SpreadSheet.UI.SplitBoxPolicy.Always;
    gcSpreadSheet1.ColumnSplitBoxAlignment = GrapeCity.Windows.SpreadSheet.UI.SplitBoxAlignment.Trailing;
    gcSpreadSheet1.RowSplitBoxAlignment = GrapeCity.Windows.SpreadSheet.UI.SplitBoxAlignment.Leading;
    gcSpreadSheet1.RowSplitBoxPolicy = GrapeCity.Windows.SpreadSheet.UI.SplitBoxPolicy.Always;
    GcSpreadSheet1.ColumnSplitBoxPolicy = GrapeCity.Windows.SpreadSheet.UI.SplitBoxPolicy.Always
    GcSpreadSheet1.ColumnSplitBoxAlignment = GrapeCity.Windows.SpreadSheet.UI.SplitBoxAlignment.Trailing
    GcSpreadSheet1.RowSplitBoxAlignment = GrapeCity.Windows.SpreadSheet.UI.SplitBoxAlignment.Leading
    GcSpreadSheet1.RowSplitBoxPolicy = GrapeCity.Windows.SpreadSheet.UI.SplitBoxPolicy.Always
    See Also