Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavindra <ravindra@mono-cvs.ximian.com>2004-11-17 14:20:22 +0300
committerRavindra <ravindra@mono-cvs.ximian.com>2004-11-17 14:20:22 +0300
commit6680c1bb12e5515c6eb69f8e796df3cc4679fdff (patch)
tree18c0d88b1154bb2bbdd85b9cbefa12cbdbce303c /mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
parentd93b293aea323a4bab083fc50b9014e43c17b900 (diff)
Missed in last checkin.
svn path=/trunk/mcs/; revision=36209
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.cs10
1 files changed, 8 insertions, 2 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 99dc246a2eb..6ece20d2b3d 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
@@ -57,13 +57,15 @@ namespace System.Windows.Forms
public class ColumnHeader : Component, ICloneable
{
#region Instance Variables
- internal ListView owner;
private StringFormat format;
private string text = "ColumnHeader";
private HorizontalAlignment text_alignment = HorizontalAlignment.Left;
private int width = ThemeEngine.Current.ListViewDefaultColumnWidth;
- // column area
+
+ // internal variables
internal Rectangle column_rect = Rectangle.Empty;
+ internal bool pressed = false;
+ internal ListView owner;
#endregion // Instance Variables
#region Internal Constructor
@@ -86,6 +88,10 @@ namespace System.Windows.Forms
// Since this class inherits from MarshalByRef,
// we can't do ColumnHeader.column_rect.XXX. Hence,
// we have some of the following properties to work around CS0197.
+ internal bool Pressed {
+ get { return this.pressed; }
+ }
+
internal int X {
get { return this.column_rect.X; }
set { this.column_rect.X = value; }