Drop-Down Button Icon

The DropDownButtonIconContent and the DropDownButtonIconContentTemplate properties allow you to customize the drop-down button icon of the RadComboBox control.

  • DropDownButtonIconContent: Gets or sets the content of the show dialog button.

  • DropDownButtonIconContentTemplate: Gets or sets the content template of the show dialog button.

Using Images

The DropDownButtonIconContent and DropDownButtonIconContentTemplate properties are fully compatible with the Image control. The following example shows how to set an Image as a drop-down button icon.

Example 1: Setting a Image as Drop-Down Button Icon

    <telerik:RadComboBox DropDownButtonIconContent="myImage.png"> 
        <telerik:RadComboBox.DropDownButtonIconTemplate> 
            <DataTemplate> 
                <Image Source="{Binding}" /> 
            </DataTemplate> 
        </telerik:RadComboBox.DropDownButtonIconTemplate> 
        <telerik:RadComboBoxItem Content="Item 1" /> 
        <telerik:RadComboBoxItem Content="Item 2" /> 
    </telerik:RadComboBox> 

Figure 1: RadComboBox with customized dropdown icon

RadComboBox with RadGlyph as dropdown icon

See Also

In this article