Kaynağa Gözat

Bring the new layout engine

miguel 7 yıl önce
ebeveyn
işleme
00257f3096

+ 276 - 0
docfx/api/Terminal.Gui/Terminal.Gui.Dim.yml

@@ -0,0 +1,276 @@
+### YamlMime:ManagedReference
+items:
+- uid: Terminal.Gui.Dim
+  id: Dim
+  children:
+  - Terminal.Gui.Dim.#ctor
+  - Terminal.Gui.Dim.Fill(System.Int32)
+  - Terminal.Gui.Dim.op_Addition(Terminal.Gui.Dim,Terminal.Gui.Dim)
+  - Terminal.Gui.Dim.op_Implicit(System.Int32 to Terminal.Gui.Dim)
+  - Terminal.Gui.Dim.op_Subtraction(Terminal.Gui.Dim,Terminal.Gui.Dim)
+  - Terminal.Gui.Dim.Percent(System.Single)
+  langs:
+  - csharp
+  name: Dim
+  nameWithType: Dim
+  fullName: Terminal.Gui.Dim
+  type: Class
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  remarks: >-
+    <p>
+                    Use the Dim objects on the Width or Height properties of a view to control the position.
+                  </p>
+        <p>
+                    These can be used to set the absolute position, when merely assigning an
+                    integer value (via the implicit integer to Pos conversion), and they can be combined
+                    to produce more useful layouts, like: Pos.Center - 3, which would shift the postion
+                    of the view 3 characters to the left after centering for example.
+                  </p>
+  syntax:
+    content: public class Dim
+  inheritance:
+  - System.Object
+  implements: []
+  inheritedMembers: []
+- uid: Terminal.Gui.Dim.#ctor
+  id: '#ctor'
+  parent: Terminal.Gui.Dim
+  langs:
+  - csharp
+  name: Dim()
+  nameWithType: Dim.Dim()
+  fullName: Dim.Dim()
+  type: Constructor
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  syntax:
+    content: public Dim ();
+    parameters: []
+  overload: Terminal.Gui.Dim.#ctor*
+  exceptions: []
+- uid: Terminal.Gui.Dim.Fill(System.Int32)
+  id: Fill(System.Int32)
+  parent: Terminal.Gui.Dim
+  langs:
+  - csharp
+  name: Fill(Int32)
+  nameWithType: Dim.Fill(Int32)
+  fullName: Dim.Fill(Int32)
+  type: Method
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Creates a Dim object that fills the dimension, but leaves the specified number of colums for a margin.
+  syntax:
+    content: public static Terminal.Gui.Dim Fill (int margin = 0);
+    parameters:
+    - id: margin
+      type: System.Int32
+      description: Margin to use.
+    return:
+      type: Terminal.Gui.Dim
+      description: The Fill dimension.
+  overload: Terminal.Gui.Dim.Fill*
+  exceptions: []
+- uid: Terminal.Gui.Dim.op_Addition(Terminal.Gui.Dim,Terminal.Gui.Dim)
+  id: op_Addition(Terminal.Gui.Dim,Terminal.Gui.Dim)
+  parent: Terminal.Gui.Dim
+  langs:
+  - csharp
+  name: op_Addition(Dim, Dim)
+  nameWithType: Dim.op_Addition(Dim, Dim)
+  fullName: Dim.op_Addition(Dim, Dim)
+  type: Operator
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Adds a <xref href="Terminal.Gui.Pos"></xref> to a <xref href="Terminal.Gui.Pos"></xref>, yielding a new <xref href="Terminal.Gui.Pos"></xref>.
+  syntax:
+    content: public static Terminal.Gui.Dim op_Addition (Terminal.Gui.Dim left, Terminal.Gui.Dim right);
+    parameters:
+    - id: left
+      type: Terminal.Gui.Dim
+      description: The first <xref href="Terminal.Gui.Pos"></xref> to add.
+    - id: right
+      type: Terminal.Gui.Dim
+      description: The second <xref href="Terminal.Gui.Pos"></xref> to add.
+    return:
+      type: Terminal.Gui.Dim
+      description: The <xref href="Terminal.Gui.Pos"></xref> that is the sum of the values of <code>left</code> and <code>right</code>.
+  overload: Terminal.Gui.Dim.op_Addition*
+  exceptions: []
+- uid: Terminal.Gui.Dim.op_Implicit(System.Int32 to Terminal.Gui.Dim)
+  id: op_Implicit(System.Int32 to Terminal.Gui.Dim)
+  parent: Terminal.Gui.Dim
+  langs:
+  - csharp
+  name: op_Implicit(Int32 to Dim)
+  nameWithType: Dim.op_Implicit(Int32 to Dim)
+  fullName: Dim.op_Implicit(Int32 to Dim)
+  type: Operator
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Creates an Absolute Pos from the specified integer value.
+  syntax:
+    content: public static Terminal.Gui.Dim op_Implicit (int n);
+    parameters:
+    - id: n
+      type: System.Int32
+      description: The value to convert to the pos.
+    return:
+      type: Terminal.Gui.Dim
+      description: The Absolute Pos.
+  overload: Terminal.Gui.Dim.op_Implicit*
+  exceptions: []
+- uid: Terminal.Gui.Dim.op_Subtraction(Terminal.Gui.Dim,Terminal.Gui.Dim)
+  id: op_Subtraction(Terminal.Gui.Dim,Terminal.Gui.Dim)
+  parent: Terminal.Gui.Dim
+  langs:
+  - csharp
+  name: op_Subtraction(Dim, Dim)
+  nameWithType: Dim.op_Subtraction(Dim, Dim)
+  fullName: Dim.op_Subtraction(Dim, Dim)
+  type: Operator
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Subtracts a <xref href="Terminal.Gui.Pos"></xref> from a <xref href="Terminal.Gui.Pos"></xref>, yielding a new <xref href="Terminal.Gui.Pos"></xref>.
+  syntax:
+    content: public static Terminal.Gui.Dim op_Subtraction (Terminal.Gui.Dim left, Terminal.Gui.Dim right);
+    parameters:
+    - id: left
+      type: Terminal.Gui.Dim
+      description: The <xref href="Terminal.Gui.Pos"></xref> to subtract from (the minuend).
+    - id: right
+      type: Terminal.Gui.Dim
+      description: The <xref href="Terminal.Gui.Pos"></xref> to subtract (the subtrahend).
+    return:
+      type: Terminal.Gui.Dim
+      description: The <xref href="Terminal.Gui.Pos"></xref> that is the <code>left</code> minus <code>right</code>.
+  overload: Terminal.Gui.Dim.op_Subtraction*
+  exceptions: []
+- uid: Terminal.Gui.Dim.Percent(System.Single)
+  id: Percent(System.Single)
+  parent: Terminal.Gui.Dim
+  langs:
+  - csharp
+  name: Percent(Single)
+  nameWithType: Dim.Percent(Single)
+  fullName: Dim.Percent(Single)
+  type: Method
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Creates a percentage Dim object
+  syntax:
+    content: public static Terminal.Gui.Dim Percent (float n);
+    parameters:
+    - id: n
+      type: System.Single
+      description: A value between 0 and 100 representing the percentage.
+    return:
+      type: Terminal.Gui.Dim
+      description: The percent Dim object.
+  overload: Terminal.Gui.Dim.Percent*
+  exceptions: []
+references:
+- uid: System.Object
+  parent: System
+  isExternal: true
+  name: Object
+  nameWithType: Object
+  fullName: System.Object
+- uid: Terminal.Gui.Dim.#ctor
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: Dim()
+  nameWithType: Dim.Dim()
+  fullName: Dim.Dim()
+- uid: Terminal.Gui.Dim.Fill(System.Int32)
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: Fill(Int32)
+  nameWithType: Dim.Fill(Int32)
+  fullName: Dim.Fill(Int32)
+- uid: Terminal.Gui.Dim
+  parent: Terminal.Gui
+  isExternal: false
+  name: Dim
+  nameWithType: Dim
+  fullName: Terminal.Gui.Dim
+- uid: System.Int32
+  parent: System
+  isExternal: true
+  name: Int32
+  nameWithType: Int32
+  fullName: System.Int32
+- uid: Terminal.Gui.Dim.op_Addition(Terminal.Gui.Dim,Terminal.Gui.Dim)
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: op_Addition(Dim, Dim)
+  nameWithType: Dim.op_Addition(Dim, Dim)
+  fullName: Dim.op_Addition(Dim, Dim)
+- uid: Terminal.Gui.Dim.op_Implicit(System.Int32 to Terminal.Gui.Dim)
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: op_Implicit(Int32 to Dim)
+  nameWithType: Dim.op_Implicit(Int32 to Dim)
+  fullName: Dim.op_Implicit(Int32 to Dim)
+- uid: Terminal.Gui.Dim.op_Subtraction(Terminal.Gui.Dim,Terminal.Gui.Dim)
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: op_Subtraction(Dim, Dim)
+  nameWithType: Dim.op_Subtraction(Dim, Dim)
+  fullName: Dim.op_Subtraction(Dim, Dim)
+- uid: Terminal.Gui.Dim.Percent(System.Single)
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: Percent(Single)
+  nameWithType: Dim.Percent(Single)
+  fullName: Dim.Percent(Single)
+- uid: System.Single
+  parent: System
+  isExternal: true
+  name: Single
+  nameWithType: Single
+  fullName: System.Single
+- uid: Terminal.Gui.Dim.#ctor*
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: Dim
+  nameWithType: Dim.Dim
+  fullName: Dim.Dim
+- uid: Terminal.Gui.Dim.Fill*
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: Fill
+  nameWithType: Dim.Fill
+  fullName: Dim.Fill
+- uid: Terminal.Gui.Dim.op_Addition*
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: op_Addition
+  nameWithType: Dim.op_Addition
+  fullName: Dim.op_Addition
+- uid: Terminal.Gui.Dim.op_Implicit*
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: op_Implicit
+  nameWithType: Dim.op_Implicit
+  fullName: Dim.op_Implicit
+- uid: Terminal.Gui.Dim.op_Subtraction*
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: op_Subtraction
+  nameWithType: Dim.op_Subtraction
+  fullName: Dim.op_Subtraction
+- uid: Terminal.Gui.Dim.Percent*
+  parent: Terminal.Gui.Dim
+  isExternal: false
+  name: Percent
+  nameWithType: Dim.Percent
+  fullName: Dim.Percent

