Skip to content

Commit 7b9e0f2

Browse files
committed
Removing fullRefresh condition from function Refresh
1 parent d3cfc72 commit 7b9e0f2

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/System.Windows.Forms/src/System/Windows/Forms/Controls/PropertyGrid/PropertyGridInternal/PropertyGridView.GridViewTextBox.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -306,15 +306,6 @@ private unsafe bool WmNotify(ref Message m)
306306
return false;
307307
}
308308

309-
private protected override void SelectInternal(int start, int length, int textLen)
310-
{
311-
base.SelectInternal(start, length, textLen);
312-
if (IsAccessibilityObjectCreated)
313-
{
314-
AccessibilityObject.RaiseAutomationEvent(UIA_EVENT_ID.UIA_AutomationFocusChangedEventId);
315-
}
316-
}
317-
318309
protected override void WndProc(ref Message m)
319310
{
320311
if (_filter && PropertyGridView.FilterEditWndProc(ref m))

src/System.Windows.Forms/src/System/Windows/Forms/Controls/PropertyGrid/PropertyGridInternal/PropertyGridView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3997,7 +3997,7 @@ private void Refresh(bool fullRefresh, int startRow, int endRow)
39973997
startRow = 0;
39983998
}
39993999

4000-
if (fullRefresh || OwnerGrid.HavePropertyEntriesChanged())
4000+
if (OwnerGrid.HavePropertyEntriesChanged())
40014001
{
40024002
if (HasEntries && !InPropertySet && !CommitEditTextBox())
40034003
{

0 commit comments

Comments
 (0)