示例#1
0
		internal static void ForceRender(Position pos)
		{
			// Position doesn't have a render as there is no actual control 
			// we're interfacing with, it's just a front-end to the jQuery initialisation
			pos.Render();
		}
示例#2
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="pos">Position plugin to define options of.</param>
		public Options(Position pos)
		 : base()
		{
			this.Position = pos;
			this.Reset();
		}
示例#3
0
		internal static Position SetupSimplePositionObject(TextWriter writer) 
		{
			// nothing special, just create a simple dummy tab helper as a starting point 
			// (saves having the same code everywhere!)
			Position ts = new Position(writer, "myPosition");

			return ts;
		}
示例#4
0
文件: Rendering.cs 项目: xuanvu/Fluqi
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="pos">Position object to configure the rendering options of</param>
		public Rendering(Position pos)
		 : base()
		{
			this.Position = pos;
		}