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


In This Topic
    ColumnSplitBoxPolicy Property (GcSpreadSheet)
    In This Topic
    Gets or sets under which conditions the GcSpreadSheet component permits column splits.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property ColumnSplitBoxPolicy As SplitBoxPolicy
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim value As SplitBoxPolicy
     
    instance.ColumnSplitBoxPolicy = value
     
    value = instance.ColumnSplitBoxPolicy
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public SplitBoxPolicy ColumnSplitBoxPolicy {get; set;}
    Example
    This example sets the ColumnSplitBoxPolicy 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