+ 86 - 0
docfx/api/Terminal.Gui/Terminal.Gui.LayoutStyle.yml

@@ -0,0 +1,86 @@
+### YamlMime:ManagedReference
+items:
+- uid: Terminal.Gui.LayoutStyle
+  id: LayoutStyle
+  children:
+  - Terminal.Gui.LayoutStyle.Absolute
+  - Terminal.Gui.LayoutStyle.Computed
+  langs:
+  - csharp
+  name: LayoutStyle
+  nameWithType: LayoutStyle
+  fullName: Terminal.Gui.LayoutStyle
+  type: Enum
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: "Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the\n            value from the Frame will be used, if the value is Computer, then the Frame \n            will be updated from the X, Y Pos objets and the Width and Heigh Dim objects."
+  syntax:
+    content: public enum LayoutStyle
+  inheritance:
+  - System.Enum
+- uid: Terminal.Gui.LayoutStyle.Absolute
+  id: Absolute
+  parent: Terminal.Gui.LayoutStyle
+  langs:
+  - csharp
+  name: Absolute
+  nameWithType: LayoutStyle.Absolute
+  fullName: LayoutStyle.Absolute
+  type: Field
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: The position and size of the view are based on the Frame value.
+  syntax:
+    content: Absolute
+    return:
+      type: Terminal.Gui.LayoutStyle
+      description: To be added.
+  exceptions: []
+- uid: Terminal.Gui.LayoutStyle.Computed
+  id: Computed
+  parent: Terminal.Gui.LayoutStyle
+  langs:
+  - csharp
+  name: Computed
+  nameWithType: LayoutStyle.Computed
+  fullName: LayoutStyle.Computed
+  type: Field
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: >-
+    The position and size of the view will be computed based on the
+                X, Y, Width and Height properties and set on the Frame.
+  syntax:
+    content: Computed
+    return:
+      type: Terminal.Gui.LayoutStyle
+      description: To be added.
+  exceptions: []
+references:
+- uid: System.Enum
+  parent: System
+  isExternal: true
+  name: Enum
+  nameWithType: Enum
+  fullName: System.Enum
+- uid: Terminal.Gui.LayoutStyle.Absolute
+  parent: Terminal.Gui.LayoutStyle
+  isExternal: false
+  name: Absolute
+  nameWithType: LayoutStyle.Absolute
+  fullName: LayoutStyle.Absolute
+- uid: Terminal.Gui.LayoutStyle
+  parent: Terminal.Gui
+  isExternal: false
+  name: LayoutStyle
+  nameWithType: LayoutStyle
+  fullName: Terminal.Gui.LayoutStyle
+- uid: Terminal.Gui.LayoutStyle.Computed
+  parent: Terminal.Gui.LayoutStyle
+  isExternal: false
+  name: Computed
+  nameWithType: LayoutStyle.Computed
+  fullName: LayoutStyle.Computed

+ 311 - 0
docfx/api/Terminal.Gui/Terminal.Gui.Pos.yml

