+2006-12-26 Jonathan Pobst <monkey@jpobst.com>
+
+ * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
+ * ToolStripStatusLabel.cs: Add Spring for Moma.
+
2006-12-26 Gert Driesen <drieseng@users.sourceforge.net>
* DataGridView.cs: Fixed several NullReferenceException in On* methods.
{
private CheckState checked_state;
private bool check_on_click;
+ private string shortcut_display_string;
private Keys shortcut_keys = Keys.None;
+ private bool show_shortcut_keys = true;
#region Public Constructors
public ToolStripMenuItem ()
get { return base.Enabled; }
set { base.Enabled = value; }
}
+
+ [MonoTODO ("Renderer doesn't support shortcut keys yet, they will never show.")]
+ [Localizable (true)]
+ public bool ShowShortcutKeys {
+ get { return this.show_shortcut_keys; }
+ set { this.show_shortcut_keys = value; }
+ }
+
+ [MonoTODO ("Keyboard navigation not implemented.")]
+ [Localizable (true)]
+ public string ShortcutKeyDisplayString {
+ get { return this.shortcut_display_string; }
+ set { this.shortcut_display_string = value; }
+ }
[MonoTODO ("Keyboard navigation not implemented.")]
[Localizable (true)]
using System.Drawing;
using System.ComponentModel;
using System.Runtime.InteropServices;
+using System.Windows.Forms.Design;
namespace System.Windows.Forms
{
+ [ToolStripItemDesignerAvailability (ToolStripItemDesignerAvailability.StatusStrip)]
public class ToolStripStatusLabel : ToolStripLabel
{
private ToolStripStatusLabelBorderSides border_sides;
private Border3DStyle border_style;
+ private bool spring;
#region Public Constructors
public ToolStripStatusLabel ()
#endregion
#region Public Properties
+ [Browsable (false)]
+ [EditorBrowsable (EditorBrowsableState.Never)]
public new ToolStripItemAlignment Alignment {
get { return base.Alignment; }
set { base.Alignment = value; }
}
+ [DefaultValue (ToolStripStatusLabelBorderSides.None)]
public ToolStripStatusLabelBorderSides BorderSides {
get { return this.border_sides; }
set { this.border_sides = value; }
}
+ [DefaultValue (Border3DStyle.Flat)]
public Border3DStyle BorderStyle {
get { return this.border_style; }
set { this.border_style = value; }
}
+
+ [MonoTODO ("Stub, doesn't affect sizing yet")]
+ [DefaultValue (false)]
+ public bool Spring {
+ get { return this.spring; }
+ set { this.spring = value; }
+ }
#endregion
#region Protected Properties