48 implementations of OnComponentChanging
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TypeContext.cs (1)
49public bool OnComponentChanging()
PresentationCore.Tests (3)
System\Windows\Input\Command\KeyGestureConverter.Tests.cs (1)
227public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Input\Command\MouseGestureConverter.Tests.cs (1)
215public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Input\MouseActionConverter.Tests.cs (1)
195public bool OnComponentChanging() => throw new NotImplementedException();
PresentationFramework (9)
MS\Internal\Data\DefaultValueConverter.cs (1)
793public bool OnComponentChanging() { return false; }
System\Windows\Controls\ContentPresenter.cs (1)
1150bool ITypeDescriptorContext.OnComponentChanging() { return false; }
System\Windows\Documents\DPTypeDescriptorContext.cs (1)
165bool System.ComponentModel.ITypeDescriptorContext.OnComponentChanging()
System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
79bool ITypeDescriptorContext.OnComponentChanging()
System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
43bool ITypeDescriptorContext.OnComponentChanging()
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
1228public bool OnComponentChanging()
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1488public bool OnComponentChanging()
System\Windows\Markup\TypeContext.cs (1)
49public bool OnComponentChanging()
System\Windows\TemplateContent.cs (1)
1502bool ITypeDescriptorContext.OnComponentChanging()
ReachFramework (1)
Serialization\Manager\XpsTokenContext.cs (1)
69OnComponentChanging()
System.Drawing.Common.Tests (1)
System\Drawing\Printing\MarginsConverterTests.cs (1)
153public bool OnComponentChanging() { return true; }
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1945public virtual bool OnComponentChanging()
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.TypeDescriptorContext.cs (1)
29public bool OnComponentChanging()
System\Windows\Forms\Design\CollectionEditVerbManager.cs (1)
94bool ITypeDescriptorContext.OnComponentChanging()
System\Windows\Forms\Design\EditorServiceContext.cs (1)
83bool ITypeDescriptorContext.OnComponentChanging()
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DataMemberFieldConverterTests.cs (1)
58public bool OnComponentChanging() { return true; }
System.Windows.Forms.Tests (1)
System\Windows\Forms\TreeViewImageIndexConverterTests.cs (1)
111public bool OnComponentChanging() => true;
System.Xaml (2)
System\Xaml\Context\ServiceProviderContext.cs (1)
91bool ITypeDescriptorContext.OnComponentChanging()
System\Xaml\XamlObjectReader.cs (1)
2847public bool OnComponentChanging()
System.Xaml.Tests (8)
System\Windows\Markup\NameReferenceConverterTests.cs (1)
212public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Markup\ValueSerializerTests.cs (1)
455public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
54public bool OnComponentChanging() => throw new NotImplementedException();
System\Xaml\Replacements\EventConverterTests.cs (1)
214public bool OnComponentChanging() => throw new NotImplementedException();
System\Xaml\Replacements\TypeListConverterTests.cs (1)
98public bool OnComponentChanging() => throw new NotImplementedException();
System\Xaml\Replacements\TypeTypeConverterTests.cs (1)
304public bool OnComponentChanging() => throw new NotImplementedException();
System\Xaml\Schema\XamlTypeNameTests.cs (1)
480public bool OnComponentChanging() => throw new NotImplementedException();
System\Xaml\Schema\XamlTypeTypeConverterTests.cs (1)
302public bool OnComponentChanging() => throw new NotImplementedException();
WindowsBase.Tests (17)
System\Windows\Converters\Int32RectValueSerializerTests.cs (1)
124public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Converters\PointValueSerializerTests.cs (1)
124public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Converters\RectValueSerializerTests.cs (1)
133public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Converters\SizeValueSerializerTests.cs (1)
133public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Converters\VectorValueSerializerTests.cs (1)
124public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\ExpressionConverterTests.cs (1)
120public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Input\KeyConverterTests.cs (1)
441public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Input\KeyValueSerializerTests.cs (1)
141public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Input\ModifierKeysConverterTests.cs (1)
315public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Input\ModifierKeysValueSerializerTests.cs (1)
136public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Int32RectConverterTests.cs (1)
185public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Media\Converters\MatrixValueSerializerTests.cs (1)
124public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\Media\MatrixConverterTests.cs (1)
185public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\PointConverterTests.cs (1)
185public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\RectConverterTests.cs (1)
195public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\SizeConverterTests.cs (1)
195public bool OnComponentChanging() => throw new NotImplementedException();
System\Windows\VectorConverterTests.cs (1)
185public bool OnComponentChanging() => throw new NotImplementedException();
23 references to OnComponentChanging
PresentationFramework (1)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
1231return _baseContext.OnComponentChanging();
System.Windows.Forms.Design (5)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
100canChange = Context.OnComponentChanging();
System\ComponentModel\Design\CollectionEditor.cs (1)
370Context.OnComponentChanging();
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (3)
1094_owner.Context?.OnComponentChanging(); 1168_owner.Context?.OnComponentChanging(); 1203_owner.Context?.OnComponentChanging();
System.Windows.Forms.Design.Tests (17)
System\ComponentModel\Design\CollectionFormTests.cs (15)
131.Setup(c => c.OnComponentChanging()) 150mockContext.Verify(c => c.OnComponentChanging(), Times.Once()); 158mockContext.Verify(c => c.OnComponentChanging(), Times.Exactly(2)); 187.Setup(c => c.OnComponentChanging()) 209mockContext.Verify(c => c.OnComponentChanging(), Times.Once()); 217mockContext.Verify(c => c.OnComponentChanging(), Times.Exactly(2)); 246.Setup(c => c.OnComponentChanging()) 268mockContext.Verify(c => c.OnComponentChanging(), Times.Once()); 276mockContext.Verify(c => c.OnComponentChanging(), Times.Exactly(2)); 305.Setup(c => c.OnComponentChanging()) 327mockContext.Verify(c => c.OnComponentChanging(), Times.Once()); 335mockContext.Verify(c => c.OnComponentChanging(), Times.Exactly(2)); 365.Setup(c => c.OnComponentChanging()) 418.Setup(c => c.OnComponentChanging()) 443mockContext.Verify(c => c.OnComponentChanging(), Times.Once());
System\Windows\Forms\Design\EditorServiceContextTests.cs (2)
129bool result = ((ITypeDescriptorContext)context).OnComponentChanging(); 147bool result = ((ITypeDescriptorContext)context).OnComponentChanging();