Spread Silverlight Documentation
GrapeCity.Windows.SpreadSheet.UI Namespace / SplitBoxPolicy Enumeration
Example Example


In This Topic
    SplitBoxPolicy Enumeration
    In This Topic
    Specifies when the component displays the split boxes.
    Syntax
    'Declaration
     
    Public Enum SplitBoxPolicy 
       Inherits System.Enum
    'Usage
     
    Dim instance As SplitBoxPolicy
    public enum SplitBoxPolicy : System.Enum 
    Members
    MemberDescription
    AlwaysDisplays the split box all the time
    AsNeededDisplays the split box only when needed
    NeverDoes not display the split box
    Example
    This example sets the SplitBoxPolicy enumeration.
    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
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Windows.SpreadSheet.UI.SplitBoxPolicy

    See Also