@@ -0,0 +1,311 @@
+### YamlMime:ManagedReference
+items:
+- uid: Terminal.Gui.Pos
+  id: Pos
+  children:
+  - Terminal.Gui.Pos.#ctor
+  - Terminal.Gui.Pos.AnchorEnd(System.Int32)
+  - Terminal.Gui.Pos.Center
+  - Terminal.Gui.Pos.op_Addition(Terminal.Gui.Pos,Terminal.Gui.Pos)
+  - Terminal.Gui.Pos.op_Implicit(System.Int32 to Terminal.Gui.Pos)
+  - Terminal.Gui.Pos.op_Subtraction(Terminal.Gui.Pos,Terminal.Gui.Pos)
+  - Terminal.Gui.Pos.Percent(System.Single)
+  langs:
+  - csharp
+  name: Pos
+  nameWithType: Pos
+  fullName: Terminal.Gui.Pos
+  type: Class
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: "Describes a position which can be an absolute value, a percentage, centered, or \n            relative to the ending dimension.   Integer values are implicitly convertible to\n            an absolute Pos.    These objects are created using the static methods Percent,\n            AnchorEnd and Center.   The Pos objects can be combined with the addition and \n            subtraction operators."
+  remarks: >-
+    <p>
+                    Use the Pos objects on the X or Y properties of a view to control the position.
+                  </p>
+        <p>
+                    These can be used to set the absolute position, when merely assigning an
+                    integer value (via the implicit integer to Pos conversion), and they can be combined
+                    to produce more useful layouts, like: Pos.Center - 3, which would shift the postion
+                    of the view 3 characters to the left after centering for example.
+                  </p>
+  syntax:
+    content: public class Pos
+  inheritance:
+  - System.Object
+  implements: []
+  inheritedMembers: []
+- uid: Terminal.Gui.Pos.#ctor
+  id: '#ctor'
+  parent: Terminal.Gui.Pos
+  langs:
+  - csharp
+  name: Pos()
+  nameWithType: Pos.Pos()
+  fullName: Pos.Pos()
+  type: Constructor
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  syntax:
+    content: public Pos ();
+    parameters: []
+  overload: Terminal.Gui.Pos.#ctor*
+  exceptions: []
+- uid: Terminal.Gui.Pos.AnchorEnd(System.Int32)
+  id: AnchorEnd(System.Int32)
+  parent: Terminal.Gui.Pos
+  langs:
+  - csharp
+  name: AnchorEnd(Int32)
+  nameWithType: Pos.AnchorEnd(Int32)
+  fullName: Pos.AnchorEnd(Int32)
+  type: Method
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: "Creates a Pos object that is anchored to the end of the dimension, useful to flush \n            the layout from the end."
+  syntax:
+    content: public static Terminal.Gui.Pos AnchorEnd (int margin = 0);
+    parameters:
+    - id: margin
+      type: System.Int32
+      description: Optional margin to set aside.
+    return:
+      type: Terminal.Gui.Pos
+      description: The Pos object anchored to the end (the bottom or the right side).
+  overload: Terminal.Gui.Pos.AnchorEnd*
+  exceptions: []
+- uid: Terminal.Gui.Pos.Center
+  id: Center
+  parent: Terminal.Gui.Pos
+  langs:
+  - csharp
+  name: Center()
+  nameWithType: Pos.Center()
+  fullName: Pos.Center()
+  type: Method
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Returns a Pos object that can be used to center the views.
+  syntax:
+    content: public static Terminal.Gui.Pos Center ();
+    parameters: []
+    return:
+      type: Terminal.Gui.Pos
+      description: The center Pos.
+  overload: Terminal.Gui.Pos.Center*
+  exceptions: []
+- uid: Terminal.Gui.Pos.op_Addition(Terminal.Gui.Pos,Terminal.Gui.Pos)
+  id: op_Addition(Terminal.Gui.Pos,Terminal.Gui.Pos)
+  parent: Terminal.Gui.Pos
+  langs:
+  - csharp
+  name: op_Addition(Pos, Pos)
+  nameWithType: Pos.op_Addition(Pos, Pos)
+  fullName: Pos.op_Addition(Pos, Pos)
+  type: Operator
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Adds a <xref href="Terminal.Gui.Pos"></xref> to a <xref href="Terminal.Gui.Pos"></xref>, yielding a new <xref href="Terminal.Gui.Pos"></xref>.
+  syntax:
+    content: public static Terminal.Gui.Pos op_Addition (Terminal.Gui.Pos left, Terminal.Gui.Pos right);
+    parameters:
+    - id: left
+      type: Terminal.Gui.Pos
+      description: The first <xref href="Terminal.Gui.Pos"></xref> to add.
+    - id: right
+      type: Terminal.Gui.Pos
+      description: The second <xref href="Terminal.Gui.Pos"></xref> to add.
+    return:
+      type: Terminal.Gui.Pos
+      description: The <xref href="Terminal.Gui.Pos"></xref> that is the sum of the values of <code>left</code> and <code>right</code>.
+  overload: Terminal.Gui.Pos.op_Addition*
+  exceptions: []
+- uid: Terminal.Gui.Pos.op_Implicit(System.Int32 to Terminal.Gui.Pos)
+  id: op_Implicit(System.Int32 to Terminal.Gui.Pos)
+  parent: Terminal.Gui.Pos
+  langs:
+  - csharp
+  name: op_Implicit(Int32 to Pos)
+  nameWithType: Pos.op_Implicit(Int32 to Pos)
+  fullName: Pos.op_Implicit(Int32 to Pos)
+  type: Operator
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Creates an Absolute Pos from the specified integer value.
+  syntax:
+    content: public static Terminal.Gui.Pos op_Implicit (int n);
+    parameters:
+    - id: n
+      type: System.Int32
+      description: The value to convert to the pos.
+    return:
+      type: Terminal.Gui.Pos
+      description: The Absolute Pos.
+  overload: Terminal.Gui.Pos.op_Implicit*
+  exceptions: []
+- uid: Terminal.Gui.Pos.op_Subtraction(Terminal.Gui.Pos,Terminal.Gui.Pos)
+  id: op_Subtraction(Terminal.Gui.Pos,Terminal.Gui.Pos)
+  parent: Terminal.Gui.Pos
+  langs:
+  - csharp
+  name: op_Subtraction(Pos, Pos)
+  nameWithType: Pos.op_Subtraction(Pos, Pos)
+  fullName: Pos.op_Subtraction(Pos, Pos)
+  type: Operator
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Subtracts a <xref href="Terminal.Gui.Pos"></xref> from a <xref href="Terminal.Gui.Pos"></xref>, yielding a new <xref href="Terminal.Gui.Pos"></xref>.
+  syntax:
+    content: public static Terminal.Gui.Pos op_Subtraction (Terminal.Gui.Pos left, Terminal.Gui.Pos right);
+    parameters:
+    - id: left
+      type: Terminal.Gui.Pos
+      description: The <xref href="Terminal.Gui.Pos"></xref> to subtract from (the minuend).
+    - id: right
+      type: Terminal.Gui.Pos
+      description: The <xref href="Terminal.Gui.Pos"></xref> to subtract (the subtrahend).
+    return:
+      type: Terminal.Gui.Pos
+      description: The <xref href="Terminal.Gui.Pos"></xref> that is the <code>left</code> minus <code>right</code>.
+  overload: Terminal.Gui.Pos.op_Subtraction*
+  exceptions: []
+- uid: Terminal.Gui.Pos.Percent(System.Single)
+  id: Percent(System.Single)
+  parent: Terminal.Gui.Pos
+  langs:
+  - csharp
+  name: Percent(Single)
+  nameWithType: Pos.Percent(Single)
+  fullName: Pos.Percent(Single)
+  type: Method
+  assemblies:
+  - Terminal.Gui
+  namespace: Terminal.Gui
+  summary: Creates a percentage Pos object
+  syntax:
+    content: public static Terminal.Gui.Pos Percent (float n);
+    parameters:
+    - id: n
+      type: System.Single
+      description: A value between 0 and 100 representing the percentage.
+    return:
+      type: Terminal.Gui.Pos
+      description: The percent Pos object.
+  overload: Terminal.Gui.Pos.Percent*
+  exceptions: []
+references:
+- uid: System.Object
+  parent: System
+  isExternal: true
+  name: Object
+  nameWithType: Object
+  fullName: System.Object
+- uid: Terminal.Gui.Pos.#ctor
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: Pos()
+  nameWithType: Pos.Pos()
+  fullName: Pos.Pos()
+- uid: Terminal.Gui.Pos.AnchorEnd(System.Int32)
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: AnchorEnd(Int32)
+  nameWithType: Pos.AnchorEnd(Int32)
+  fullName: Pos.AnchorEnd(Int32)
+- uid: Terminal.Gui.Pos
+  parent: Terminal.Gui
+  isExternal: false
+  name: Pos
+  nameWithType: Pos
+  fullName: Terminal.Gui.Pos
+- uid: System.Int32
+  parent: System
+  isExternal: true
+  name: Int32
+  nameWithType: Int32
+  fullName: System.Int32
+- uid: Terminal.Gui.Pos.Center
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: Center()
+  nameWithType: Pos.Center()
+  fullName: Pos.Center()
+- uid: Terminal.Gui.Pos.op_Addition(Terminal.Gui.Pos,Terminal.Gui.Pos)
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: op_Addition(Pos, Pos)
+  nameWithType: Pos.op_Addition(Pos, Pos)
+  fullName: Pos.op_Addition(Pos, Pos)
+- uid: Terminal.Gui.Pos.op_Implicit(System.Int32 to Terminal.Gui.Pos)
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: op_Implicit(Int32 to Pos)
+  nameWithType: Pos.op_Implicit(Int32 to Pos)
+  fullName: Pos.op_Implicit(Int32 to Pos)
+- uid: Terminal.Gui.Pos.op_Subtraction(Terminal.Gui.Pos,Terminal.Gui.Pos)
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: op_Subtraction(Pos, Pos)
+  nameWithType: Pos.op_Subtraction(Pos, Pos)
+  fullName: Pos.op_Subtraction(Pos, Pos)
+- uid: Terminal.Gui.Pos.Percent(System.Single)
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: Percent(Single)
+  nameWithType: Pos.Percent(Single)
+  fullName: Pos.Percent(Single)
+- uid: System.Single
+  parent: System
+  isExternal: true
+  name: Single
+  nameWithType: Single
+  fullName: System.Single
+- uid: Terminal.Gui.Pos.#ctor*
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: Pos
+  nameWithType: Pos.Pos
+  fullName: Pos.Pos
+- uid: Terminal.Gui.Pos.AnchorEnd*
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: AnchorEnd
+  nameWithType: Pos.AnchorEnd
+  fullName: Pos.AnchorEnd
+- uid: Terminal.Gui.Pos.Center*
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: Center
+  nameWithType: Pos.Center
+  fullName: Pos.Center
+- uid: Terminal.Gui.Pos.op_Addition*
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: op_Addition
+  nameWithType: Pos.op_Addition
+  fullName: Pos.op_Addition
+- uid: Terminal.Gui.Pos.op_Implicit*
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: op_Implicit
+  nameWithType: Pos.op_Implicit
+  fullName: Pos.op_Implicit
+- uid: Terminal.Gui.Pos.op_Subtraction*
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: op_Subtraction
+  nameWithType: Pos.op_Subtraction
+  fullName: Pos.op_Subtraction
+- uid: Terminal.Gui.Pos.Percent*
+  parent: Terminal.Gui.Pos
+  isExternal: false
+  name: Percent
+  nameWithType: Pos.Percent
+  fullName: Pos.Percent

+ 43 - 0
docfx/articles/overview.md

