You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WindowsForms/ComboBox/Token.md
+131Lines changed: 131 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,3 +62,134 @@ sfComboBox1.Style.TokenStyle.Font = New Font(“Arial”, 10F, FontStyle.Bold)
62
62
* Using the <kbd>Down Arrow</kbd>, <kbd>Up Arrow</kbd>, and <kbd>Enter</kbd> keys, item can be selected from the combobox.
63
63
* Using the <kbd>Backspace</kbd> key, the last positioned token will be removed from the text area.
64
64
* When the <kbd>Esc</kbd> key is pressed, the drop-down area will be closed if it has been opened already.
65
+
66
+
## Events Fired When Selecting and Deselecting Tokens
67
+
68
+
The [SelectedValueChanged](https://help.syncfusion.com/cr/windowsforms/Syncfusion.WinForms.ListView.SfComboBox.html#Syncfusion_WinForms_ListView_SfComboBox_SelectedValueChanged) event is triggered whenever tokens are selected or deselected in the SfComboBox control. This allows users to handle changes in token selections effectively.
69
+
70
+
{% tabs %}
71
+
{% highlight c# %}
72
+
73
+
private List<object> _previousSelectedTokens;
74
+
private Label label;
75
+
76
+
SfComboBox sfComboBox1 = new SfComboBox
77
+
{
78
+
EnableToken = true,
79
+
DisplayMember = "Name",
80
+
ValueMember = "Id",
81
+
Size = new Size(300, 30),
82
+
DataSource = new List<dynamic>
83
+
{
84
+
new { Id = 1, Name = "Item1" },
85
+
new { Id = 2, Name = "Item2" },
86
+
new { Id = 3, Name = "Item3" }
87
+
}
88
+
};
89
+
90
+
sfComboBox1.Style.TokenStyle.Font = new Font("Arial", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
Copy file name to clipboardExpand all lines: WindowsForms/DataGrid/ClipboardOperations.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
layout: post
3
-
title: Clipboard Operations in Windows Forms DataGrid | Syncfusion
4
-
description: This section explains about the clipboard operations such as cut, copy and paste the data in Syncfusion Windows Forms DataGrid (SfDataGrid) control and more.
3
+
title: Clipboard Operations in Windows Forms DataGrid | Syncfusion®
4
+
description: This section explains about the clipboard operations such as cut, copy and paste the data in Syncfusion® Windows Forms DataGrid (SfDataGrid) control and more.
Copy file name to clipboardExpand all lines: WindowsForms/DataGrid/ColumnTypes.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
layout: post
3
-
title: Column types in WinForms DataGrid control | Syncfusion
4
-
description: Learn about different column types support (Text, Numeric, DateTime, ComboBox and so on) in Syncfusion WinForms DataGrid (SfDataGrid) control and more details.
3
+
title: Column types in WinForms DataGrid control | Syncfusion®
4
+
description: Learn about different column types support (Text, Numeric, DateTime, ComboBox and so on) in Syncfusion® WinForms DataGrid (SfDataGrid) control and more details.
0 commit comments