//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using CommunityServer.Galleries;
using CommunityServer.Galleries.Components;

namespace CommunityServer.ControlPanel.UI
{
	/// <summary>
	/// Summary description for BaseGalleryControl.
	/// </summary>
	public class BaseGalleryGridControl : BaseGridControl
	{
		public BaseGalleryGridControl()
		{
		}

		protected BaseGalleryPage GalleryPage
		{
			get {return this.PanelPage as BaseGalleryPage;}
		}

		protected Gallery CurrentGallery
		{
			get { return this.GalleryPage.CurrentGallery;}
		}

        private GalleryPostType gpt = GalleryPostType.Image;
        public virtual GalleryPostType PostType
        {
            get{return gpt;}
            set {gpt = value;}
        }
        
	}
}