@@ -0,0 +1,43 @@
+Overview
+========
+
+`Terminal.Gui` is a library intended to create console-based
+applications using C#.  The framework has been designed to make it
+easy to write applications that will work on monochrome terminals, as
+well as modern color terminals with mouse support.
+
+This library provides a text-based toolkit as works in a way similar
+to graphic toolkits.   There are many controls that can be used to
+create your applications and it is event based, meaning that you
+create the user interface, hook up various events and then let the
+a processing loop run your application, and your code is invoked via
+one or more callbacks.
+
+The simplest application looks like this:
+
+```
+using Terminal.Gui;
+
+class Demo {
+    static int Main ()
+    {
+        Application.Init ();
+
+	var n = MessageBox.Query (50, 7, "Question", "Do you like console apps?", "Yes", "No");
+
+	return n;
+    }
+}
+```
+
+This example shows a prompt and returns an integer value depending on
+which value was selected by the user (Yes, No, or if they use chose
+not to make a decision and instead pressed the ESC key).
+
+More interesting user interfaces can be created by composing some of
+the various views that are included.   In the following sections, you
+will see how applications are put together.
+
+View
+====
+

+ 2 - 0
docfx/articles/views.md

@@ -0,0 +1,2 @@
+Views
+=====

+ 386 - 0
docs/api/Terminal.Gui/Terminal.Gui.Dim.html

@@ -0,0 +1,386 @@
+<!DOCTYPE html>
+<!--[if IE]><![endif]-->
+<html>
+  
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <title>Class Dim
+   </title>
+    <meta name="viewport" content="width=device-width">
+    <meta name="title" content="Class Dim
+   ">
+    <meta name="generator" content="docfx 2.18.2.0">
+    
+    <link rel="shortcut icon" href="../../favicon.ico">
+    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
+    <link rel="stylesheet" href="../../styles/docfx.css">
+    <link rel="stylesheet" href="../../styles/main.css">
+    <meta property="docfx:navrel" content="">
+    <meta property="docfx:tocrel" content="../toc.html">
+    
+    
+  </head>
+  <body data-spy="scroll" data-target="#affix">
+    <div id="wrapper">
+      <header>
+        
+        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
+          <div class="container">
+            <div class="navbar-header">
+              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+              </button>
+              
+              <a class="navbar-brand" href="../../index.html">
+                <img id="logo" class="svg" src="../../logo.svg" alt="">
+              </a>
+            </div>
+            <div class="collapse navbar-collapse" id="navbar">
+              <form class="navbar-form navbar-right" role="search" id="search">
+                <div class="form-group">
+                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
+                </div>
+              </form>
+            </div>
+          </div>
+        </nav>
+        
+        <div class="subnav navbar navbar-default">
+          <div class="container hide-when-search" id="breadcrumb">
+            <ul class="breadcrumb">
+              <li></li>
+            </ul>
+          </div>
+        </div>
+      </header>
+      <div role="main" class="container body-content hide-when-search">
+        
+        <div class="sidenav hide-when-search">
+          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
+          <div class="sidetoggle collapse" id="sidetoggle">
+            <div id="sidetoc"></div>
+          </div>
+        </div>
+        <div class="article row grid-right">
+          <div class="col-md-10">
+            <article class="content wrap" id="_content" data-uid="Terminal.Gui.Dim">
+  
+  
+  <h1 id="Terminal_Gui_Dim" data-uid="Terminal.Gui.Dim">Class Dim
+  </h1>
+  <div class="markdown level0 summary"></div>
+  <div class="markdown level0 conceptual"></div>
+  <div class="inheritance">
+    <h5>Inheritance</h5>
+    <div class="level0"><span class="xref">System.Object</span></div>
+    <div class="level1"><span class="xref">Dim</span></div>
+  </div>
+  <h6><strong>Namespace</strong>: <a class="xref" href="../Terminal.Gui.html">Terminal.Gui</a></h6>
+  <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
+  <h5 id="Terminal_Gui_Dim_syntax">Syntax</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public class Dim</code></pre>
+  </div>
+  <h5 id="Terminal_Gui_Dim_remarks"><strong>Remarks</strong></h5>
+  <div class="markdown level0 remarks"><p>
+                Use the Dim objects on the Width or Height properties of a view to control the position.
+              </p>
+    <p>
+                These can be used to set the absolute position, when merely assigning an
+                integer value (via the implicit integer to Pos conversion), and they can be combined
+                to produce more useful layouts, like: Pos.Center - 3, which would shift the postion
+                of the view 3 characters to the left after centering for example.
+              </p></div>
+  <h3 id="constructors">Constructors
+  </h3>
+  
+  
+  <a id="Terminal_Gui_Dim__ctor_" data-uid="Terminal.Gui.Dim.#ctor*"></a>
+  <h4 id="Terminal_Gui_Dim__ctor" data-uid="Terminal.Gui.Dim.#ctor">Dim()</h4>
+  <div class="markdown level1 summary"></div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public Dim ();</code></pre>
+  </div>
+  <h3 id="methods">Methods
+  </h3>
+  
+  
+  <a id="Terminal_Gui_Dim_Fill_" data-uid="Terminal.Gui.Dim.Fill*"></a>
+  <h4 id="Terminal_Gui_Dim_Fill_System_Int32_" data-uid="Terminal.Gui.Dim.Fill(System.Int32)">Fill(Int32)</h4>
+  <div class="markdown level1 summary"><p>Creates a Dim object that fills the dimension, but leaves the specified number of colums for a margin.</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Dim Fill (int margin = 0);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><span class="xref">System.Int32</span></td>
+        <td><span class="parametername">margin</span></td>
+        <td><p>Margin to use.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
+        <td><p>The Fill dimension.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  
+  
+  <a id="Terminal_Gui_Dim_Percent_" data-uid="Terminal.Gui.Dim.Percent*"></a>
+  <h4 id="Terminal_Gui_Dim_Percent_System_Single_" data-uid="Terminal.Gui.Dim.Percent(System.Single)">Percent(Single)</h4>
+  <div class="markdown level1 summary"><p>Creates a percentage Dim object</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Dim Percent (float n);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><span class="xref">System.Single</span></td>
+        <td><span class="parametername">n</span></td>
+        <td><p>A value between 0 and 100 representing the percentage.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
+        <td><p>The percent Dim object.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h3 id="operators">Operators
+  </h3>
+  
+  
+  <a id="Terminal_Gui_Dim_op_Addition_" data-uid="Terminal.Gui.Dim.op_Addition*"></a>
+  <h4 id="Terminal_Gui_Dim_op_Addition_Terminal_Gui_Dim_Terminal_Gui_Dim_" data-uid="Terminal.Gui.Dim.op_Addition(Terminal.Gui.Dim,Terminal.Gui.Dim)">op_Addition(Dim, Dim)</h4>
+  <div class="markdown level1 summary"><p>Adds a <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to a <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>, yielding a new <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>.</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Dim op_Addition (Terminal.Gui.Dim left, Terminal.Gui.Dim right);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
+        <td><span class="parametername">left</span></td>
+        <td><p>The first <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to add.</p>
+</td>
+      </tr>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
+        <td><span class="parametername">right</span></td>
+        <td><p>The second <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to add.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
+        <td><p>The <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> that is the sum of the values of <code>left</code> and <code>right</code>.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  
+  
+  <a id="Terminal_Gui_Dim_op_Implicit_" data-uid="Terminal.Gui.Dim.op_Implicit*"></a>
+  <h4 id="Terminal_Gui_Dim_op_Implicit_System_Int32_to_Terminal_Gui_Dim_" data-uid="Terminal.Gui.Dim.op_Implicit(System.Int32 to Terminal.Gui.Dim)">op_Implicit(Int32 to Dim)</h4>
+  <div class="markdown level1 summary"><p>Creates an Absolute Pos from the specified integer value.</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Dim op_Implicit (int n);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><span class="xref">System.Int32</span></td>
+        <td><span class="parametername">n</span></td>
+        <td><p>The value to convert to the pos.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
+        <td><p>The Absolute Pos.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  
+  
+  <a id="Terminal_Gui_Dim_op_Subtraction_" data-uid="Terminal.Gui.Dim.op_Subtraction*"></a>
+  <h4 id="Terminal_Gui_Dim_op_Subtraction_Terminal_Gui_Dim_Terminal_Gui_Dim_" data-uid="Terminal.Gui.Dim.op_Subtraction(Terminal.Gui.Dim,Terminal.Gui.Dim)">op_Subtraction(Dim, Dim)</h4>
+  <div class="markdown level1 summary"><p>Subtracts a <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> from a <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>, yielding a new <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>.</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Dim op_Subtraction (Terminal.Gui.Dim left, Terminal.Gui.Dim right);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
+        <td><span class="parametername">left</span></td>
+        <td><p>The <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to subtract from (the minuend).</p>
+</td>
+      </tr>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
+        <td><span class="parametername">right</span></td>
+        <td><p>The <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to subtract (the subtrahend).</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
+        <td><p>The <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> that is the <code>left</code> minus <code>right</code>.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+</article>
+          </div>
+          
+          <div class="hidden-sm col-md-2" role="complementary">
+            <div class="sideaffix">
+              <div class="contribution">
+                <ul class="nav">
+                </ul>
+              </div>
+              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
+              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
+              </nav>
+            </div>
+          </div>
+        </div>
+      </div>
+      
+      <footer>
+        <div class="grad-bottom"></div>
+        <div class="footer">
+          <div class="container">
+            <span class="pull-right">
+              <a href="#top">Back to top</a>
+            </span>
+            
+            <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
+          </div>
+        </div>
+      </footer>
+    </div>
+    
+    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
+    <script type="text/javascript" src="../../styles/docfx.js"></script>
+    <script type="text/javascript" src="../../styles/main.js"></script>
+  </body>
+</html>

