76 instantiations of DefaultEvent
PresentationFramework (16)
System\Windows\Controls\CheckBox.cs (1)
31
[
DefaultEvent
("CheckStateChanged")]
System\Windows\Controls\ContextMenu.cs (1)
28
[
DefaultEvent
("Opened")]
System\Windows\Controls\Frame.cs (1)
96
[DefaultProperty("Source"),
DefaultEvent
("Navigated")]
System\Windows\Controls\ItemsControl.cs (1)
40
[
DefaultEvent
("OnItemsChanged"), DefaultProperty("Items")]
System\Windows\Controls\ListBoxItem.cs (1)
31
[
DefaultEvent
("Selected")]
System\Windows\Controls\MenuItem.cs (1)
68
[
DefaultEvent
("Click")]
System\Windows\Controls\Primitives\ButtonBase.cs (1)
30
[
DefaultEvent
("Click")]
System\Windows\Controls\Primitives\Popup.cs (1)
51
[
DefaultEvent
("Opened"), DefaultProperty("Child")]
System\Windows\Controls\Primitives\RangeBase.cs (1)
31
[
DefaultEvent
("ValueChanged"), DefaultProperty("Value")]
System\Windows\Controls\Primitives\Selector.cs (1)
37
[
DefaultEvent
("SelectionChanged"), DefaultProperty("SelectedIndex")]
System\Windows\Controls\Primitives\Thumb.cs (1)
34
[
DefaultEvent
("DragDelta")]
System\Windows\Controls\Primitives\ToggleButton.cs (1)
30
[
DefaultEvent
("Checked")]
System\Windows\Controls\ScrollViewer.cs (1)
66
[
DefaultEvent
("ScrollChangedEvent")]
System\Windows\Controls\Slider.cs (1)
41
[
DefaultEvent
("ValueChanged"), DefaultProperty("Value")]
System\Windows\Controls\TabItem.cs (1)
30
[
DefaultEvent
("IsSelectedChanged")]
System\Windows\Controls\ToolTip.cs (1)
30
[
DefaultEvent
("Opened")]
System.ComponentModel.TypeConverter (2)
System\ComponentModel\DefaultEventAttribute.cs (1)
32
public static readonly DefaultEventAttribute Default = new
DefaultEventAttribute
(null);
System\Timers\Timer.cs (1)
14
[DefaultProperty("Interval"),
DefaultEvent
("Elapsed")]
System.Data.Common (6)
System\Data\ConstraintCollection.cs (1)
14
[
DefaultEvent
(nameof(CollectionChanged))]
System\Data\DataColumnCollection.cs (1)
17
[
DefaultEvent
(nameof(CollectionChanged))]
System\Data\DataRelationCollection.cs (1)
16
[
DefaultEvent
(nameof(CollectionChanged))]
System\Data\DataTable.cs (1)
28
[
DefaultEvent
(nameof(RowChanging))]
System\Data\DataTableCollection.cs (1)
16
[
DefaultEvent
(nameof(CollectionChanged))]
System\Data\DataView.cs (1)
21
[
DefaultEvent
("PositionChanged")]
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
83
[System.ComponentModel.
DefaultEventAttribute
("InfoMessage")]
System.Diagnostics.EventLog (1)
artifacts\obj\System.Diagnostics.EventLog\Debug\net10.0\System.Diagnostics.EventLog.notsupported.cs (1)
24
[System.ComponentModel.
DefaultEventAttribute
("EntryWritten")]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
2960
[System.ComponentModel.
DefaultEventAttribute
("PrintPage")]
System.Windows.Forms (45)
System\Windows\Forms\ActiveX\AxHost.cs (1)
24
[
DefaultEvent
(nameof(Enter))]
System\Windows\Forms\ContextMenuStrip.cs (1)
13
[
DefaultEvent
(nameof(Opening))]
System\Windows\Forms\Control.cs (1)
34
[
DefaultEvent
(nameof(Click))]
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
17
[
DefaultEvent
(nameof(CheckedChanged))]
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
17
[
DefaultEvent
(nameof(CheckedChanged))]
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
21
[
DefaultEvent
(nameof(SelectedIndexChanged))]
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
12
[
DefaultEvent
(nameof(CellContentClick))]
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
19
[
DefaultEvent
(nameof(ValueChanged))]
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
15
[
DefaultEvent
(nameof(Enter))]
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
17
[
DefaultEvent
(nameof(LinkClicked))]
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
21
[
DefaultEvent
(nameof(SelectedIndexChanged))]
System\Windows\Forms\Controls\ListView\ListView.cs (1)
29
[
DefaultEvent
(nameof(SelectedIndexChanged))]
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
56
[
DefaultEvent
(nameof(DateChanged))]
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
16
[
DefaultEvent
(nameof(SplitterMoved))]
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
19
[
DefaultEvent
(nameof(SelectedIndexChanged))]
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
18
[
DefaultEvent
("Click")]
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
20
[
DefaultEvent
(nameof(MaskInputRejected))]
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
21
[
DefaultEvent
(nameof(TextChanged))]
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
24
[
DefaultEvent
(nameof(ItemClicked))]
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
11
[
DefaultEvent
(nameof(Load))]
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
18
[
DefaultEvent
(nameof(Click))]
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
12
[
DefaultEvent
(nameof(ButtonClick))]
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
21
[
DefaultEvent
(nameof(Scroll))]
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
23
[
DefaultEvent
(nameof(AfterSelect))]
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
17
[
DefaultEvent
(nameof(SelectedItemChanged))]
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
14
[
DefaultEvent
(nameof(ValueChanged))]
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
20
[
DefaultEvent
(nameof(DocumentCompleted))]
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
30
[
DefaultEvent
(nameof(Enter))]
System\Windows\Forms\DataBinding\BindingContext.cs (1)
13
[
DefaultEvent
(nameof(CollectionChanged))]
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
11
[
DefaultEvent
(nameof(RefreshItems))]
System\Windows\Forms\DataBinding\BindingsCollection.cs (1)
12
[
DefaultEvent
(nameof(CollectionChanged))]
System\Windows\Forms\DataBinding\BindingSource.cs (1)
13
[
DefaultEvent
(nameof(CurrentChanged))]
System\Windows\Forms\DataBinding\ControlBindingsCollection.cs (1)
12
[
DefaultEvent
(nameof(CollectionChanged))]
System\Windows\Forms\DataBinding\ListManagerBindingsCollection.cs (1)
12
[
DefaultEvent
(nameof(CollectionChanged))]
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
15
[
DefaultEvent
(nameof(FileOk))]
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (1)
17
[
DefaultEvent
(nameof(HelpRequest))]
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (1)
15
[
DefaultEvent
(nameof(Apply))]
System\Windows\Forms\Form.cs (1)
25
[
DefaultEvent
(nameof(Load))]
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
19
[
DefaultEvent
(nameof(SplitterMoved))]
System\Windows\Forms\NotifyIcon.cs (1)
13
[
DefaultEvent
(nameof(MouseDoubleClick))]
System\Windows\Forms\Panels\Panel.cs (1)
15
[
DefaultEvent
(nameof(Paint))]
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
15
[
DefaultEvent
(nameof(Scroll))]
System\Windows\Forms\Timer.cs (1)
14
[
DefaultEvent
(nameof(Tick))]
System\Windows\Forms\ToolTip\ToolTip.cs (1)
14
[
DefaultEvent
(nameof(Popup))]
System\Windows\Forms\UserControl.cs (1)
18
[
DefaultEvent
(nameof(Load))]
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ComponentDesignerTests.cs (1)
3035
[
DefaultEvent
(nameof(Event))]
System.Windows.Forms.Tests (1)
System\Windows\Forms\Design\EventsTabTests.cs (1)
175
[
DefaultEvent
(nameof(ClassWithDefaultEvent.Event))]
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
42
[
DefaultEvent
("ChildChanged")]
System\Windows\Integration\WindowsFormsHost.cs (1)
36
[
DefaultEvent
("ChildChanged")]
11 references to DefaultEvent
netstandard (1)
netstandard.cs (1)
219
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
DefaultEventAttribute
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
205
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
DefaultEventAttribute
))]
System.ComponentModel.TypeConverter (7)
System\ComponentModel\DefaultEventAttribute.cs (4)
15
/// Initializes a new instance of the <see cref='System.ComponentModel.
DefaultEventAttribute
'/> class.
28
/// Specifies the default value for the <see cref='System.ComponentModel.
DefaultEventAttribute
'/>, which is
32
public static readonly
DefaultEventAttribute
Default = new DefaultEventAttribute(null);
36
return (obj is
DefaultEventAttribute
other) && other.Name == Name;
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (3)
262
DefaultEventAttribute
? attr = (
DefaultEventAttribute
?)attributes[typeof(
DefaultEventAttribute
)];
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\DesignerAttributeTests.cs (2)
130
[MemberData(nameof(GetAttributeWithType_TestData), AssemblyRef_SystemWinforms, typeof(
DefaultEventAttribute
))]
131
public void DesignerAttributes_DefaultEventAttribute_EventExists(Type type,
DefaultEventAttribute
attribute)