TreeListComboBoxColumn.PropertiesComboBox Property
In This Article
Gets the column editor’s settings.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public ComboBoxProperties PropertiesComboBox { get; }
#Property Value
Type | Description |
---|---|
Combo |
A Combo |
#Remarks
The PropertiesComboBox property allows you to access and customize the settings of the combo box editor.
<dx:ASPxTreeList ID="ASPxTreeList1" runat="server" DataSourceID="SqlDataSource1" KeyFieldName="CustomerID" >
<Columns>
<dx:TreeListTextColumn FieldName="CompanyName" VisibleIndex="0" />
<dx:TreeListComboBoxColumn FieldName="City" VisibleIndex="1">
<PropertiesComboBox DataSourceID="SqlDataSource2" TextField="City" />
</dx:TreeListComboBoxColumn>
</Columns>
</dx:ASPxTreeList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="..."
SelectCommand="SELECT [CustomerID], [CompanyName], [City] FROM [Customers]" />
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="..."
SelectCommand="SELECT [City] FROM [Customers]" />
See Also