Files
Terminal.Gui/docfx/api/Terminal.Gui/Terminal.Gui.Attribute.yml
2019-05-20 21:11:22 -04:00

192 lines
6.2 KiB
YAML

### 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