aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Menu.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2017-01-27 00:21:48 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2017-01-27 00:21:48 +0100
commit8a25a19ee73e8b7c0c9726bbb2ce4ec918f4e905 (patch)
tree8098ec3d8137c0dcc569db78fbdb4d6921187e28 /src/GraphicObjects/Menu.cs
parenta519d07929a490ac9bfade86355865744787f311 (diff)
icon menuitem, PopWidth and PopHeight, commands
Diffstat (limited to 'src/GraphicObjects/Menu.cs')
-rw-r--r--src/GraphicObjects/Menu.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GraphicObjects/Menu.cs b/src/GraphicObjects/Menu.cs
index 1a7a3f95..66d23194 100644
--- a/src/GraphicObjects/Menu.cs
+++ b/src/GraphicObjects/Menu.cs
@@ -31,8 +31,10 @@ namespace Crow
#endregion
Orientation orientation;
+ bool autoOpen = false;
- [XmlAttributeAttribute()][DefaultValue(Orientation.Horizontal)]
+ #region Public properties
+ [XmlAttributeAttribute][DefaultValue(Orientation.Horizontal)]
public Orientation Orientation {
get { return orientation; }
set {
@@ -42,12 +44,12 @@ namespace Crow
NotifyValueChanged ("Orientation", orientation);
}
}
- bool autoOpen = false;
[XmlIgnore]public bool AutomaticOpenning
{
get { return autoOpen; }
set { autoOpen = value; }
}
+ #endregion
public override void AddItem (GraphicObject g)
{