/// <summary>Helper for setting <see cref="OneWayToSourceBindingsProperty"/> on <paramref name="element"/>.</summary> /// <param name="element"><see cref="UIElement"/> to set <see cref="OneWayToSourceBindingsProperty"/> on.</param> /// <param name="value">OneWayToSourceBindings property value.</param> public static void SetOneWayToSourceBindings(this UIElement element, OneWayToSourceBindings value) { if (element is null) { throw new System.ArgumentNullException(nameof(element)); } element.SetValue(OneWayToSourceBindingsProperty, value); }
public static void SetOneWayToSourceBindings(this UIElement element, OneWayToSourceBindings value) { element.SetValue(OneWayToSourceBindingsProperty, value); }