2
0

Terminal.Gui.Dim.yml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. ### YamlMime:ManagedReference
  2. items:
  3. - uid: Terminal.Gui.Dim
  4. id: Dim
  5. children:
  6. - Terminal.Gui.Dim.#ctor
  7. - Terminal.Gui.Dim.Fill(System.Int32)
  8. - Terminal.Gui.Dim.Height(Terminal.Gui.View)
  9. - Terminal.Gui.Dim.op_Addition(Terminal.Gui.Dim,Terminal.Gui.Dim)
  10. - Terminal.Gui.Dim.op_Implicit(System.Int32 to Terminal.Gui.Dim)
  11. - Terminal.Gui.Dim.op_Subtraction(Terminal.Gui.Dim,Terminal.Gui.Dim)
  12. - Terminal.Gui.Dim.Percent(System.Single)
  13. - Terminal.Gui.Dim.Sized(System.Int32)
  14. - Terminal.Gui.Dim.Width(Terminal.Gui.View)
  15. langs:
  16. - csharp
  17. name: Dim
  18. nameWithType: Dim
  19. fullName: Terminal.Gui.Dim
  20. type: Class
  21. assemblies:
  22. - Terminal.Gui
  23. namespace: Terminal.Gui
  24. remarks: >-
  25. <p>
  26. Use the Dim objects on the Width or Height properties of a view to control the position.
  27. </p>
  28. <p>
  29. These can be used to set the absolute position, when merely assigning an
  30. integer value (via the implicit integer to Pos conversion), and they can be combined
  31. to produce more useful layouts, like: Pos.Center - 3, which would shift the postion
  32. of the view 3 characters to the left after centering for example.
  33. </p>
  34. syntax:
  35. content: public class Dim
  36. inheritance:
  37. - System.Object
  38. implements: []
  39. inheritedMembers: []
  40. - uid: Terminal.Gui.Dim.#ctor
  41. id: '#ctor'
  42. parent: Terminal.Gui.Dim
  43. langs:
  44. - csharp
  45. name: Dim()
  46. nameWithType: Dim.Dim()
  47. fullName: Dim.Dim()
  48. type: Constructor
  49. assemblies:
  50. - Terminal.Gui
  51. namespace: Terminal.Gui
  52. syntax:
  53. content: public Dim ();
  54. parameters: []
  55. overload: Terminal.Gui.Dim.#ctor*
  56. exceptions: []
  57. - uid: Terminal.Gui.Dim.Fill(System.Int32)
  58. id: Fill(System.Int32)
  59. parent: Terminal.Gui.Dim
  60. langs:
  61. - csharp
  62. name: Fill(Int32)
  63. nameWithType: Dim.Fill(Int32)
  64. fullName: Dim.Fill(Int32)
  65. type: Method
  66. assemblies:
  67. - Terminal.Gui
  68. namespace: Terminal.Gui
  69. summary: Creates a Dim object that fills the dimension, but leaves the specified number of colums for a margin.
  70. syntax:
  71. content: public static Terminal.Gui.Dim Fill (int margin = 0);
  72. parameters:
  73. - id: margin
  74. type: System.Int32
  75. description: Margin to use.
  76. return:
  77. type: Terminal.Gui.Dim
  78. description: The Fill dimension.
  79. overload: Terminal.Gui.Dim.Fill*
  80. exceptions: []
  81. - uid: Terminal.Gui.Dim.Height(Terminal.Gui.View)
  82. id: Height(Terminal.Gui.View)
  83. parent: Terminal.Gui.Dim
  84. langs:
  85. - csharp
  86. name: Height(View)
  87. nameWithType: Dim.Height(View)
  88. fullName: Dim.Height(View)
  89. type: Method
  90. assemblies:
  91. - Terminal.Gui
  92. namespace: Terminal.Gui
  93. summary: Returns a Dim object tracks the Height of the specified view.
  94. syntax:
  95. content: public static Terminal.Gui.Dim Height (Terminal.Gui.View view);
  96. parameters:
  97. - id: view
  98. type: Terminal.Gui.View
  99. description: The view that will be tracked.
  100. return:
  101. type: Terminal.Gui.Dim
  102. description: The dimension of the other view.
  103. overload: Terminal.Gui.Dim.Height*
  104. exceptions: []
  105. - uid: Terminal.Gui.Dim.op_Addition(Terminal.Gui.Dim,Terminal.Gui.Dim)
  106. id: op_Addition(Terminal.Gui.Dim,Terminal.Gui.Dim)
  107. parent: Terminal.Gui.Dim
  108. langs:
  109. - csharp
  110. name: op_Addition(Dim, Dim)
  111. nameWithType: Dim.op_Addition(Dim, Dim)
  112. fullName: Dim.op_Addition(Dim, Dim)
  113. type: Operator
  114. assemblies:
  115. - Terminal.Gui
  116. namespace: Terminal.Gui
  117. 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>.
  118. syntax:
  119. content: public static Terminal.Gui.Dim op_Addition (Terminal.Gui.Dim left, Terminal.Gui.Dim right);
  120. parameters:
  121. - id: left
  122. type: Terminal.Gui.Dim
  123. description: The first <xref href="Terminal.Gui.Pos"></xref> to add.
  124. - id: right
  125. type: Terminal.Gui.Dim
  126. description: The second <xref href="Terminal.Gui.Pos"></xref> to add.
  127. return:
  128. type: Terminal.Gui.Dim
  129. description: The <xref href="Terminal.Gui.Pos"></xref> that is the sum of the values of <code>left</code> and <code>right</code>.
  130. overload: Terminal.Gui.Dim.op_Addition*
  131. exceptions: []
  132. - uid: Terminal.Gui.Dim.op_Implicit(System.Int32 to Terminal.Gui.Dim)
  133. id: op_Implicit(System.Int32 to Terminal.Gui.Dim)
  134. parent: Terminal.Gui.Dim
  135. langs:
  136. - csharp
  137. name: op_Implicit(Int32 to Dim)
  138. nameWithType: Dim.op_Implicit(Int32 to Dim)
  139. fullName: Dim.op_Implicit(Int32 to Dim)
  140. type: Operator
  141. assemblies:
  142. - Terminal.Gui
  143. namespace: Terminal.Gui
  144. summary: Creates an Absolute Pos from the specified integer value.
  145. syntax:
  146. content: public static Terminal.Gui.Dim op_Implicit (int n);
  147. parameters:
  148. - id: n
  149. type: System.Int32
  150. description: The value to convert to the pos.
  151. return:
  152. type: Terminal.Gui.Dim
  153. description: The Absolute Pos.
  154. overload: Terminal.Gui.Dim.op_Implicit*
  155. exceptions: []
  156. - uid: Terminal.Gui.Dim.op_Subtraction(Terminal.Gui.Dim,Terminal.Gui.Dim)
  157. id: op_Subtraction(Terminal.Gui.Dim,Terminal.Gui.Dim)
  158. parent: Terminal.Gui.Dim
  159. langs:
  160. - csharp
  161. name: op_Subtraction(Dim, Dim)
  162. nameWithType: Dim.op_Subtraction(Dim, Dim)
  163. fullName: Dim.op_Subtraction(Dim, Dim)
  164. type: Operator
  165. assemblies:
  166. - Terminal.Gui
  167. namespace: Terminal.Gui
  168. 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>.
  169. syntax:
  170. content: public static Terminal.Gui.Dim op_Subtraction (Terminal.Gui.Dim left, Terminal.Gui.Dim right);
  171. parameters:
  172. - id: left
  173. type: Terminal.Gui.Dim
  174. description: The <xref href="Terminal.Gui.Pos"></xref> to subtract from (the minuend).
  175. - id: right
  176. type: Terminal.Gui.Dim
  177. description: The <xref href="Terminal.Gui.Pos"></xref> to subtract (the subtrahend).
  178. return:
  179. type: Terminal.Gui.Dim
  180. description: The <xref href="Terminal.Gui.Pos"></xref> that is the <code>left</code> minus <code>right</code>.
  181. overload: Terminal.Gui.Dim.op_Subtraction*
  182. exceptions: []
  183. - uid: Terminal.Gui.Dim.Percent(System.Single)
  184. id: Percent(System.Single)
  185. parent: Terminal.Gui.Dim
  186. langs:
  187. - csharp
  188. name: Percent(Single)
  189. nameWithType: Dim.Percent(Single)
  190. fullName: Dim.Percent(Single)
  191. type: Method
  192. assemblies:
  193. - Terminal.Gui
  194. namespace: Terminal.Gui
  195. summary: Creates a percentage Dim object
  196. syntax:
  197. content: public static Terminal.Gui.Dim Percent (float n);
  198. parameters:
  199. - id: n
  200. type: System.Single
  201. description: A value between 0 and 100 representing the percentage.
  202. return:
  203. type: Terminal.Gui.Dim
  204. description: The percent Dim object.
  205. overload: Terminal.Gui.Dim.Percent*
  206. exceptions: []
  207. - uid: Terminal.Gui.Dim.Sized(System.Int32)
  208. id: Sized(System.Int32)
  209. parent: Terminal.Gui.Dim
  210. langs:
  211. - csharp
  212. name: Sized(Int32)
  213. nameWithType: Dim.Sized(Int32)
  214. fullName: Dim.Sized(Int32)
  215. type: Method
  216. assemblies:
  217. - Terminal.Gui
  218. namespace: Terminal.Gui
  219. summary: Creates an Absolute Pos from the specified integer value.
  220. syntax:
  221. content: public static Terminal.Gui.Dim Sized (int n);
  222. parameters:
  223. - id: n
  224. type: System.Int32
  225. description: The value to convert to the pos.
  226. return:
  227. type: Terminal.Gui.Dim
  228. description: The Absolute Pos.
  229. overload: Terminal.Gui.Dim.Sized*
  230. exceptions: []
  231. - uid: Terminal.Gui.Dim.Width(Terminal.Gui.View)
  232. id: Width(Terminal.Gui.View)
  233. parent: Terminal.Gui.Dim
  234. langs:
  235. - csharp
  236. name: Width(View)
  237. nameWithType: Dim.Width(View)
  238. fullName: Dim.Width(View)
  239. type: Method
  240. assemblies:
  241. - Terminal.Gui
  242. namespace: Terminal.Gui
  243. summary: Returns a Dim object tracks the Width of the specified view.
  244. syntax:
  245. content: public static Terminal.Gui.Dim Width (Terminal.Gui.View view);
  246. parameters:
  247. - id: view
  248. type: Terminal.Gui.View
  249. description: The view that will be tracked.
  250. return:
  251. type: Terminal.Gui.Dim
  252. description: The dimension of the other view.
  253. overload: Terminal.Gui.Dim.Width*
  254. exceptions: []
  255. references:
  256. - uid: System.Object
  257. parent: System
  258. isExternal: true
  259. name: Object
  260. nameWithType: Object
  261. fullName: System.Object
  262. - uid: Terminal.Gui.Dim.#ctor
  263. parent: Terminal.Gui.Dim
  264. isExternal: false
  265. name: Dim()
  266. nameWithType: Dim.Dim()
  267. fullName: Dim.Dim()
  268. - uid: Terminal.Gui.Dim.Fill(System.Int32)
  269. parent: Terminal.Gui.Dim
  270. isExternal: false
  271. name: Fill(Int32)
  272. nameWithType: Dim.Fill(Int32)
  273. fullName: Dim.Fill(Int32)
  274. - uid: Terminal.Gui.Dim
  275. parent: Terminal.Gui
  276. isExternal: false
  277. name: Dim
  278. nameWithType: Dim
  279. fullName: Terminal.Gui.Dim
  280. - uid: System.Int32
  281. parent: System
  282. isExternal: true
  283. name: Int32
  284. nameWithType: Int32
  285. fullName: System.Int32
  286. - uid: Terminal.Gui.Dim.Height(Terminal.Gui.View)
  287. parent: Terminal.Gui.Dim
  288. isExternal: false
  289. name: Height(View)
  290. nameWithType: Dim.Height(View)
  291. fullName: Dim.Height(View)
  292. - uid: Terminal.Gui.View
  293. parent: Terminal.Gui
  294. isExternal: false
  295. name: View
  296. nameWithType: View
  297. fullName: Terminal.Gui.View
  298. - uid: Terminal.Gui.Dim.op_Addition(Terminal.Gui.Dim,Terminal.Gui.Dim)
  299. parent: Terminal.Gui.Dim
  300. isExternal: false
  301. name: op_Addition(Dim, Dim)
  302. nameWithType: Dim.op_Addition(Dim, Dim)
  303. fullName: Dim.op_Addition(Dim, Dim)
  304. - uid: Terminal.Gui.Dim.op_Implicit(System.Int32 to Terminal.Gui.Dim)
  305. parent: Terminal.Gui.Dim
  306. isExternal: false
  307. name: op_Implicit(Int32 to Dim)
  308. nameWithType: Dim.op_Implicit(Int32 to Dim)
  309. fullName: Dim.op_Implicit(Int32 to Dim)
  310. - uid: Terminal.Gui.Dim.op_Subtraction(Terminal.Gui.Dim,Terminal.Gui.Dim)
  311. parent: Terminal.Gui.Dim
  312. isExternal: false
  313. name: op_Subtraction(Dim, Dim)
  314. nameWithType: Dim.op_Subtraction(Dim, Dim)
  315. fullName: Dim.op_Subtraction(Dim, Dim)
  316. - uid: Terminal.Gui.Dim.Percent(System.Single)
  317. parent: Terminal.Gui.Dim
  318. isExternal: false
  319. name: Percent(Single)
  320. nameWithType: Dim.Percent(Single)
  321. fullName: Dim.Percent(Single)
  322. - uid: System.Single
  323. parent: System
  324. isExternal: true
  325. name: Single
  326. nameWithType: Single
  327. fullName: System.Single
  328. - uid: Terminal.Gui.Dim.Sized(System.Int32)
  329. parent: Terminal.Gui.Dim
  330. isExternal: false
  331. name: Sized(Int32)
  332. nameWithType: Dim.Sized(Int32)
  333. fullName: Dim.Sized(Int32)
  334. - uid: Terminal.Gui.Dim.Width(Terminal.Gui.View)
  335. parent: Terminal.Gui.Dim
  336. isExternal: false
  337. name: Width(View)
  338. nameWithType: Dim.Width(View)
  339. fullName: Dim.Width(View)
  340. - uid: Terminal.Gui.Dim.#ctor*
  341. parent: Terminal.Gui.Dim
  342. isExternal: false
  343. name: Dim
  344. nameWithType: Dim.Dim
  345. fullName: Dim.Dim
  346. - uid: Terminal.Gui.Dim.Fill*
  347. parent: Terminal.Gui.Dim
  348. isExternal: false
  349. name: Fill
  350. nameWithType: Dim.Fill
  351. fullName: Dim.Fill
  352. - uid: Terminal.Gui.Dim.Height*
  353. parent: Terminal.Gui.Dim
  354. isExternal: false
  355. name: Height
  356. nameWithType: Dim.Height
  357. fullName: Dim.Height
  358. - uid: Terminal.Gui.Dim.op_Addition*
  359. parent: Terminal.Gui.Dim
  360. isExternal: false
  361. name: op_Addition
  362. nameWithType: Dim.op_Addition
  363. fullName: Dim.op_Addition
  364. - uid: Terminal.Gui.Dim.op_Implicit*
  365. parent: Terminal.Gui.Dim
  366. isExternal: false
  367. name: op_Implicit
  368. nameWithType: Dim.op_Implicit
  369. fullName: Dim.op_Implicit
  370. - uid: Terminal.Gui.Dim.op_Subtraction*
  371. parent: Terminal.Gui.Dim
  372. isExternal: false
  373. name: op_Subtraction
  374. nameWithType: Dim.op_Subtraction
  375. fullName: Dim.op_Subtraction
  376. - uid: Terminal.Gui.Dim.Percent*
  377. parent: Terminal.Gui.Dim
  378. isExternal: false
  379. name: Percent
  380. nameWithType: Dim.Percent
  381. fullName: Dim.Percent
  382. - uid: Terminal.Gui.Dim.Sized*
  383. parent: Terminal.Gui.Dim
  384. isExternal: false
  385. name: Sized
  386. nameWithType: Dim.Sized
  387. fullName: Dim.Sized
  388. - uid: Terminal.Gui.Dim.Width*
  389. parent: Terminal.Gui.Dim
  390. isExternal: false
  391. name: Width
  392. nameWithType: Dim.Width
  393. fullName: Dim.Width