-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support for ComboBox.SelectionChangedTrigger
- Loading branch information
1 parent
add8b01
commit 0d016e2
Showing
4 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/Uno.UI/UI/Xaml/Controls/ComboBox/ComboBoxSelectionChangedTrigger.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace Microsoft.UI.Xaml.Controls; | ||
|
||
/// <summary> | ||
/// Defines constants that specify what action causes a SelectionChanged event to occur. | ||
/// </summary> | ||
public enum ComboBoxSelectionChangedTrigger | ||
{ | ||
/// <summary> | ||
/// A change event occurs when the user commits a selection in the combo box. | ||
/// </summary> | ||
Committed = 0, | ||
|
||
/// <summary> | ||
/// A change event occurs each time the user navigates to a new selection in the combo box. | ||
/// </summary> | ||
Always = 1, | ||
} |