Terminal.Gui.Attribute.yml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. ### YamlMime:ManagedReference
  2. items:
  3. - uid: Terminal.Gui.Attribute
  4. id: Attribute
  5. children:
  6. - Terminal.Gui.Attribute.#ctor(System.Int32)
  7. - Terminal.Gui.Attribute.Make(Terminal.Gui.Color,Terminal.Gui.Color)
  8. - Terminal.Gui.Attribute.op_Implicit(System.Int32 to Terminal.Gui.Attribute)
  9. - Terminal.Gui.Attribute.op_Implicit(Terminal.Gui.Attribute to System.Int32)
  10. langs:
  11. - csharp
  12. name: Attribute
  13. nameWithType: Attribute
  14. fullName: Terminal.Gui.Attribute
  15. type: Struct
  16. assemblies:
  17. - Terminal.Gui
  18. namespace: Terminal.Gui
  19. summary: Attributes are used as elements that contain both a foreground and a background or platform specific features
  20. remarks: >-
  21. Attributes are needed to map colors to terminal capabilities that might lack colors, on color
  22. scenarios, they encode both the foreground and the background color and are used in the ColorScheme
  23. class to define color schemes that can be used in your application.
  24. syntax:
  25. content: public struct Attribute
  26. inheritance:
  27. - System.ValueType
  28. implements: []
  29. - uid: Terminal.Gui.Attribute.#ctor(System.Int32)
  30. id: '#ctor(System.Int32)'
  31. parent: Terminal.Gui.Attribute
  32. langs:
  33. - csharp
  34. name: Attribute(Int32)
  35. nameWithType: Attribute.Attribute(Int32)
  36. fullName: Attribute.Attribute(Int32)
  37. type: Constructor
  38. assemblies:
  39. - Terminal.Gui
  40. namespace: Terminal.Gui
  41. summary: Initializes a new instance of the <xref href="Terminal.Gui.Attribute"></xref> struct.
  42. syntax:
  43. content: public Attribute (int value);
  44. parameters:
  45. - id: value
  46. type: System.Int32
  47. description: Value.
  48. overload: Terminal.Gui.Attribute.#ctor*
  49. exceptions: []
  50. - uid: Terminal.Gui.Attribute.Make(Terminal.Gui.Color,Terminal.Gui.Color)
  51. id: Make(Terminal.Gui.Color,Terminal.Gui.Color)
  52. parent: Terminal.Gui.Attribute
  53. langs:
  54. - csharp
  55. name: Make(Color, Color)
  56. nameWithType: Attribute.Make(Color, Color)
  57. fullName: Attribute.Make(Color, Color)
  58. type: Method
  59. assemblies:
  60. - Terminal.Gui
  61. namespace: Terminal.Gui
  62. summary: Creates an attribute from the specified foreground and background.
  63. syntax:
  64. content: public static Terminal.Gui.Attribute Make (Terminal.Gui.Color foreground, Terminal.Gui.Color background);
  65. parameters:
  66. - id: foreground
  67. type: Terminal.Gui.Color
  68. description: Foreground color to use.
  69. - id: background
  70. type: Terminal.Gui.Color
  71. description: Background color to use.
  72. return:
  73. type: Terminal.Gui.Attribute
  74. description: The make.
  75. overload: Terminal.Gui.Attribute.Make*
  76. exceptions: []
  77. - uid: Terminal.Gui.Attribute.op_Implicit(System.Int32 to Terminal.Gui.Attribute)
  78. id: op_Implicit(System.Int32 to Terminal.Gui.Attribute)
  79. parent: Terminal.Gui.Attribute
  80. langs:
  81. - csharp
  82. name: op_Implicit(Int32 to Attribute)
  83. nameWithType: Attribute.op_Implicit(Int32 to Attribute)
  84. fullName: Attribute.op_Implicit(Int32 to Attribute)
  85. type: Operator
  86. assemblies:
  87. - Terminal.Gui
  88. namespace: Terminal.Gui
  89. summary: Implicitly convert an integer value into an attribute
  90. syntax:
  91. content: public static Terminal.Gui.Attribute op_Implicit (int v);
  92. parameters:
  93. - id: v
  94. type: System.Int32
  95. description: value
  96. return:
  97. type: Terminal.Gui.Attribute
  98. description: An attribute with the specified integer value.
  99. overload: Terminal.Gui.Attribute.op_Implicit*
  100. exceptions: []
  101. - uid: Terminal.Gui.Attribute.op_Implicit(Terminal.Gui.Attribute to System.Int32)
  102. id: op_Implicit(Terminal.Gui.Attribute to System.Int32)
  103. parent: Terminal.Gui.Attribute
  104. langs:
  105. - csharp
  106. name: op_Implicit(Attribute to Int32)
  107. nameWithType: Attribute.op_Implicit(Attribute to Int32)
  108. fullName: Attribute.op_Implicit(Attribute to Int32)
  109. type: Operator
  110. assemblies:
  111. - Terminal.Gui
  112. namespace: Terminal.Gui
  113. summary: Implicit conversion from an attribute to the underlying Int32 representation
  114. syntax:
  115. content: public static int op_Implicit (Terminal.Gui.Attribute c);
  116. parameters:
  117. - id: c
  118. type: Terminal.Gui.Attribute
  119. description: The attribute to convert
  120. return:
  121. type: System.Int32
  122. description: The integer value stored in the attribute.
  123. overload: Terminal.Gui.Attribute.op_Implicit*
  124. exceptions: []
  125. references:
  126. - uid: System.ValueType
  127. parent: System
  128. isExternal: true
  129. name: ValueType
  130. nameWithType: ValueType
  131. fullName: System.ValueType
  132. - uid: Terminal.Gui.Attribute.#ctor(System.Int32)
  133. parent: Terminal.Gui.Attribute
  134. isExternal: false
  135. name: Attribute(Int32)
  136. nameWithType: Attribute.Attribute(Int32)
  137. fullName: Attribute.Attribute(Int32)
  138. - uid: System.Int32
  139. parent: System
  140. isExternal: true
  141. name: Int32
  142. nameWithType: Int32
  143. fullName: System.Int32
  144. - uid: Terminal.Gui.Attribute.Make(Terminal.Gui.Color,Terminal.Gui.Color)
  145. parent: Terminal.Gui.Attribute
  146. isExternal: false
  147. name: Make(Color, Color)
  148. nameWithType: Attribute.Make(Color, Color)
  149. fullName: Attribute.Make(Color, Color)
  150. - uid: Terminal.Gui.Attribute
  151. parent: Terminal.Gui
  152. isExternal: false
  153. name: Attribute
  154. nameWithType: Attribute
  155. fullName: Terminal.Gui.Attribute
  156. - uid: Terminal.Gui.Color
  157. parent: Terminal.Gui
  158. isExternal: false
  159. name: Color
  160. nameWithType: Color
  161. fullName: Terminal.Gui.Color
  162. - uid: Terminal.Gui.Attribute.op_Implicit(System.Int32 to Terminal.Gui.Attribute)
  163. parent: Terminal.Gui.Attribute
  164. isExternal: false
  165. name: op_Implicit(Int32 to Attribute)
  166. nameWithType: Attribute.op_Implicit(Int32 to Attribute)
  167. fullName: Attribute.op_Implicit(Int32 to Attribute)
  168. - uid: Terminal.Gui.Attribute.op_Implicit(Terminal.Gui.Attribute to System.Int32)
  169. parent: Terminal.Gui.Attribute
  170. isExternal: false
  171. name: op_Implicit(Attribute to Int32)
  172. nameWithType: Attribute.op_Implicit(Attribute to Int32)
  173. fullName: Attribute.op_Implicit(Attribute to Int32)
  174. - uid: Terminal.Gui.Attribute.#ctor*
  175. parent: Terminal.Gui.Attribute
  176. isExternal: false
  177. name: Attribute
  178. nameWithType: Attribute.Attribute
  179. fullName: Attribute.Attribute
  180. - uid: Terminal.Gui.Attribute.Make*
  181. parent: Terminal.Gui.Attribute
  182. isExternal: false
  183. name: Make
  184. nameWithType: Attribute.Make
  185. fullName: Attribute.Make
  186. - uid: Terminal.Gui.Attribute.op_Implicit*
  187. parent: Terminal.Gui.Attribute
  188. isExternal: false
  189. name: op_Implicit
  190. nameWithType: Attribute.op_Implicit
  191. fullName: Attribute.op_Implicit