Skip to content

Commit 239c346

Browse files
WF-64663-Updated Content
1 parent 293f1c7 commit 239c346

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ This example demonstrates how to disable some items from a winforms combobox dro
44
## Changing forecolor for disabled items in dropdown
55
You can change the forecolor for disabled items by handling [SfComboBox.DropDownListView.DrawItem]((https://help.syncfusion.com/cr/windowsforms/Syncfusion.WinForms.ListView.SfListView.html)) event to show the items is disabled.
66

7-
{% tabs %}
8-
9-
{% highlight C# %}
7+
# C#
108

119
sfComboBox.DropDownListView.DrawItem += DropDownListView_DrawItem;
1210

@@ -20,8 +18,6 @@ private void DropDownListView_DrawItem(object sender, Syncfusion.WinForms.ListVi
2018
}
2119
}
2220

23-
{% endhighlight %}
24-
2521
## Handling selection for disabled items in dropdown
2622
Selection of disabled items in multi selection mode handled using [SfComboBox.DropDownListView.SelectionChanged](https://help.syncfusion.com/cr/windowsforms/Syncfusion.WinForms.ListView.SfListView.html) and [SfComboBox.DropDownListView.ItemChecking event](https://help.syncfusion.com/cr/windowsforms/Syncfusion.WinForms.ListView.SfListView.html). In single selection mode, selection is handled using [SfComboBox.DropDownListView.SelectionChanging event](https://help.syncfusion.com/cr/windowsforms/Syncfusion.WinForms.ListView.SfListView.html).
2723

0 commit comments

Comments
 (0)