view Chronosv2/source/Presentation/Windows/IGroupable.cs @ 19:09d18d6e5f40

airport work
author stevenh7776 stevenhollidge@hotmail.com
date Thu, 15 Mar 2012 06:59:15 +0000
parents 443821e55f06
children
line wrap: on
line source

using System;

namespace Chronos.Presentation.Windows
{
    /// <summary>
    /// Common interface for items that can be grouped
    /// on the <see cref="Desktop" />; used by <see cref="DesktopItem" />
    /// </summary>
    public interface IGroupable
    {
        #region · Properties ·

        /// <summary>
        /// Gets the item id.
        /// </summary>
        /// <value>The id.</value>
        Guid Id
        {
            get;
        }

        /// <summary>
        /// Gets or sets the item parent id.
        /// </summary>
        /// <value>The parent id.</value>
        Guid ParentId
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets a value indicating whether the item is a group.
        /// </summary>
        /// <value><c>true</c> if this instance is group; otherwise, <c>false</c>.</value>
        bool IsGroup
        {
            get;
            set;
        }

        #endregion
    }
}