* TreeView.cs: Don't draw the selected node when we lose
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / CategoryGridEntry.cs
1 using System;
2 using System.Drawing;
3
4 namespace System.Windows.Forms.PropertyGridInternal
5 {
6         /// <summary>
7         /// Summary description for CategoryGridEntry.
8         /// </summary>
9         internal class CategoryGridEntry : GridEntry
10         {
11                 private string label;
12                 public CategoryGridEntry(string category)
13                 {
14                         label = category;
15                 }
16
17                 public override GridItemType GridItemType {
18                         get {
19                                 return GridItemType.Category;
20                         }
21                 }
22
23
24                 public override string Label {
25                         get {
26                                 return label;
27                         }
28                 }
29         }
30 }