Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: UpdateSourceTrigger.LostFocus should not be marked NotImplemented #19336

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 22 additions & 23 deletions src/Uno.UI/UI/Xaml/Data/UpdateSourceTrigger.cs
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
using Uno;
namespace Microsoft.UI.Xaml.Data;

namespace Microsoft.UI.Xaml.Data
/// <summary>
/// Defines constants that indicate when a binding source is updated by its binding target in two-way binding.
/// </summary>
public enum UpdateSourceTrigger
{
/// <summary>
/// Defines constants that indicate when a binding source is updated by its binding target in two-way binding.
/// Use default behavior from the dependency property that uses the binding. In Windows Runtime, this evaluates the same as a value with PropertyChanged.
/// </summary>
public enum UpdateSourceTrigger
{
/// <summary>
/// Use default behavior from the dependency property that uses the binding. In Windows Runtime, this evaluates the same as a value with PropertyChanged.
/// </summary>
Default = 0,
/// <summary>
/// The binding source is updated whenever the binding target value changes. This is detected automatically by the binding system.
/// </summary>
PropertyChanged = 1,
/// <summary>
/// The binding source is updated only when you call the BindingExpression.UpdateSource method.
/// </summary>
Explicit = 2,
/// <summary>
/// The binding source is updated whenever the binding target element loses focus.
/// </summary>
[NotImplemented]
LostFocus = 3,
}
Default = 0,

/// <summary>
/// The binding source is updated whenever the binding target value changes. This is detected automatically by the binding system.
/// </summary>
PropertyChanged = 1,

/// <summary>
/// The binding source is updated only when you call the BindingExpression.UpdateSource method.
/// </summary>
Explicit = 2,

/// <summary>
/// The binding source is updated whenever the binding target element loses focus.
/// </summary>
LostFocus = 3,
}

Loading