+ 144 - 0
docs/api/Terminal.Gui/Terminal.Gui.LayoutStyle.html

@@ -0,0 +1,144 @@
+<!DOCTYPE html>
+<!--[if IE]><![endif]-->
+<html>
+  
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <title>Enum LayoutStyle
+   </title>
+    <meta name="viewport" content="width=device-width">
+    <meta name="title" content="Enum LayoutStyle
+   ">
+    <meta name="generator" content="docfx 2.18.2.0">
+    
+    <link rel="shortcut icon" href="../../favicon.ico">
+    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
+    <link rel="stylesheet" href="../../styles/docfx.css">
+    <link rel="stylesheet" href="../../styles/main.css">
+    <meta property="docfx:navrel" content="">
+    <meta property="docfx:tocrel" content="../toc.html">
+    
+    
+  </head>
+  <body data-spy="scroll" data-target="#affix">
+    <div id="wrapper">
+      <header>
+        
+        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
+          <div class="container">
+            <div class="navbar-header">
+              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+              </button>
+              
+              <a class="navbar-brand" href="../../index.html">
+                <img id="logo" class="svg" src="../../logo.svg" alt="">
+              </a>
+            </div>
+            <div class="collapse navbar-collapse" id="navbar">
+              <form class="navbar-form navbar-right" role="search" id="search">
+                <div class="form-group">
+                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
+                </div>
+              </form>
+            </div>
+          </div>
+        </nav>
+        
+        <div class="subnav navbar navbar-default">
+          <div class="container hide-when-search" id="breadcrumb">
+            <ul class="breadcrumb">
+              <li></li>
+            </ul>
+          </div>
+        </div>
+      </header>
+      <div role="main" class="container body-content hide-when-search">
+        
+        <div class="sidenav hide-when-search">
+          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
+          <div class="sidetoggle collapse" id="sidetoggle">
+            <div id="sidetoc"></div>
+          </div>
+        </div>
+        <div class="article row grid-right">
+          <div class="col-md-10">
+            <article class="content wrap" id="_content" data-uid="Terminal.Gui.LayoutStyle">
+  
+  
+  <h1 id="Terminal_Gui_LayoutStyle" data-uid="Terminal.Gui.LayoutStyle">Enum LayoutStyle
+  </h1>
+  <div class="markdown level0 summary"><p>Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the
+            value from the Frame will be used, if the value is Computer, then the Frame 
+            will be updated from the X, Y Pos objets and the Width and Heigh Dim objects.</p>
+</div>
+  <div class="markdown level0 conceptual"></div>
+  <h6><strong>Namespace</strong>: <a class="xref" href="../Terminal.Gui.html">Terminal.Gui</a></h6>
+  <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
+  <h5 id="Terminal_Gui_LayoutStyle_syntax">Syntax</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public enum LayoutStyle</code></pre>
+  </div>
+  <h3 id="fields">Fields
+  </h3>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    <thead>
+    <tbody>
+      <tr>
+        <td id="Terminal_Gui_LayoutStyle_Absolute">Absolute</td>
+        <td><p>The position and size of the view are based on the Frame value.</p>
+</td>
+      </tr>
+      <tr>
+        <td id="Terminal_Gui_LayoutStyle_Computed">Computed</td>
+        <td><p>The position and size of the view will be computed based on the
+            X, Y, Width and Height properties and set on the Frame.</p>
+</td>
+      </tr>
+    </tbody>
+  </thead></thead></table>
+</article>
+          </div>
+          
+          <div class="hidden-sm col-md-2" role="complementary">
+            <div class="sideaffix">
+              <div class="contribution">
+                <ul class="nav">
+                </ul>
+              </div>
+              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
+              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
+              </nav>
+            </div>
+          </div>
+        </div>
+      </div>
+      
+      <footer>
+        <div class="grad-bottom"></div>
+        <div class="footer">
+          <div class="container">
+            <span class="pull-right">
+              <a href="#top">Back to top</a>
+            </span>
+            
+            <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
+          </div>
+        </div>
+      </footer>
+    </div>
+    
+    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
+    <script type="text/javascript" src="../../styles/docfx.js"></script>
+    <script type="text/javascript" src="../../styles/main.js"></script>
+  </body>
+</html>

+ 419 - 0
docs/api/Terminal.Gui/Terminal.Gui.Pos.html

