|
using System;
using System.Collections.Generic;
using System.Text;
namespace IP.Components
{
/// <summary>
/// Identifies an <see cref="Toolbox.Item"/> or a <see cref="Toolbox.Tab"/> object withing <see cref="Toolbox"/> class.
/// </summary>
public interface IToolboxObject
{
/// <summary>
/// Gets or sets the text to display for the <see cref="IToolboxObject"/>.
/// </summary>
string Text { get; set; }
/// <summary>
/// Indicates whether the <see cref="IToolboxObject"/> is selected on the <see cref="Toolbox"/>.
/// </summary>
bool Selected { get; }
/// <summary>
/// Indicates whether the <see cref="IToolboxObject"/> is visible on the <see cref="Toolbox"/>.
/// </summary>
bool Visible { get; }
/// <summary>
/// Ensures that the <see cref="IToolboxObject"/> is visible within the <see cref="Toolbox"/>, scrolling the contents of the <see cref="Toolbox"/> if necessary.
/// </summary>
void EnsureVisible();
/// <summary>
/// Selects the <see cref="IToolboxObject"/> on the <see cref="Toolbox"/>.
/// </summary>
void Select();
/// <summary>
/// Gets the <see cref="ITab">owner</see> of the object.
/// </summary>
ITab Owner { get; }
}
}
|
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 article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.