previewdisplaybinding.cs

来自「SharpDevelop2.0.0 c#开发免费工具」· CS 代码 · 共 34 行

CS
34
字号
/*
 * Created by SharpDevelop.
 * User: Daniel Grunwald
 * Date: 19.10.2005
 * Time: 17:02
 */

using System;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Gui;

namespace HtmlPreview
{
	/// <summary>
	/// Description of PreviewDisplayBinding.
	/// </summary>
	public class PreviewDisplayBinding : ISecondaryDisplayBinding
	{
		public bool ReattachWhenParserServiceIsReady {
			get {
				return false;
			}
		}
		
		public bool CanAttachTo(IViewContent content) {
			return true;
		}
		
		public ISecondaryViewContent[] CreateSecondaryViewContent(IViewContent viewContent) {
			return new ISecondaryViewContent[] { new PreviewViewContent() };
		}
	}
}

⌨️ 快捷键说明

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