basegallerygridcontrol.cs

来自「community server 源码」· CS 代码 · 共 40 行

CS
40
字号
//------------------------------------------------------------------------------
// <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;}
        }
        
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?