view Chronosv2/source/Presentation/Windows/IGroupable.cs @ 25:81f9b72a44ce

Tidy up
author adminsh@apollo
date Tue, 20 Mar 2012 21:22:00 +0000
parents 09d18d6e5f40
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
    }
}