46 types derived from Component
System.CodeDom (1)
System\CodeDom\Compiler\CodeDomProvider.cs (1)
14public abstract class CodeDomProvider : Component
System.ComponentModel.EventBasedAsync (1)
System\ComponentModel\BackgroundWorker.cs (1)
11public class BackgroundWorker : Component
System.ComponentModel.TypeConverter (1)
System\Timers\Timer.cs (1)
15public partial class Timer : Component, ISupportInitialize
System.Data.Common (4)
System\Data\Common\DataAdapter.cs (1)
13public class DataAdapter : Component, IDataAdapter
System\Data\Common\DbCommand.cs (1)
11public abstract class DbCommand : Component, IDbCommand, IAsyncDisposable
System\Data\Common\DBCommandBuilder.cs (1)
13public abstract class DbCommandBuilder : Component
System\Data\Common\DbConnection.cs (1)
11public abstract class DbConnection : Component, IDbConnection, IAsyncDisposable
System.Diagnostics.EventLog (2)
System\Diagnostics\EventLog.cs (1)
23public class EventLog : Component, ISupportInitialize
System\Diagnostics\EventLogEntry.cs (1)
18public sealed class EventLogEntry : Component, ISerializable
System.Diagnostics.PerformanceCounter (1)
System\Diagnostics\PerformanceCounter.cs (1)
19public sealed class PerformanceCounter : Component, ISupportInitialize
System.Diagnostics.Process (3)
System\Diagnostics\Process.cs (1)
27public partial class Process : Component
System\Diagnostics\ProcessModule.cs (1)
14public class ProcessModule : Component
System\Diagnostics\ProcessThread.cs (1)
17public partial class ProcessThread : Component
System.DirectoryServices (2)
System\DirectoryServices\DirectoryEntry.cs (1)
23public class DirectoryEntry : Component
System\DirectoryServices\DirectorySearcher.cs (1)
16public class DirectorySearcher : Component
System.Drawing.Common (1)
System\Drawing\Printing\PrintDocument.cs (1)
12public class PrintDocument : Component
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
20public partial class FileSystemWatcher : Component, ISupportInitialize
System.IO.Ports (2)
System\IO\Ports\SerialPort.cs (1)
11public partial class SerialPort : Component
System\IO\Ports\SerialPort.Unix.cs (1)
12public partial class SerialPort : Component
System.Management (3)
System\Management\ManagementBaseObject.cs (1)
179public class ManagementBaseObject : Component, ICloneable, ISerializable
System\Management\ManagementEventWatcher.cs (1)
113public class ManagementEventWatcher : Component
System\Management\ManagementObjectSearcher.cs (1)
64public class ManagementObjectSearcher : Component
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.cs (1)
13public partial class Ping : Component
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
19public class WebClient : Component
System.ServiceProcess.ServiceController (2)
System\ServiceProcess\ServiceBase.cs (1)
20public class ServiceBase : Component
System\ServiceProcess\ServiceController.cs (1)
17public class ServiceController : Component
System.Windows.Extensions (1)
System\Media\SoundPlayer.cs (1)
17public class SoundPlayer : Component, ISerializable
System.Windows.Forms (18)
System\Windows\Forms\Control.cs (1)
40Component,
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
24public sealed partial class ImageList : Component, IHandle<HIMAGELIST>
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
17public partial class ColumnHeader : Component, ICloneable
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
15public partial class ToolStripPanelRow : Component, IArrangedElement
System\Windows\Forms\Controls\Unsupported\ContextMenu\Menu.cs (1)
22public abstract partial class Menu : Component
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGridColumnStyle.cs (1)
25public abstract partial class DataGridColumnStyle : Component, IDataGridColumnStyleEditingNotificationService
System\Windows\Forms\Controls\Unsupported\DataGrid\DataGridTableStyle.cs (1)
24public class DataGridTableStyle : Component, IDataGridEditingService
System\Windows\Forms\Controls\Unsupported\StatusBar\StatusBarPanel.cs (1)
24public class StatusBarPanel : Component, ISupportInitialize
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBarButton.cs (1)
26public class ToolBarButton : Component
System\Windows\Forms\DataBinding\BindableComponent.cs (1)
12public abstract class BindableComponent : Component, IBindableComponent
System\Windows\Forms\DataBinding\BindingSource.cs (1)
17public partial class BindingSource : Component,
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
14public abstract class CommonDialog : Component
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
23public partial class ErrorProvider : Component, IExtenderProvider, ISupportInitialize
System\Windows\Forms\Help\HelpProvider.cs (1)
18public class HelpProvider : Component, IExtenderProvider
System\Windows\Forms\Layout\ArrangedElement.cs (1)
11internal abstract class ArrangedElement : Component, IArrangedElement
System\Windows\Forms\NotifyIcon.cs (1)
17public sealed partial class NotifyIcon : Component
System\Windows\Forms\Timer.cs (1)
17public class Timer : Component
System\Windows\Forms\ToolTip\ToolTip.cs (1)
17public partial class ToolTip : Component, IExtenderProvider, IHandle<HWND>
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\FolderNameEditor.FolderBrowser.cs (1)
10protected sealed class FolderBrowser : Component
69 references to Component
netstandard (1)
netstandard.cs (1)
201[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Component))]
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
187[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Component))]
System.ComponentModel.Primitives (11)
System\ComponentModel\Component.cs (6)
58/// Gets or sets the site of the <see cref='System.ComponentModel.Component'/>. 69/// Disposes of the <see cref='System.ComponentModel.Component'/>. 97/// that contains the <see cref='System.ComponentModel.Component'/>. 105/// the <see cref='System.ComponentModel.Component'/>. 110/// Gets a value indicating whether the <see cref='System.ComponentModel.Component'/> 119/// <see cref='System.ComponentModel.Component'/>, if any.
System\ComponentModel\ComponentCollection.cs (2)
13/// Gets a specific <see cref='System.ComponentModel.Component'/> in the 36/// Gets a specific <see cref='System.ComponentModel.Component'/> in the
System\ComponentModel\EventHandlerList.cs (2)
12private readonly Component? _parent; 18internal EventHandlerList(Component parent)
System\ComponentModel\ISite.cs (1)
15/// Sites bind a <see cref='System.ComponentModel.Component'/> to a
System.ComponentModel.TypeConverter (2)
src\runtime\artifacts\obj\System.ComponentModel.TypeConverter\Release\net11.0\System.ComponentModel.TypeConverter.Forwards.cs (1)
3[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Component))]
System\ComponentModel\MarshalByValueComponent.cs (1)
156/// Returns a <see cref='string'/> containing the name of the <see cref='System.ComponentModel.Component'/> , if any. This method should not be
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
1920if (DataSource is Component oldDataSource) 1925if (value is Component newDataSource)
System\Windows\Forms\DataBinding\BindableComponent.cs (2)
20/// Gets or sets the <see cref="BindingContext"/> for this bindable <see cref="Component"/>. 71/// Gets the <see cref="ControlBindingsCollection"/> for this bindable <see cref="Component"/>.
System.Windows.Forms.Design (50)
System\ComponentModel\Design\SelectionService.cs (1)
469_statusCommandUI.SetStatusInformation(_selection[0] as Component);
System\ComponentModel\Design\ToolStripContainerActionList.cs (2)
32private static object? GetProperty(Component component, string propertyName) 41private void ChangeProperty(Component component, string propertyName, object value)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (4)
79List<Component> parentControls = []; 134foreach (Component parent in parentControls) 258private readonly Component? _comp; 265public SelectToolStripMenuItem(Component c, IServiceProvider provider)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
793foreach (Component comp in host.Container.Components)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
577_statusCommandUITarget?.SetStatusInformation(selSvc is null ? _dragComponents[_primaryComponentIndex].dragComponent as Component : 578selSvc.PrimarySelection as Component);
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
39/// We also hook to <see cref="Component" /> Added/Removed/Changed notifications so we can keep in sync when the designers'
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (2)
102Component? currentSelection = selectionService.PrimarySelection as Component;
System\Windows\Forms\Design\CommandSet.cs (5)
930_statusCommandUI?.SetStatusInformation(component as Component); 1985foreach (Component comp in associatedCompsOfFailedControl) 1987if (comp == obj as Component) 2012Component? parentComp = parentCompDesigner?.Component as Component;
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (2)
53if (!manager.TryGetSerializer(typeof(Component), out CodeDomSerializer? serializer)) 152if (!manager.TryGetSerializer(typeof(Component), out CodeDomSerializer? serializer))
System\Windows\Forms\Design\DocumentDesigner.cs (2)
944Component selComp = selSvc.PrimarySelection as Component;
System\Windows\Forms\Design\ImageCollectionCodeDomSerializer.cs (1)
27if (!manager.TryGetSerializer(typeof(Component), out CodeDomSerializer? serializer))
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (2)
18private readonly Component? _ownerComponent; 24_ownerComponent = owner.Component as Component;
System\Windows\Forms\Design\StatusCommandUI.cs (2)
38public void SetStatusInformation(Component? selectedComponent, Point location) 67public void SetStatusInformation(Component? selectedComponent)
System\Windows\Forms\Design\StyleEditorForm.cs (1)
1071host.DestroyComponent(obj as Component);
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
21public TemplateNodeCustomMenuItemCollection(IServiceProvider provider, Component currentItem) : base()
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (3)
439if (Context.Instance is not Component component) 662if (listBox.Items[e.Index] is not Component item) 880Component selectedItem = null;
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (4)
271private static Control? GetAssociatedControl(Component component) 310private bool CheckAssociatedControl(Component component, Glyph childGlyph, GlyphCollection glyphs) 467Component component = (Component)selectedComponent;
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
1794Component selComp = SelectionService.PrimarySelection as Component;
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (2)
163return GetKnownToolboxBitmap(typeof(Component)); 444foreach (Component comp in originalSelComps)
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (1)
48public ToolStripItemCustomMenuItemCollection(IServiceProvider provider, Component currentItem) : base()
System\Windows\Forms\Design\ToolStripItemDesigner.cs (4)
244internal List<Component> AddParentTree() 246List<Component> parentControls = []; 253Component startComp = ToolStripItem; 489protected virtual Component GetOwnerForActionList() => (ToolStripItem.Placement == ToolStripItemPlacement.Main) ? ToolStripItem.GetCurrentParent() : ToolStripItem.Owner;
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (3)
497if (SelectionService.PrimarySelection is not Component 1080if (SelectionService.PrimarySelection is not Component primarySelection) 1108if (SelectionService.PrimarySelection is not Component primarySelection)
System\Windows\Forms\Design\ToolStripMenuItemCodeDomSerializer.cs (1)
28=> manager.GetSerializer<CodeDomSerializer>(typeof(Component))!;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
1370protected override Component GetOwnerForActionList()