@@ -0,0 +1,419 @@
+<!DOCTYPE html>
+<!--[if IE]><![endif]-->
+<html>
+  
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <title>Class Pos
+   </title>
+    <meta name="viewport" content="width=device-width">
+    <meta name="title" content="Class Pos
+   ">
+    <meta name="generator" content="docfx 2.18.2.0">
+    
+    <link rel="shortcut icon" href="../../favicon.ico">
+    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
+    <link rel="stylesheet" href="../../styles/docfx.css">
+    <link rel="stylesheet" href="../../styles/main.css">
+    <meta property="docfx:navrel" content="">
+    <meta property="docfx:tocrel" content="../toc.html">
+    
+    
+  </head>
+  <body data-spy="scroll" data-target="#affix">
+    <div id="wrapper">
+      <header>
+        
+        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
+          <div class="container">
+            <div class="navbar-header">
+              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+              </button>
+              
+              <a class="navbar-brand" href="../../index.html">
+                <img id="logo" class="svg" src="../../logo.svg" alt="">
+              </a>
+            </div>
+            <div class="collapse navbar-collapse" id="navbar">
+              <form class="navbar-form navbar-right" role="search" id="search">
+                <div class="form-group">
+                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
+                </div>
+              </form>
+            </div>
+          </div>
+        </nav>
+        
+        <div class="subnav navbar navbar-default">
+          <div class="container hide-when-search" id="breadcrumb">
+            <ul class="breadcrumb">
+              <li></li>
+            </ul>
+          </div>
+        </div>
+      </header>
+      <div role="main" class="container body-content hide-when-search">
+        
+        <div class="sidenav hide-when-search">
+          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
+          <div class="sidetoggle collapse" id="sidetoggle">
+            <div id="sidetoc"></div>
+          </div>
+        </div>
+        <div class="article row grid-right">
+          <div class="col-md-10">
+            <article class="content wrap" id="_content" data-uid="Terminal.Gui.Pos">
+  
+  
+  <h1 id="Terminal_Gui_Pos" data-uid="Terminal.Gui.Pos">Class Pos
+  </h1>
+  <div class="markdown level0 summary"><p>Describes a position which can be an absolute value, a percentage, centered, or 
+            relative to the ending dimension.   Integer values are implicitly convertible to
+            an absolute Pos.    These objects are created using the static methods Percent,
+            AnchorEnd and Center.   The Pos objects can be combined with the addition and 
+            subtraction operators.</p>
+</div>
+  <div class="markdown level0 conceptual"></div>
+  <div class="inheritance">
+    <h5>Inheritance</h5>
+    <div class="level0"><span class="xref">System.Object</span></div>
+    <div class="level1"><span class="xref">Pos</span></div>
+  </div>
+  <h6><strong>Namespace</strong>: <a class="xref" href="../Terminal.Gui.html">Terminal.Gui</a></h6>
+  <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
+  <h5 id="Terminal_Gui_Pos_syntax">Syntax</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public class Pos</code></pre>
+  </div>
+  <h5 id="Terminal_Gui_Pos_remarks"><strong>Remarks</strong></h5>
+  <div class="markdown level0 remarks"><p>
+                Use the Pos objects on the X or Y properties of a view to control the position.
+              </p>
+    <p>
+                These can be used to set the absolute position, when merely assigning an
+                integer value (via the implicit integer to Pos conversion), and they can be combined
+                to produce more useful layouts, like: Pos.Center - 3, which would shift the postion
+                of the view 3 characters to the left after centering for example.
+              </p></div>
+  <h3 id="constructors">Constructors
+  </h3>
+  
+  
+  <a id="Terminal_Gui_Pos__ctor_" data-uid="Terminal.Gui.Pos.#ctor*"></a>
+  <h4 id="Terminal_Gui_Pos__ctor" data-uid="Terminal.Gui.Pos.#ctor">Pos()</h4>
+  <div class="markdown level1 summary"></div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public Pos ();</code></pre>
+  </div>
+  <h3 id="methods">Methods
+  </h3>
+  
+  
+  <a id="Terminal_Gui_Pos_AnchorEnd_" data-uid="Terminal.Gui.Pos.AnchorEnd*"></a>
+  <h4 id="Terminal_Gui_Pos_AnchorEnd_System_Int32_" data-uid="Terminal.Gui.Pos.AnchorEnd(System.Int32)">AnchorEnd(Int32)</h4>
+  <div class="markdown level1 summary"><p>Creates a Pos object that is anchored to the end of the dimension, useful to flush 
+            the layout from the end.</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Pos AnchorEnd (int margin = 0);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><span class="xref">System.Int32</span></td>
+        <td><span class="parametername">margin</span></td>
+        <td><p>Optional margin to set aside.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><p>The Pos object anchored to the end (the bottom or the right side).</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  
+  
+  <a id="Terminal_Gui_Pos_Center_" data-uid="Terminal.Gui.Pos.Center*"></a>
+  <h4 id="Terminal_Gui_Pos_Center" data-uid="Terminal.Gui.Pos.Center">Center()</h4>
+  <div class="markdown level1 summary"><p>Returns a Pos object that can be used to center the views.</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Pos Center ();</code></pre>
+  </div>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><p>The center Pos.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  
+  
+  <a id="Terminal_Gui_Pos_Percent_" data-uid="Terminal.Gui.Pos.Percent*"></a>
+  <h4 id="Terminal_Gui_Pos_Percent_System_Single_" data-uid="Terminal.Gui.Pos.Percent(System.Single)">Percent(Single)</h4>
+  <div class="markdown level1 summary"><p>Creates a percentage Pos object</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Pos Percent (float n);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><span class="xref">System.Single</span></td>
+        <td><span class="parametername">n</span></td>
+        <td><p>A value between 0 and 100 representing the percentage.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><p>The percent Pos object.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h3 id="operators">Operators
+  </h3>
+  
+  
+  <a id="Terminal_Gui_Pos_op_Addition_" data-uid="Terminal.Gui.Pos.op_Addition*"></a>
+  <h4 id="Terminal_Gui_Pos_op_Addition_Terminal_Gui_Pos_Terminal_Gui_Pos_" data-uid="Terminal.Gui.Pos.op_Addition(Terminal.Gui.Pos,Terminal.Gui.Pos)">op_Addition(Pos, Pos)</h4>
+  <div class="markdown level1 summary"><p>Adds a <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to a <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>, yielding a new <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>.</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Pos op_Addition (Terminal.Gui.Pos left, Terminal.Gui.Pos right);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><span class="parametername">left</span></td>
+        <td><p>The first <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to add.</p>
+</td>
+      </tr>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><span class="parametername">right</span></td>
+        <td><p>The second <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to add.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><p>The <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> that is the sum of the values of <code>left</code> and <code>right</code>.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  
+  
+  <a id="Terminal_Gui_Pos_op_Implicit_" data-uid="Terminal.Gui.Pos.op_Implicit*"></a>
+  <h4 id="Terminal_Gui_Pos_op_Implicit_System_Int32_to_Terminal_Gui_Pos_" data-uid="Terminal.Gui.Pos.op_Implicit(System.Int32 to Terminal.Gui.Pos)">op_Implicit(Int32 to Pos)</h4>
+  <div class="markdown level1 summary"><p>Creates an Absolute Pos from the specified integer value.</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Pos op_Implicit (int n);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><span class="xref">System.Int32</span></td>
+        <td><span class="parametername">n</span></td>
+        <td><p>The value to convert to the pos.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><p>The Absolute Pos.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  
+  
+  <a id="Terminal_Gui_Pos_op_Subtraction_" data-uid="Terminal.Gui.Pos.op_Subtraction*"></a>
+  <h4 id="Terminal_Gui_Pos_op_Subtraction_Terminal_Gui_Pos_Terminal_Gui_Pos_" data-uid="Terminal.Gui.Pos.op_Subtraction(Terminal.Gui.Pos,Terminal.Gui.Pos)">op_Subtraction(Pos, Pos)</h4>
+  <div class="markdown level1 summary"><p>Subtracts a <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> from a <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>, yielding a new <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>.</p>
+</div>
+  <div class="markdown level1 conceptual"></div>
+  <h5 class="decalaration">Declaration</h5>
+  <div class="codewrapper">
+    <pre><code class="lang-csharp hljs">public static Terminal.Gui.Pos op_Subtraction (Terminal.Gui.Pos left, Terminal.Gui.Pos right);</code></pre>
+  </div>
+  <h5 class="parameters">Parameters</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Name</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><span class="parametername">left</span></td>
+        <td><p>The <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to subtract from (the minuend).</p>
+</td>
+      </tr>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><span class="parametername">right</span></td>
+        <td><p>The <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> to subtract (the subtrahend).</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+  <h5 class="returns">Returns</h5>
+  <table class="table table-bordered table-striped table-condensed">
+    <thead>
+      <tr>
+        <th>Type</th>
+        <th>Description</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
+        <td><p>The <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> that is the <code>left</code> minus <code>right</code>.</p>
+</td>
+      </tr>
+    </tbody>
+  </table>
+</article>
+          </div>
+          
+          <div class="hidden-sm col-md-2" role="complementary">
+            <div class="sideaffix">
+              <div class="contribution">
+                <ul class="nav">
+                </ul>
+              </div>
+              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
+              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
+              </nav>
+            </div>
+          </div>
+        </div>
+      </div>
+      
+      <footer>
+        <div class="grad-bottom"></div>
+        <div class="footer">
+          <div class="container">
+            <span class="pull-right">
+              <a href="#top">Back to top</a>
+            </span>
+            
+            <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
+          </div>
+        </div>
+      </footer>
+    </div>
+    
+    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
+    <script type="text/javascript" src="../../styles/docfx.js"></script>
+    <script type="text/javascript" src="../../styles/main.js"></script>
+  </body>
+</html>

+ 132 - 0
docs/articles/overview.html

