Added code to minimize and resize ribbon

This commit is contained in:
Rich
2009-05-19 19:50:12 +00:00
parent 51c044791c
commit 291f354893
3 changed files with 27 additions and 0 deletions

View File

@@ -90,6 +90,16 @@ namespace Volian.Controls.Library
public StepTabRibbon()
{
InitializeComponent();
_RibbonControl.SizeChanged += new EventHandler(_RibbonControl_SizeChanged);
}
void _RibbonControl_SizeChanged(object sender, EventArgs e)
{
this.Size = _RibbonControl.Size;
}
public bool Expanded
{
get { return _RibbonControl.Expanded; }
set { _RibbonControl.Expanded = value; }
}
#endregion
#region Events