Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SeparatorBoxInfo Class / SeparatorBoxInfo Constructor / SeparatorBoxInfo Constructor(Boolean,Size,Color,Color,CharBoxStyle,Padding,Padding,CharBoxBorderInfo,Font,ContentAlignment,SeparatorShape,Size)
A bool value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed.
A System.Drawing.Size indicates the size of the inputable box.
A System.Drawing.Color indicates the background color.
A System.Drawing.Color indicates the foreground color.
A CharBoxStyle indicates the inputable box style.
A System.Windows.Forms.Padding indicates the margins.
A System.Windows.Forms.Padding indicates the paddings.
A CharBoxBorderInfo indicates the border of the inputable box.
A Font indicates the text font of the inputable box.
A System.Drawing.ContentAlignment value indicates the content alignment of the inputable box.
A SeparatorShape indicating the shape of the separator box.
A System.Drawing.Size indicates the size of the separator box.


In This Topic
    SeparatorBoxInfo Constructor(Boolean,Size,Color,Color,CharBoxStyle,Padding,Padding,CharBoxBorderInfo,Font,ContentAlignment,SeparatorShape,Size)
    In This Topic
    Initializes a new instance of the SeparatorBoxInfo.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal autoSize As Boolean, _
       ByVal size As Size, _
       ByVal backColor As Color, _
       ByVal foreColor As Color, _
       ByVal style As CharBoxStyle, _
       ByVal margin As Padding, _
       ByVal padding As Padding, _
       ByVal border As CharBoxBorderInfo, _
       ByVal font As Font, _
       ByVal contentAlignment As ContentAlignment, _
       ByVal separatorShape As SeparatorShape, _
       ByVal separatorSize As Size _
    )
    'Usage
     
    
    Dim autoSize As Boolean
    Dim size As Size
    Dim backColor As Color
    Dim foreColor As Color
    Dim style As CharBoxStyle
    Dim margin As Padding
    Dim padding As Padding
    Dim border As CharBoxBorderInfo
    Dim font As Font
    Dim contentAlignment As ContentAlignment
    Dim separatorShape As SeparatorShape
    Dim separatorSize As Size
     
    Dim instance As New SeparatorBoxInfo(autoSize, size, backColor, foreColor, style, margin, padding, border, font, contentAlignment, separatorShape, separatorSize)

    Parameters

    autoSize
    A bool value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed.
    size
    A System.Drawing.Size indicates the size of the inputable box.
    backColor
    A System.Drawing.Color indicates the background color.
    foreColor
    A System.Drawing.Color indicates the foreground color.
    style
    A CharBoxStyle indicates the inputable box style.
    margin
    A System.Windows.Forms.Padding indicates the margins.
    padding
    A System.Windows.Forms.Padding indicates the paddings.
    border
    A CharBoxBorderInfo indicates the border of the inputable box.
    font
    A Font indicates the text font of the inputable box.
    contentAlignment
    A System.Drawing.ContentAlignment value indicates the content alignment of the inputable box.
    separatorShape
    A SeparatorShape indicating the shape of the separator box.
    separatorSize
    A System.Drawing.Size indicates the size of the separator box.
    See Also