13 implementations of CanExtend
System.Windows.Forms (6)
System\Windows\Forms\Design\PropertyTab.cs (1)
84public virtual bool CanExtend(object? extendee) => true;
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
675public bool CanExtend(object? extendee)
System\Windows\Forms\Help\HelpProvider.cs (1)
55public virtual bool CanExtend(object? target) => target is Control;
System\Windows\Forms\Panels\FlowLayoutPanel.cs (1)
53bool IExtenderProvider.CanExtend(object obj) => obj is Control control && control.Parent == this;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
176bool IExtenderProvider.CanExtend(object obj) =>
System\Windows\Forms\ToolTip\ToolTip.cs (1)
676public bool CanExtend(object target) => target is Control;
System.Windows.Forms.Design (5)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersExtenderProvider.cs (1)
24public bool CanExtend(object o)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersInheritedExtenderProvider.cs (1)
25public bool CanExtend(object o)
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageExtenders.cs (1)
221public bool CanExtend(object o)
System\Windows\Forms\Design\ComponentTray.cs (1)
481bool IExtenderProvider.CanExtend(object extendee)
System\Windows\Forms\Design\DesignerExtenders.NameExtenderProvider.cs (1)
49public virtual bool CanExtend(object o)
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\DesignerHostTests.cs (1)
3211public bool CanExtend(object extendee) => throw new NotImplementedException();
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
1078public bool CanExtend(object extendee) => false;
8 references to CanExtend
System.ComponentModel.TypeConverter (4)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (4)
719if (currentExtenders[curIdx].CanExtend(instance)) 737if (prov != null && prov.CanExtend(instance)) 768(curIdx >= maxCanExtendResults && currentExtenders[curIdx].CanExtend(instance))) 784(curIdx >= maxCanExtendResults && p.CanExtend(instance))))
System.Windows.Forms.Tests (4)
System\Windows\Forms\FlowLayoutPanelTests.cs (2)
220Assert.True(extenderProvider.CanExtend(extendee)); 237Assert.False(extenderProvider.CanExtend(extendee));
System\Windows\Forms\TableLayoutPanelTests.cs (2)
2119Assert.True(extenderProvider.CanExtend(extendee)); 2135Assert.False(extenderProvider.CanExtend(obj));