Partager via


ComboTable Constructor (String, String, Font, Font, String[], String, Boolean, RadioTableItem[], Int32, Int32, Int32, Int32, Int32, Int32)

 

Initializes a new instance of the ComboTable class with the names, an optional name, the items (data) that the names are associated with, and the related titles, fonts, heights, and widths that are connected to those names and items.

Namespace:   Microsoft.WindowsServerSolutions.Controls
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

public ComboTable(
    string titleNames,
    string titleItems,
    Font titleFont,
    Font linesFont,
    string[] names,
    string optionalName,
    bool removeOptionalItemOnSelection,
    RadioTableItem[] items,
    int headerHeight,
    int lineHeight,
    int nameWidth,
    int itemWidth,
    int totalHeight,
    int totalWidth
)
public:
ComboTable(
    String^ titleNames,
    String^ titleItems,
    Font^ titleFont,
    Font^ linesFont,
    array<String^>^ names,
    String^ optionalName,
    bool removeOptionalItemOnSelection,
    array<RadioTableItem^>^ items,
    int headerHeight,
    int lineHeight,
    int nameWidth,
    int itemWidth,
    int totalHeight,
    int totalWidth
)
Public Sub New (
    titleNames As String,
    titleItems As String,
    titleFont As Font,
    linesFont As Font,
    names As String(),
    optionalName As String,
    removeOptionalItemOnSelection As Boolean,
    items As RadioTableItem(),
    headerHeight As Integer,
    lineHeight As Integer,
    nameWidth As Integer,
    itemWidth As Integer,
    totalHeight As Integer,
    totalWidth As Integer
)

Parameters

  • titleNames
    Type: System.String

    The title of the first column (names).

  • titleItems
    Type: System.String

    The title of the second column (items).

  • names
    Type: System.String[]

    The names of the items that the user can choose.

  • removeOptionalItemOnSelection
    Type: System.Boolean

    true to remove an optional item when it is selected; otherwise, false.

  • nameWidth
    Type: System.Int32

    The width of the name in the header.

  • itemWidth
    Type: System.Int32

    The width of choosing item in the header.

See Also

ComboTable Overload
ComboTable Class
Microsoft.WindowsServerSolutions.Controls Namespace

Return to top