Ejemplo n.º 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();
		}
Ejemplo n.º 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();
		}
Ejemplo n.º 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;
		}
Ejemplo n.º 4
0
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="pos">Position object to configure the rendering options of</param>
		public Rendering(Position pos)
		 : base()
		{
			this.Position = pos;
		}