2 writes to SelectedGridEntry
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
1433gridView.SelectedGridEntry = (GridEntry)value;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
2444GridEntryHost.SelectedGridEntry = this;
30 references to SelectedGridEntry
System.Windows.Forms (30)
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
1426GridItem g = gridView.SelectedGridEntry; 2757PropertyDescriptorGridEntry selectedEntry = gridView.SelectedGridEntry as PropertyDescriptorGridEntry;
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (2)
255_owningPropertyGrid.SelectedGridEntry != null && 257return _owningPropertyGrid.SelectedGridEntry?.AccessibilityObject;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (5)
1084if (_owningPropertyDescriptorGridEntry == propertyGridView.SelectedGridEntry) { 1085if (propertyGridView.SelectedGridEntry.Enumerable) { 1106if (_owningPropertyDescriptorGridEntry == propertyGridView.SelectedGridEntry) { 1107if (propertyGridView.SelectedGridEntry.Enumerable && propertyGridView.DropDownButton.Visible) { 1167if (_owningPropertyDescriptorGridEntry == propertyGridView.SelectedGridEntry && propertyGridView.DropDownVisible) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (21)
5736Type createType = gridView.SelectedGridEntry.PropertyType; 5741object newValue = ice.CreateInstance(gridView.SelectedGridEntry, createType); 5939if (gridView.UnfocusSelection() && gridView.SelectedGridEntry != null) { 5940gridView.SelectedGridEntry.OnValueReturnKey(); 5956InstanceCreationEditor editor = (ctl == null ? null : GetInstanceCreationEditor(gridView.SelectedGridEntry as PropertyDescriptorGridEntry)); 6460return _owningPropertyGridView.SelectedGridEntry.AccessibilityObject; 6720if (psheet.SelectedGridEntry != null && 6721ClientRectangle.Width <= psheet.SelectedGridEntry.GetValueTextWidth(this.Text, g, this.Font)) { 6780if (psheet.SelectedGridEntry != null && !psheet.SelectedGridEntry.Enumerable && !psheet.SelectedGridEntry.IsTextEditable && psheet.SelectedGridEntry.CanResetPropertyValue()) { 6781object oldValue = psheet.SelectedGridEntry.PropertyValue; 6782psheet.SelectedGridEntry.ResetPropertyValue(); 6784psheet.ownerGrid.OnPropertyValueSet(psheet.SelectedGridEntry, oldValue); 6808psheet.SelectedGridEntry.OnValueReturnKey(); 6966return propertyGridView.SelectedGridEntry.AccessibilityObject; 7029var selectedGridEntry = propertyGridView.SelectedGridEntry; 7048PropertyDescriptorGridEntry propertyDescriptorGridEntry = this.propertyGridView.SelectedGridEntry as PropertyDescriptorGridEntry; 7708GridEntry gridEntry = ((PropertyGridView)Owner).SelectedGridEntry; 7720GridEntry gridEntry = ((PropertyGridView)Owner).SelectedGridEntry;