123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393 |
- ### YamlMime:ManagedReference
- items:
- - uid: Terminal.Gui.Dim
- id: Dim
- children:
- - Terminal.Gui.Dim.#ctor
- - Terminal.Gui.Dim.Fill(System.Int32)
- - Terminal.Gui.Dim.Height(Terminal.Gui.View)
- - 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)
- - Terminal.Gui.Dim.Sized(System.Int32)
- - Terminal.Gui.Dim.Width(Terminal.Gui.View)
- 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.Height(Terminal.Gui.View)
- id: Height(Terminal.Gui.View)
- parent: Terminal.Gui.Dim
- langs:
- - csharp
- name: Height(View)
- nameWithType: Dim.Height(View)
- fullName: Dim.Height(View)
- type: Method
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Returns a Dim object tracks the Height of the specified view.
- syntax:
- content: public static Terminal.Gui.Dim Height (Terminal.Gui.View view);
- parameters:
- - id: view
- type: Terminal.Gui.View
- description: The view that will be tracked.
- return:
- type: Terminal.Gui.Dim
- description: The dimension of the other view.
- overload: Terminal.Gui.Dim.Height*
- 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: []
- - uid: Terminal.Gui.Dim.Sized(System.Int32)
- id: Sized(System.Int32)
- parent: Terminal.Gui.Dim
- langs:
- - csharp
- name: Sized(Int32)
- nameWithType: Dim.Sized(Int32)
- fullName: Dim.Sized(Int32)
- type: Method
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Creates an Absolute Pos from the specified integer value.
- syntax:
- content: public static Terminal.Gui.Dim Sized (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.Sized*
- exceptions: []
- - uid: Terminal.Gui.Dim.Width(Terminal.Gui.View)
- id: Width(Terminal.Gui.View)
- parent: Terminal.Gui.Dim
- langs:
- - csharp
- name: Width(View)
- nameWithType: Dim.Width(View)
- fullName: Dim.Width(View)
- type: Method
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Returns a Dim object tracks the Width of the specified view.
- syntax:
- content: public static Terminal.Gui.Dim Width (Terminal.Gui.View view);
- parameters:
- - id: view
- type: Terminal.Gui.View
- description: The view that will be tracked.
- return:
- type: Terminal.Gui.Dim
- description: The dimension of the other view.
- overload: Terminal.Gui.Dim.Width*
- 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.Height(Terminal.Gui.View)
- parent: Terminal.Gui.Dim
- isExternal: false
- name: Height(View)
- nameWithType: Dim.Height(View)
- fullName: Dim.Height(View)
- - uid: Terminal.Gui.View
- parent: Terminal.Gui
- isExternal: false
- name: View
- nameWithType: View
- fullName: Terminal.Gui.View
- - 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.Sized(System.Int32)
- parent: Terminal.Gui.Dim
- isExternal: false
- name: Sized(Int32)
- nameWithType: Dim.Sized(Int32)
- fullName: Dim.Sized(Int32)
- - uid: Terminal.Gui.Dim.Width(Terminal.Gui.View)
- parent: Terminal.Gui.Dim
- isExternal: false
- name: Width(View)
- nameWithType: Dim.Width(View)
- fullName: Dim.Width(View)
- - 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.Height*
- parent: Terminal.Gui.Dim
- isExternal: false
- name: Height
- nameWithType: Dim.Height
- fullName: Dim.Height
- - 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
- - uid: Terminal.Gui.Dim.Sized*
- parent: Terminal.Gui.Dim
- isExternal: false
- name: Sized
- nameWithType: Dim.Sized
- fullName: Dim.Sized
- - uid: Terminal.Gui.Dim.Width*
- parent: Terminal.Gui.Dim
- isExternal: false
- name: Width
- nameWithType: Dim.Width
- fullName: Dim.Width
|