|
using System;
using System.Drawing;
namespace Crom.Controls
{
/// <summary>
/// Auto-hide event args
/// </summary>
public class AutoHideEventArgs : EventArgs
{
#region Fields.
private zDockMode _selection = zDockMode.None;
#endregion Fields.
#region Instance.
/// <summary>
/// Create a new instance of <see cref="ContextMenuEventArg"/>
/// </summary>
/// <param name="selection">dock mode of the selected panel</param>
public AutoHideEventArgs (zDockMode selection)
{
_selection = selection;
}
#endregion Instance.
#region Public section.
/// <summary>
/// Getter for the dock mode of the panel for which the auto-hide state was toggled.
/// </summary>
public zDockMode Selection
{
get { return _selection; }
}
#endregion Public section.
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.