@@ -0,0 +1,132 @@
+<!DOCTYPE html>
+<!--[if IE]><![endif]-->
+<html>
+  
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <title>Overview </title>
+    <meta name="viewport" content="width=device-width">
+    <meta name="title" content="Overview ">
+    <meta name="generator" content="docfx 2.18.2.0">
+    
+    <link rel="shortcut icon" href="../favicon.ico">
+    <link rel="stylesheet" href="../styles/docfx.vendor.css">
+    <link rel="stylesheet" href="../styles/docfx.css">
+    <link rel="stylesheet" href="../styles/main.css">
+    <meta property="docfx:navrel" content="">
+    <meta property="docfx:tocrel" content="">
+    
+    
+  </head>
+  <body data-spy="scroll" data-target="#affix">
+    <div id="wrapper">
+      <header>
+        
+        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
+          <div class="container">
+            <div class="navbar-header">
+              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+              </button>
+              
+              <a class="navbar-brand" href="../index.html">
+                <img id="logo" class="svg" src="../logo.svg" alt="">
+              </a>
+            </div>
+            <div class="collapse navbar-collapse" id="navbar">
+              <form class="navbar-form navbar-right" role="search" id="search">
+                <div class="form-group">
+                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
+                </div>
+              </form>
+            </div>
+          </div>
+        </nav>
+        
+        <div class="subnav navbar navbar-default">
+          <div class="container hide-when-search" id="breadcrumb">
+            <ul class="breadcrumb">
+              <li></li>
+            </ul>
+          </div>
+        </div>
+      </header>
+      <div role="main" class="container body-content hide-when-search">
+        <div class="article row grid">
+          <div class="col-md-10">
+            <article class="content wrap" id="_content" data-uid="">
+<h1 id="overview">Overview</h1>
+
+<p><code>Terminal.Gui</code> is a library intended to create console-based
+applications using C#.  The framework has been designed to make it
+easy to write applications that will work on monochrome terminals, as
+well as modern color terminals with mouse support.</p>
+<p>This library provides a text-based toolkit as works in a way similar
+to graphic toolkits.   There are many controls that can be used to
+create your applications and it is event based, meaning that you
+create the user interface, hook up various events and then let the
+a processing loop run your application, and your code is invoked via
+one or more callbacks.</p>
+<p>The simplest application looks like this:</p>
+<pre><code>using Terminal.Gui;
+
+class Demo {
+    static int Main ()
+    {
+        Application.Init ();
+
+    var n = MessageBox.Query (50, 7, &quot;Question&quot;, &quot;Do you like console apps?&quot;, &quot;Yes&quot;, &quot;No&quot;);
+
+    return n;
+    }
+}
+</code></pre><p>This example shows a prompt and returns an integer value depending on
+which value was selected by the user (Yes, No, or if they use chose
+not to make a decision and instead pressed the ESC key).</p>
+<p>More interesting user interfaces can be created by composing some of
+the various views that are included.   In the following sections, you
+will see how applications are put together.</p>
+<h1 id="view">View</h1>
+</article>
+          </div>
+          
+          <div class="hidden-sm col-md-2" role="complementary">
+            <div class="sideaffix">
+              <div class="contribution">
+                <ul class="nav">
+                  <li>
+                    <a href="https://github.com/migueldeicaza/gui.cs/blob/master/docfx/articles/overview.md/#L1" class="contribution-link">Improve this Doc</a>
+                  </li>
+                </ul>
+              </div>
+              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
+              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
+              </nav>
+            </div>
+          </div>
+        </div>
+      </div>
+      
+      <footer>
+        <div class="grad-bottom"></div>
+        <div class="footer">
+          <div class="container">
+            <span class="pull-right">
+              <a href="#top">Back to top</a>
+            </span>
+            
+            <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
+          </div>
+        </div>
+      </footer>
+    </div>
+    
+    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
+    <script type="text/javascript" src="../styles/docfx.js"></script>
+    <script type="text/javascript" src="../styles/main.js"></script>
+  </body>
+</html>

+ 102 - 0
docs/articles/views.html

@@ -0,0 +1,102 @@
+<!DOCTYPE html>
+<!--[if IE]><![endif]-->
+<html>
+  
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <title>Views </title>
+    <meta name="viewport" content="width=device-width">
+    <meta name="title" content="Views ">
+    <meta name="generator" content="docfx 2.18.2.0">
+    
+    <link rel="shortcut icon" href="../favicon.ico">
+    <link rel="stylesheet" href="../styles/docfx.vendor.css">
+    <link rel="stylesheet" href="../styles/docfx.css">
+    <link rel="stylesheet" href="../styles/main.css">
+    <meta property="docfx:navrel" content="">
+    <meta property="docfx:tocrel" content="">
+    
+    
+  </head>
+  <body data-spy="scroll" data-target="#affix">
+    <div id="wrapper">
+      <header>
+        
+        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
+          <div class="container">
+            <div class="navbar-header">
+              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+              </button>
+              
+              <a class="navbar-brand" href="../index.html">
+                <img id="logo" class="svg" src="../logo.svg" alt="">
+              </a>
+            </div>
+            <div class="collapse navbar-collapse" id="navbar">
+              <form class="navbar-form navbar-right" role="search" id="search">
+                <div class="form-group">
+                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
+                </div>
+              </form>
+            </div>
+          </div>
+        </nav>
+        
+        <div class="subnav navbar navbar-default">
+          <div class="container hide-when-search" id="breadcrumb">
+            <ul class="breadcrumb">
+              <li></li>
+            </ul>
+          </div>
+        </div>
+      </header>
+      <div role="main" class="container body-content hide-when-search">
+        <div class="article row grid">
+          <div class="col-md-10">
+            <article class="content wrap" id="_content" data-uid="">
+<h1 id="views">Views</h1>
+
+</article>
+          </div>
+          
+          <div class="hidden-sm col-md-2" role="complementary">
+            <div class="sideaffix">
+              <div class="contribution">
+                <ul class="nav">
+                  <li>
+                    <a href="https://github.com/migueldeicaza/gui.cs/blob/master/docfx/articles/views.md/#L1" class="contribution-link">Improve this Doc</a>
+                  </li>
+                </ul>
+              </div>
+              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
+              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
+              </nav>
+            </div>
+          </div>
+        </div>
+      </div>
+      
+      <footer>
+        <div class="grad-bottom"></div>
+        <div class="footer">
+          <div class="container">
+            <span class="pull-right">
+              <a href="#top">Back to top</a>
+            </span>
+            
+            <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
+          </div>
+        </div>
+      </footer>
+    </div>
+    
+    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
+    <script type="text/javascript" src="../styles/docfx.js"></script>
+    <script type="text/javascript" src="../styles/main.js"></script>
+  </body>
+</html>

+ 155 - 0
ecmadocs/en/Terminal.Gui/Dim.xml

@@ -0,0 +1,155 @@
+<Type Name="Dim" FullName="Terminal.Gui.Dim">
+  <TypeSignature Language="C#" Value="public class Dim" />
+  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Dim extends System.Object" />
+  <AssemblyInfo>
+    <AssemblyName>Terminal.Gui</AssemblyName>
+    <AssemblyVersion>1.0.0.0</AssemblyVersion>
+  </AssemblyInfo>
+  <Base>
+    <BaseTypeName>System.Object</BaseTypeName>
+  </Base>
+  <Interfaces />
+  <Docs>
+    <summary />
+    <remarks>
+      <para>
+                Use the Dim objects on the Width or Height properties of a view to control the position.
+              </para>
+      <para>
+                These can be used to set the absolute position, when merely assigning an
+                integer value (via the implicit integer to Pos conversion), and they can be combined
+                to produce more useful layouts, like: Pos.Center - 3, which would shift the postion
+                of the view 3 characters to the left after centering for example.
+              </para>
+    </remarks>
+  </Docs>
+  <Members>
+    <Member MemberName=".ctor">
+      <MemberSignature Language="C#" Value="public Dim ();" />
+      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
+      <MemberType>Constructor</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <Parameters />
+      <Docs>
+        <summary>To be added.</summary>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="Fill">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Dim Fill (int margin = 0);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class Terminal.Gui.Dim Fill(int32 margin) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Dim</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="margin" Type="System.Int32" />
+      </Parameters>
+      <Docs>
+        <param name="margin">Margin to use.</param>
+        <summary>
+            Creates a Dim object that fills the dimension, but leaves the specified number of colums for a margin.
+            </summary>
+        <returns>The Fill dimension.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="op_Addition">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Dim op_Addition (Terminal.Gui.Dim left, Terminal.Gui.Dim right);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname class Terminal.Gui.Dim op_Addition(class Terminal.Gui.Dim left, class Terminal.Gui.Dim right) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Dim</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="left" Type="Terminal.Gui.Dim" />
+        <Parameter Name="right" Type="Terminal.Gui.Dim" />
+      </Parameters>
+      <Docs>
+        <param name="left">The first <see cref="T:Terminal.Gui.Pos" /> to add.</param>
+        <param name="right">The second <see cref="T:Terminal.Gui.Pos" /> to add.</param>
+        <summary>
+            Adds a <see cref="T:Terminal.Gui.Pos" /> to a <see cref="T:Terminal.Gui.Pos" />, yielding a new <see cref="T:Terminal.Gui.Pos" />.
+            </summary>
+        <returns>The <see cref="T:Terminal.Gui.Pos" /> that is the sum of the values of <c>left</c> and <c>right</c>.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="op_Implicit">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Dim op_Implicit (int n);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname class Terminal.Gui.Dim op_Implicit(int32 n) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Dim</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="n" Type="System.Int32" />
+      </Parameters>
+      <Docs>
+        <param name="n">The value to convert to the pos.</param>
+        <summary>
+            Creates an Absolute Pos from the specified integer value.
+            </summary>
+        <returns>The Absolute Pos.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="op_Subtraction">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Dim op_Subtraction (Terminal.Gui.Dim left, Terminal.Gui.Dim right);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname class Terminal.Gui.Dim op_Subtraction(class Terminal.Gui.Dim left, class Terminal.Gui.Dim right) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Dim</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="left" Type="Terminal.Gui.Dim" />
+        <Parameter Name="right" Type="Terminal.Gui.Dim" />
+      </Parameters>
+      <Docs>
+        <param name="left">The <see cref="T:Terminal.Gui.Pos" /> to subtract from (the minuend).</param>
+        <param name="right">The <see cref="T:Terminal.Gui.Pos" /> to subtract (the subtrahend).</param>
+        <summary>
+            Subtracts a <see cref="T:Terminal.Gui.Pos" /> from a <see cref="T:Terminal.Gui.Pos" />, yielding a new <see cref="T:Terminal.Gui.Pos" />.
+            </summary>
+        <returns>The <see cref="T:Terminal.Gui.Pos" /> that is the <c>left</c> minus <c>right</c>.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="Percent">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Dim Percent (float n);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class Terminal.Gui.Dim Percent(float32 n) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Dim</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="n" Type="System.Single" />
+      </Parameters>
+      <Docs>
+        <param name="n">A value between 0 and 100 representing the percentage.</param>
+        <summary>
+            Creates a percentage Dim object
+            </summary>
+        <returns>The percent Dim object.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+  </Members>
+</Type>

