123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- ### YamlMime:ManagedReference
- items:
- - uid: Terminal.Gui.Attribute
- id: Attribute
- children:
- - Terminal.Gui.Attribute.#ctor(System.Int32)
- - Terminal.Gui.Attribute.Make(Terminal.Gui.Color,Terminal.Gui.Color)
- - Terminal.Gui.Attribute.op_Implicit(System.Int32 to Terminal.Gui.Attribute)
- - Terminal.Gui.Attribute.op_Implicit(Terminal.Gui.Attribute to System.Int32)
- langs:
- - csharp
- name: Attribute
- nameWithType: Attribute
- fullName: Terminal.Gui.Attribute
- type: Struct
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Attributes are used as elements that contain both a foreground and a background or platform specific features
- remarks: >-
- Attributes are needed to map colors to terminal capabilities that might lack colors, on color
- scenarios, they encode both the foreground and the background color and are used in the ColorScheme
- class to define color schemes that can be used in your application.
- syntax:
- content: public struct Attribute
- inheritance:
- - System.ValueType
- implements: []
- - uid: Terminal.Gui.Attribute.#ctor(System.Int32)
- id: '#ctor(System.Int32)'
- parent: Terminal.Gui.Attribute
- langs:
- - csharp
- name: Attribute(Int32)
- nameWithType: Attribute.Attribute(Int32)
- fullName: Attribute.Attribute(Int32)
- type: Constructor
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Initializes a new instance of the <xref href="Terminal.Gui.Attribute"></xref> struct.
- syntax:
- content: public Attribute (int value);
- parameters:
- - id: value
- type: System.Int32
- description: Value.
- overload: Terminal.Gui.Attribute.#ctor*
- exceptions: []
- - uid: Terminal.Gui.Attribute.Make(Terminal.Gui.Color,Terminal.Gui.Color)
- id: Make(Terminal.Gui.Color,Terminal.Gui.Color)
- parent: Terminal.Gui.Attribute
- langs:
- - csharp
- name: Make(Color, Color)
- nameWithType: Attribute.Make(Color, Color)
- fullName: Attribute.Make(Color, Color)
- type: Method
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Creates an attribute from the specified foreground and background.
- syntax:
- content: public static Terminal.Gui.Attribute Make (Terminal.Gui.Color foreground, Terminal.Gui.Color background);
- parameters:
- - id: foreground
- type: Terminal.Gui.Color
- description: Foreground color to use.
- - id: background
- type: Terminal.Gui.Color
- description: Background color to use.
- return:
- type: Terminal.Gui.Attribute
- description: The make.
- overload: Terminal.Gui.Attribute.Make*
- exceptions: []
- - uid: Terminal.Gui.Attribute.op_Implicit(System.Int32 to Terminal.Gui.Attribute)
- id: op_Implicit(System.Int32 to Terminal.Gui.Attribute)
- parent: Terminal.Gui.Attribute
- langs:
- - csharp
- name: op_Implicit(Int32 to Attribute)
- nameWithType: Attribute.op_Implicit(Int32 to Attribute)
- fullName: Attribute.op_Implicit(Int32 to Attribute)
- type: Operator
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Implicitly convert an integer value into an attribute
- syntax:
- content: public static Terminal.Gui.Attribute op_Implicit (int v);
- parameters:
- - id: v
- type: System.Int32
- description: value
- return:
- type: Terminal.Gui.Attribute
- description: An attribute with the specified integer value.
- overload: Terminal.Gui.Attribute.op_Implicit*
- exceptions: []
- - uid: Terminal.Gui.Attribute.op_Implicit(Terminal.Gui.Attribute to System.Int32)
- id: op_Implicit(Terminal.Gui.Attribute to System.Int32)
- parent: Terminal.Gui.Attribute
- langs:
- - csharp
- name: op_Implicit(Attribute to Int32)
- nameWithType: Attribute.op_Implicit(Attribute to Int32)
- fullName: Attribute.op_Implicit(Attribute to Int32)
- type: Operator
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Implicit conversion from an attribute to the underlying Int32 representation
- syntax:
- content: public static int op_Implicit (Terminal.Gui.Attribute c);
- parameters:
- - id: c
- type: Terminal.Gui.Attribute
- description: The attribute to convert
- return:
- type: System.Int32
- description: The integer value stored in the attribute.
- overload: Terminal.Gui.Attribute.op_Implicit*
- exceptions: []
- references:
- - uid: System.ValueType
- parent: System
- isExternal: true
- name: ValueType
- nameWithType: ValueType
- fullName: System.ValueType
- - uid: Terminal.Gui.Attribute.#ctor(System.Int32)
- parent: Terminal.Gui.Attribute
- isExternal: false
- name: Attribute(Int32)
- nameWithType: Attribute.Attribute(Int32)
- fullName: Attribute.Attribute(Int32)
- - uid: System.Int32
- parent: System
- isExternal: true
- name: Int32
- nameWithType: Int32
- fullName: System.Int32
- - uid: Terminal.Gui.Attribute.Make(Terminal.Gui.Color,Terminal.Gui.Color)
- parent: Terminal.Gui.Attribute
- isExternal: false
- name: Make(Color, Color)
- nameWithType: Attribute.Make(Color, Color)
- fullName: Attribute.Make(Color, Color)
- - uid: Terminal.Gui.Attribute
- parent: Terminal.Gui
- isExternal: false
- name: Attribute
- nameWithType: Attribute
- fullName: Terminal.Gui.Attribute
- - uid: Terminal.Gui.Color
- parent: Terminal.Gui
- isExternal: false
- name: Color
- nameWithType: Color
- fullName: Terminal.Gui.Color
- - uid: Terminal.Gui.Attribute.op_Implicit(System.Int32 to Terminal.Gui.Attribute)
- parent: Terminal.Gui.Attribute
- isExternal: false
- name: op_Implicit(Int32 to Attribute)
- nameWithType: Attribute.op_Implicit(Int32 to Attribute)
- fullName: Attribute.op_Implicit(Int32 to Attribute)
- - uid: Terminal.Gui.Attribute.op_Implicit(Terminal.Gui.Attribute to System.Int32)
- parent: Terminal.Gui.Attribute
- isExternal: false
- name: op_Implicit(Attribute to Int32)
- nameWithType: Attribute.op_Implicit(Attribute to Int32)
- fullName: Attribute.op_Implicit(Attribute to Int32)
- - uid: Terminal.Gui.Attribute.#ctor*
- parent: Terminal.Gui.Attribute
- isExternal: false
- name: Attribute
- nameWithType: Attribute.Attribute
- fullName: Attribute.Attribute
- - uid: Terminal.Gui.Attribute.Make*
- parent: Terminal.Gui.Attribute
- isExternal: false
- name: Make
- nameWithType: Attribute.Make
- fullName: Attribute.Make
- - uid: Terminal.Gui.Attribute.op_Implicit*
- parent: Terminal.Gui.Attribute
- isExternal: false
- name: op_Implicit
- nameWithType: Attribute.op_Implicit
- fullName: Attribute.op_Implicit
|