81 instantiations of DefaultProperty
PresentationFramework (8)
System\Windows\Controls\ContentControl.cs (1)
32[DefaultProperty("Content")]
System\Windows\Controls\Frame.cs (1)
96[DefaultProperty("Source"), DefaultEvent("Navigated")]
System\Windows\Controls\HeaderedItemsControl.cs (1)
28[DefaultProperty("Header")]
System\Windows\Controls\ItemsControl.cs (1)
40[DefaultEvent("OnItemsChanged"), DefaultProperty("Items")]
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\Slider.cs (1)
41[DefaultEvent("ValueChanged"), DefaultProperty("Value")]
System.ComponentModel.TypeConverter (2)
System\ComponentModel\DefaultPropertyAttribute.cs (1)
32public static readonly DefaultPropertyAttribute Default = new DefaultPropertyAttribute(null);
System\Timers\Timer.cs (1)
14[DefaultProperty("Interval"), DefaultEvent("Elapsed")]
System.Data.Common (9)
System\Data\Constraint.cs (1)
13[DefaultProperty(nameof(ConstraintName))]
System\Data\DataColumn.cs (1)
26[DefaultProperty(nameof(ColumnName))]
System\Data\DataRelation.cs (1)
32[DefaultProperty(nameof(RelationName))]
System\Data\DataRelationCollection.cs (1)
17[DefaultProperty("Table")]
System\Data\DataSet.cs (1)
27[DefaultProperty(nameof(DataSetName))]
System\Data\DataTable.cs (1)
27[DefaultProperty(nameof(TableName))]
System\Data\DataView.cs (1)
20[DefaultProperty(nameof(Table))]
System\Data\ForeignKeyConstraint.cs (1)
15[DefaultProperty(nameof(ConstraintName))]
System\Data\UniqueConstraint.cs (1)
13[DefaultProperty("ConstraintName")]
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
128[System.ComponentModel.DefaultPropertyAttribute("Provider")]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
2961[System.ComponentModel.DefaultPropertyAttribute("DocumentName")]
System.Windows.Forms (50)
System\Windows\Forms\Control.cs (1)
33[DefaultProperty(nameof(Text))]
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
16[DefaultProperty(nameof(Checked))]
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
16[DefaultProperty(nameof(Checked))]
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
22[DefaultProperty(nameof(Items))]
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
18[DefaultProperty(nameof(Value))]
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
16[DefaultProperty(nameof(Text))]
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
19[DefaultProperty(nameof(Images))]
System\Windows\Forms\Controls\Labels\Label.cs (1)
21[DefaultProperty(nameof(Text))]
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
22[DefaultProperty(nameof(Items))]
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
13[DefaultProperty(nameof(Text))]
System\Windows\Forms\Controls\ListView\ListView.cs (1)
28[DefaultProperty(nameof(Items))]
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
15[DefaultProperty(nameof(Header))]
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
19[DefaultProperty(nameof(Text))]
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (1)
15[DefaultProperty(nameof(Text))]
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
55[DefaultProperty(nameof(SelectionRange))]
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
18[DefaultProperty(nameof(Image))]
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
14[DefaultProperty(nameof(Value))]
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
17[DefaultProperty(nameof(Dock))]
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
18[DefaultProperty(nameof(TabPages))]
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
19[DefaultProperty("Text")]
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
22[DefaultProperty(nameof(Mask))]
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
22[DefaultProperty(nameof(Items))]
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
12[DefaultProperty(nameof(Items))]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (1)
16[DefaultProperty(nameof(DropDownItems))]
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
20[DefaultProperty(nameof(Text))]
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
9[DefaultProperty(nameof(Value))]
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
20[DefaultProperty(nameof(Value))]
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
20[DefaultProperty(nameof(Text))]
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
22[DefaultProperty(nameof(Nodes))]
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
16[DefaultProperty(nameof(Items))]
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
13[DefaultProperty(nameof(Value))]
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
19[DefaultProperty(nameof(Url))]
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
29[DefaultProperty(nameof(Name))]
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
10[DefaultProperty(nameof(BindingSource))]
System\Windows\Forms\DataBinding\BindingSource.cs (1)
12[DefaultProperty(nameof(DataSource))]
System\Windows\Forms\Dialogs\CommonDialogs\ColorDialog.cs (1)
15[DefaultProperty(nameof(Color))]
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
16[DefaultProperty(nameof(FileName))]
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (1)
18[DefaultProperty(nameof(SelectedPath))]
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (1)
16[DefaultProperty(nameof(Font))]
System\Windows\Forms\NotifyIcon.cs (1)
12[DefaultProperty(nameof(Text))]
System\Windows\Forms\Panels\FlowLayoutPanel.cs (1)
10[DefaultProperty(nameof(FlowDirection))]
System\Windows\Forms\Panels\FlowLayoutSettings.cs (1)
9[DefaultProperty(nameof(FlowDirection))]
System\Windows\Forms\Panels\Panel.cs (1)
14[DefaultProperty(nameof(BorderStyle))]
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
16[DefaultProperty(nameof(ColumnCount))]
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
15[DefaultProperty(nameof(Document))]
System\Windows\Forms\Printing\PrintDialog.cs (1)
14[DefaultProperty(nameof(Document))]
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
16[DefaultProperty(nameof(Document))]
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
15[DefaultProperty(nameof(Document))]
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
14[DefaultProperty(nameof(Value))]
System\Windows\Forms\Timer.cs (1)
13[DefaultProperty(nameof(Interval))]
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\ArrayEditorTests.cs (3)
296[DefaultProperty(nameof(DefaultProperty))] 304[DefaultProperty(nameof(DefaultProperty))] 312[DefaultProperty("NoSuchProperty")]
System\ComponentModel\Design\CollectionEditorTests.cs (3)
1122[DefaultProperty(nameof(DefaultProperty))] 1130[DefaultProperty(nameof(DefaultProperty))] 1138[DefaultProperty("NoSuchProperty")]
System\ComponentModel\Design\ComponentDesignerTests.cs (2)
3023[DefaultProperty(nameof(Value))] 3029[DefaultProperty(nameof(Value))]
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\PropertyTabTests.cs (1)
209[DefaultProperty(nameof(ClassWithDefaultProperty.Value))]
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (1)
212[DefaultProperty(nameof(ClassWithDefaultProperty.Value))]
11 references to DefaultProperty
netstandard (1)
netstandard.cs (1)
220[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DefaultPropertyAttribute))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
206[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DefaultPropertyAttribute))]
System.ComponentModel.TypeConverter (7)
System\ComponentModel\DefaultPropertyAttribute.cs (4)
15/// Initializes a new instance of the <see cref='System.ComponentModel.DefaultPropertyAttribute'/> class. 29/// Specifies the default value for the <see cref='System.ComponentModel.DefaultPropertyAttribute'/>, which is <see langword='null'/>. This 32public static readonly DefaultPropertyAttribute Default = new DefaultPropertyAttribute(null); 36return (obj is DefaultPropertyAttribute other) && other.Name == Name;
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (3)
295DefaultPropertyAttribute? attr = (DefaultPropertyAttribute?)attributes[typeof(DefaultPropertyAttribute)];
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\DesignerAttributeTests.cs (2)
110[MemberData(nameof(GetAttributeWithType_TestData), AssemblyRef_SystemWinforms, typeof(DefaultPropertyAttribute))] 111public void DesignerAttributes_DefaultPropertyAttribute_PropertyExists(Type type, DefaultPropertyAttribute attribute)