Inheritance: System.Windows.FrameworkElement
Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
 public static void SetOneWayToSourceBindings(this UIElement element, OneWayToSourceBindings value)
 {
     element.SetValue(OneWayToSourceBindingsProperty, value);
 }
Ejemplo n.º 3
0
 public static void SetOneWayToSourceBindings(this UIElement element, OneWayToSourceBindings value)
 {
     element.SetValue(OneWayToSourceBindingsProperty, value);
 }