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