aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Border.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/Border.cs')
-rw-r--r--src/GraphicObjects/Border.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/GraphicObjects/Border.cs b/src/GraphicObjects/Border.cs
index 6ac97d7f..a7c039c3 100644
--- a/src/GraphicObjects/Border.cs
+++ b/src/GraphicObjects/Border.cs
@@ -31,12 +31,18 @@ using System.Diagnostics;
namespace Crow
{
+ /// <summary>
+ /// provide an easy way to get 3d border for buttons
+ /// </summary>
public enum BorderStyle {
Normal,
Raised,
Sunken
};
+ /// <summary>
+ /// simple container with border
+ /// </summary>
public class Border : Container
{
#region CTOR
@@ -52,6 +58,9 @@ namespace Crow
#endregion
#region public properties
+ /// <summary>
+ /// use to define the colors of the 3d border
+ /// </summary>
[XmlAttributeAttribute]
public virtual Fill RaisedColor {
get { return raisedColor; }
@@ -63,6 +72,9 @@ namespace Crow
RegisterForRedraw ();
}
}
+ /// <summary>
+ /// use to define the colors of the 3d border
+ /// </summary>
[XmlAttributeAttribute]
public virtual Fill SunkenColor {
get { return sunkenColor; }
@@ -74,6 +86,9 @@ namespace Crow
RegisterForRedraw ();
}
}
+ /// <summary>
+ /// border width in pixels
+ /// </summary>
[XmlAttributeAttribute()][DefaultValue(1)]
public virtual int BorderWidth {
get { return _borderWidth; }
@@ -82,6 +97,9 @@ namespace Crow
RegisterForGraphicUpdate ();
}
}
+ /// <summary>
+ /// allow 3d border effects
+ /// </summary>
[XmlAttributeAttribute][DefaultValue(BorderStyle.Normal)]
public virtual BorderStyle BorderStyle {
get { return _borderStyle; }