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.StringThe title of the first column (names).
titleItems
Type: System.StringThe title of the second column (items).
titleFont
Type: System.Drawing.FontThe font of the title.
linesFont
Type: System.Drawing.FontThe font of the items in each row.
names
Type: System.String[]The names of the items that the user can choose.
optionalName
Type: System.StringThe optional name.
removeOptionalItemOnSelection
Type: System.Booleantrue to remove an optional item when it is selected; otherwise, false.
items
Type: Microsoft.WindowsServerSolutions.Controls.RadioTableItem[]An array of strings that contains the data for the current ComboTable.
headerHeight
Type: System.Int32The height of the header.
lineHeight
Type: System.Int32The height of each line.
nameWidth
Type: System.Int32The width of the name in the header.
itemWidth
Type: System.Int32The width of choosing item in the header.
totalHeight
Type: System.Int32The total height.
totalWidth
Type: System.Int32The total width.
See Also
ComboTable Overload
ComboTable Class
Microsoft.WindowsServerSolutions.Controls Namespace
Return to top