diff options
Diffstat (limited to 'mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs')
-rw-r--r-- | mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs index 2ff57ed5aa0..2edaa99d010 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs @@ -212,6 +212,9 @@ namespace System.Windows.Forms image_index = value; image_key = String.Empty; + + if (owner != null) + owner.header_control.Invalidate (); } } @@ -228,6 +231,9 @@ namespace System.Windows.Forms set { image_key = value == null ? String.Empty : value; image_index = -1; + + if (owner != null) + owner.header_control.Invalidate (); } } |