Skip to content

Commit dc4314e

Browse files
authored
Fixed the issue where edit textBox loses focus when using up/down to switch property values ​​on edit textBox (#12431)
* Fix editor text box focus issue when switching value property grid view * Override function SelectInternal in file PropertyGridView.GridViewTextBox.cs * Removing fullRefresh condition from function Refresh
1 parent 7896a6e commit dc4314e

File tree

1 file changed

+1
-1
lines changed
  • src/System.Windows.Forms/src/System/Windows/Forms/Controls/PropertyGrid/PropertyGridInternal

1 file changed

+1
-1
lines changed

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
@@ -3992,7 +3992,7 @@ private void Refresh(bool fullRefresh, int startRow, int endRow)
39923992
startRow = 0;
39933993
}
39943994

3995-
if (fullRefresh || OwnerGrid.HavePropertyEntriesChanged())
3995+
if (OwnerGrid.HavePropertyEntriesChanged())
39963996
{
39973997
if (HasEntries && !InPropertySet && !CommitEditTextBox())
39983998
{

0 commit comments

Comments
 (0)