+ 54 - 0
ecmadocs/en/Terminal.Gui/LayoutStyle.xml

@@ -0,0 +1,54 @@
+<Type Name="LayoutStyle" FullName="Terminal.Gui.LayoutStyle">
+  <TypeSignature Language="C#" Value="public enum LayoutStyle" />
+  <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed LayoutStyle extends System.Enum" />
+  <AssemblyInfo>
+    <AssemblyName>Terminal.Gui</AssemblyName>
+    <AssemblyVersion>1.0.0.0</AssemblyVersion>
+  </AssemblyInfo>
+  <Base>
+    <BaseTypeName>System.Enum</BaseTypeName>
+  </Base>
+  <Docs>
+    <summary>
+            Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the
+            value from the Frame will be used, if the value is Computer, then the Frame 
+            will be updated from the X, Y Pos objets and the Width and Heigh Dim objects.
+            </summary>
+    <remarks>To be added.</remarks>
+  </Docs>
+  <Members>
+    <Member MemberName="Absolute">
+      <MemberSignature Language="C#" Value="Absolute" />
+      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Terminal.Gui.LayoutStyle Absolute = int32(0)" />
+      <MemberType>Field</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.LayoutStyle</ReturnType>
+      </ReturnValue>
+      <Docs>
+        <summary>
+            The position and size of the view are based on the Frame value.
+            </summary>
+      </Docs>
+    </Member>
+    <Member MemberName="Computed">
+      <MemberSignature Language="C#" Value="Computed" />
+      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Terminal.Gui.LayoutStyle Computed = int32(1)" />
+      <MemberType>Field</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.LayoutStyle</ReturnType>
+      </ReturnValue>
+      <Docs>
+        <summary>
+            The position and size of the view will be computed based on the
+            X, Y, Width and Height properties and set on the Frame.
+            </summary>
+      </Docs>
+    </Member>
+  </Members>
+</Type>

+ 181 - 0
ecmadocs/en/Terminal.Gui/Pos.xml

@@ -0,0 +1,181 @@
+<Type Name="Pos" FullName="Terminal.Gui.Pos">
+  <TypeSignature Language="C#" Value="public class Pos" />
+  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Pos extends System.Object" />
+  <AssemblyInfo>
+    <AssemblyName>Terminal.Gui</AssemblyName>
+    <AssemblyVersion>1.0.0.0</AssemblyVersion>
+  </AssemblyInfo>
+  <Base>
+    <BaseTypeName>System.Object</BaseTypeName>
+  </Base>
+  <Interfaces />
+  <Docs>
+    <summary>
+            Describes a position which can be an absolute value, a percentage, centered, or 
+            relative to the ending dimension.   Integer values are implicitly convertible to
+            an absolute Pos.    These objects are created using the static methods Percent,
+            AnchorEnd and Center.   The Pos objects can be combined with the addition and 
+            subtraction operators.
+            </summary>
+    <remarks>
+      <para>
+                Use the Pos objects on the X or Y properties of a view to control the position.
+              </para>
+      <para>
+                These can be used to set the absolute position, when merely assigning an
+                integer value (via the implicit integer to Pos conversion), and they can be combined
+                to produce more useful layouts, like: Pos.Center - 3, which would shift the postion
+                of the view 3 characters to the left after centering for example.
+              </para>
+    </remarks>
+  </Docs>
+  <Members>
+    <Member MemberName=".ctor">
+      <MemberSignature Language="C#" Value="public Pos ();" />
+      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
+      <MemberType>Constructor</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <Parameters />
+      <Docs>
+        <summary>To be added.</summary>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="AnchorEnd">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Pos AnchorEnd (int margin = 0);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class Terminal.Gui.Pos AnchorEnd(int32 margin) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Pos</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="margin" Type="System.Int32" />
+      </Parameters>
+      <Docs>
+        <param name="margin">Optional margin to set aside.</param>
+        <summary>
+            Creates a Pos object that is anchored to the end of the dimension, useful to flush 
+            the layout from the end.
+            </summary>
+        <returns>The Pos object anchored to the end (the bottom or the right side).</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="Center">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Pos Center ();" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class Terminal.Gui.Pos Center() cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Pos</ReturnType>
+      </ReturnValue>
+      <Parameters />
+      <Docs>
+        <summary>
+            Returns a Pos object that can be used to center the views.
+            </summary>
+        <returns>The center Pos.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="op_Addition">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Pos op_Addition (Terminal.Gui.Pos left, Terminal.Gui.Pos right);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname class Terminal.Gui.Pos op_Addition(class Terminal.Gui.Pos left, class Terminal.Gui.Pos right) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Pos</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="left" Type="Terminal.Gui.Pos" />
+        <Parameter Name="right" Type="Terminal.Gui.Pos" />
+      </Parameters>
+      <Docs>
+        <param name="left">The first <see cref="T:Terminal.Gui.Pos" /> to add.</param>
+        <param name="right">The second <see cref="T:Terminal.Gui.Pos" /> to add.</param>
+        <summary>
+            Adds a <see cref="T:Terminal.Gui.Pos" /> to a <see cref="T:Terminal.Gui.Pos" />, yielding a new <see cref="T:Terminal.Gui.Pos" />.
+            </summary>
+        <returns>The <see cref="T:Terminal.Gui.Pos" /> that is the sum of the values of <c>left</c> and <c>right</c>.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="op_Implicit">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Pos op_Implicit (int n);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname class Terminal.Gui.Pos op_Implicit(int32 n) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Pos</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="n" Type="System.Int32" />
+      </Parameters>
+      <Docs>
+        <param name="n">The value to convert to the pos.</param>
+        <summary>
+            Creates an Absolute Pos from the specified integer value.
+            </summary>
+        <returns>The Absolute Pos.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="op_Subtraction">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Pos op_Subtraction (Terminal.Gui.Pos left, Terminal.Gui.Pos right);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname class Terminal.Gui.Pos op_Subtraction(class Terminal.Gui.Pos left, class Terminal.Gui.Pos right) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Pos</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="left" Type="Terminal.Gui.Pos" />
+        <Parameter Name="right" Type="Terminal.Gui.Pos" />
+      </Parameters>
+      <Docs>
+        <param name="left">The <see cref="T:Terminal.Gui.Pos" /> to subtract from (the minuend).</param>
+        <param name="right">The <see cref="T:Terminal.Gui.Pos" /> to subtract (the subtrahend).</param>
+        <summary>
+            Subtracts a <see cref="T:Terminal.Gui.Pos" /> from a <see cref="T:Terminal.Gui.Pos" />, yielding a new <see cref="T:Terminal.Gui.Pos" />.
+            </summary>
+        <returns>The <see cref="T:Terminal.Gui.Pos" /> that is the <c>left</c> minus <c>right</c>.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+    <Member MemberName="Percent">
+      <MemberSignature Language="C#" Value="public static Terminal.Gui.Pos Percent (float n);" />
+      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class Terminal.Gui.Pos Percent(float32 n) cil managed" />
+      <MemberType>Method</MemberType>
+      <AssemblyInfo>
+        <AssemblyVersion>1.0.0.0</AssemblyVersion>
+      </AssemblyInfo>
+      <ReturnValue>
+        <ReturnType>Terminal.Gui.Pos</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="n" Type="System.Single" />
+      </Parameters>
+      <Docs>
+        <param name="n">A value between 0 and 100 representing the percentage.</param>
+        <summary>
+            Creates a percentage Pos object
+            </summary>
+        <returns>The percent Pos object.</returns>
+        <remarks>To be added.</remarks>
+      </Docs>
+    </Member>
+  </Members>
+</Type>