Skip to content

Commit 63ded57

Browse files
committed
Fixed the issue where edit textBox loses focus when using up/down to switch property values ​​on edit textBox (dotnet#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 7328631 commit 63ded57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/System.Windows.Forms/src/System/Windows/Forms/Controls/PropertyGrid/PropertyGridInternal

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
@@ -3998,7 +3998,7 @@ private void Refresh(bool fullRefresh, int startRow, int endRow)
39983998
startRow = 0;
39993999
}
40004000

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

0 commit comments

Comments
 (0)