9 references to s_dataContextProperty
System.Windows.Forms (9)
System\Windows\Forms\Control.cs (9)
734get => Properties.TryGetValue(s_dataContextProperty, out object? value) 746if (Properties.ContainsKey(s_dataContextProperty) && Equals(ParentInternal?.DataContext, value)) 748Properties.RemoveValue(s_dataContextProperty); 753Properties.AddValue(s_dataContextProperty, value); 759=> Properties.ContainsKey(s_dataContextProperty); 762=> Properties.RemoveValue(s_dataContextProperty); 6937if (Properties.ContainsKey(s_dataContextProperty)) 6939if (Equals(Properties.GetValueOrDefault<object>(s_dataContextProperty), Parent?.DataContext)) 6942Properties.RemoveValue(s_dataContextProperty);