GrapeCity.Win.MultiRow Namespace > HeaderDropDownList Class > HeaderDropDownList Constructor : HeaderDropDownList Constructor(String,Boolean,Boolean) |
Public Function New( _ ByVal cellName As String, _ ByVal autoAddFilterItems As Boolean, _ ByVal autoAddSortItems As Boolean _ )
Dim cellName As String Dim autoAddFilterItems As Boolean Dim autoAddSortItems As Boolean Dim instance As New HeaderDropDownList(cellName, autoAddFilterItems, autoAddSortItems)
public HeaderDropDownList( string cellName, bool autoAddFilterItems, bool autoAddSortItems )
void setFirstColumnDropDownListButton_Click(object sender, EventArgs e) { // Get first column header cell. ColumnHeaderCell columnHeaderCell = this.gcMultiRow1.ColumnHeaders[0][0] as ColumnHeaderCell; // Create a drop down list with some default down down items. columnHeaderCell.DropDownList = new HeaderDropDownList(0, true, true); }
Private Sub setFirstColumnDropDownListButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles setFirstColumnDropDownListButton.Click ' Get first column header cell. Dim columnHeaderCell As ColumnHeaderCell = TryCast(Me.gcMultiRow1.ColumnHeaders(0)(0), ColumnHeaderCell) ' Create a drop down list with some default down down items. columnHeaderCell.DropDownList = New HeaderDropDownList(0, True, True) End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2