123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580 |
- ### YamlMime:ManagedReference
- items:
- - uid: Terminal.Gui.Attribute
- commentId: T:Terminal.Gui.Attribute
- id: Attribute
- parent: Terminal.Gui
- children:
- - Terminal.Gui.Attribute.#ctor(System.Int32,Terminal.Gui.Color,Terminal.Gui.Color)
- - Terminal.Gui.Attribute.#ctor(Terminal.Gui.Color,Terminal.Gui.Color)
- - Terminal.Gui.Attribute.Make(Terminal.Gui.Color,Terminal.Gui.Color)
- - Terminal.Gui.Attribute.op_Implicit(System.Int32)~Terminal.Gui.Attribute
- - Terminal.Gui.Attribute.op_Implicit(Terminal.Gui.Attribute)~System.Int32
- langs:
- - csharp
- - vb
- name: Attribute
- nameWithType: Attribute
- fullName: Terminal.Gui.Attribute
- type: Struct
- source:
- remote:
- path: Terminal.Gui/Core/ConsoleDriver.cs
- branch: refactor_core
- repo: tig:tig/gui.cs.git
- id: Attribute
- path: ../Terminal.Gui/Core/ConsoleDriver.cs
- startLine: 90
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: "\nAttributes are used as elements that contain both a foreground and a background or platform specific features\n"
- remarks: "\n<xref href=\"Terminal.Gui.Attribute\" data-throw-if-not-resolved=\"false\"></xref>s are needed to map colors to terminal capabilities that might lack colors, on color\nscenarios, they encode both the foreground and the background color and are used in the <xref href=\"Terminal.Gui.ColorScheme\" data-throw-if-not-resolved=\"false\"></xref>\nclass to define color schemes that can be used in your application.\n"
- example: []
- syntax:
- content: public struct Attribute
- content.vb: Public Structure Attribute
- inheritedMembers:
- - System.ValueType.Equals(System.Object)
- - System.ValueType.GetHashCode
- - System.ValueType.ToString
- - System.Object.Equals(System.Object,System.Object)
- - System.Object.GetType
- - System.Object.ReferenceEquals(System.Object,System.Object)
- modifiers.csharp:
- - public
- - struct
- modifiers.vb:
- - Public
- - Structure
- - uid: Terminal.Gui.Attribute.#ctor(System.Int32,Terminal.Gui.Color,Terminal.Gui.Color)
- commentId: M:Terminal.Gui.Attribute.#ctor(System.Int32,Terminal.Gui.Color,Terminal.Gui.Color)
- id: '#ctor(System.Int32,Terminal.Gui.Color,Terminal.Gui.Color)'
- parent: Terminal.Gui.Attribute
- langs:
- - csharp
- - vb
- name: Attribute(Int32, Color, Color)
- nameWithType: Attribute.Attribute(Int32, Color, Color)
- fullName: Terminal.Gui.Attribute.Attribute(System.Int32, Terminal.Gui.Color, Terminal.Gui.Color)
- type: Constructor
- source:
- remote:
- path: Terminal.Gui/Core/ConsoleDriver.cs
- branch: refactor_core
- repo: tig:tig/gui.cs.git
- id: .ctor
- path: ../Terminal.Gui/Core/ConsoleDriver.cs
- startLine: 101
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: "\nInitializes a new instance of the <xref href=\"Terminal.Gui.Attribute\" data-throw-if-not-resolved=\"false\"></xref> struct.\n"
- example: []
- syntax:
- content: public Attribute(int value, Color foreground = Color.Black, Color background = Color.Black)
- parameters:
- - id: value
- type: System.Int32
- description: Value.
- - id: foreground
- type: Terminal.Gui.Color
- description: Foreground
- - id: background
- type: Terminal.Gui.Color
- description: Background
- content.vb: Public Sub New(value As Integer, foreground As Color = Color.Black, background As Color = Color.Black)
- overload: Terminal.Gui.Attribute.#ctor*
- modifiers.csharp:
- - public
- modifiers.vb:
- - Public
- - uid: Terminal.Gui.Attribute.#ctor(Terminal.Gui.Color,Terminal.Gui.Color)
- commentId: M:Terminal.Gui.Attribute.#ctor(Terminal.Gui.Color,Terminal.Gui.Color)
- id: '#ctor(Terminal.Gui.Color,Terminal.Gui.Color)'
- parent: Terminal.Gui.Attribute
- langs:
- - csharp
- - vb
- name: Attribute(Color, Color)
- nameWithType: Attribute.Attribute(Color, Color)
- fullName: Terminal.Gui.Attribute.Attribute(Terminal.Gui.Color, Terminal.Gui.Color)
- type: Constructor
- source:
- remote:
- path: Terminal.Gui/Core/ConsoleDriver.cs
- branch: refactor_core
- repo: tig:tig/gui.cs.git
- id: .ctor
- path: ../Terminal.Gui/Core/ConsoleDriver.cs
- startLine: 113
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: "\nInitializes a new instance of the <xref href=\"Terminal.Gui.Attribute\" data-throw-if-not-resolved=\"false\"></xref> struct.\n"
- example: []
- syntax:
- content: public Attribute(Color foreground = Color.Black, Color background = Color.Black)
- parameters:
- - id: foreground
- type: Terminal.Gui.Color
- description: Foreground
- - id: background
- type: Terminal.Gui.Color
- description: Background
- content.vb: Public Sub New(foreground As Color = Color.Black, background As Color = Color.Black)
- overload: Terminal.Gui.Attribute.#ctor*
- modifiers.csharp:
- - public
- modifiers.vb:
- - Public
- - uid: Terminal.Gui.Attribute.op_Implicit(Terminal.Gui.Attribute)~System.Int32
- commentId: M:Terminal.Gui.Attribute.op_Implicit(Terminal.Gui.Attribute)~System.Int32
- id: op_Implicit(Terminal.Gui.Attribute)~System.Int32
- parent: Terminal.Gui.Attribute
- langs:
- - csharp
- - vb
- name: Implicit(Attribute to Int32)
- nameWithType: Attribute.Implicit(Attribute to Int32)
- fullName: Terminal.Gui.Attribute.Implicit(Terminal.Gui.Attribute to System.Int32)
- type: Operator
- source:
- remote:
- path: Terminal.Gui/Core/ConsoleDriver.cs
- branch: refactor_core
- repo: tig:tig/gui.cs.git
- id: op_Implicit
- path: ../Terminal.Gui/Core/ConsoleDriver.cs
- startLine: 125
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: "\nImplicit conversion from an <xref href=\"Terminal.Gui.Attribute\" data-throw-if-not-resolved=\"false\"></xref> to the underlying Int32 representation\n"
- example: []
- syntax:
- content: public static implicit operator int (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.
- content.vb: Public Shared Widening Operator CType(c As Attribute) As Integer
- overload: Terminal.Gui.Attribute.op_Implicit*
- nameWithType.vb: Attribute.Widening(Attribute to Int32)
- modifiers.csharp:
- - public
- - static
- modifiers.vb:
- - Public
- - Shared
- fullName.vb: Terminal.Gui.Attribute.Widening(Terminal.Gui.Attribute to System.Int32)
- name.vb: Widening(Attribute to Int32)
- - uid: Terminal.Gui.Attribute.op_Implicit(System.Int32)~Terminal.Gui.Attribute
- commentId: M:Terminal.Gui.Attribute.op_Implicit(System.Int32)~Terminal.Gui.Attribute
- id: op_Implicit(System.Int32)~Terminal.Gui.Attribute
- parent: Terminal.Gui.Attribute
- langs:
- - csharp
- - vb
- name: Implicit(Int32 to Attribute)
- nameWithType: Attribute.Implicit(Int32 to Attribute)
- fullName: Terminal.Gui.Attribute.Implicit(System.Int32 to Terminal.Gui.Attribute)
- type: Operator
- source:
- remote:
- path: Terminal.Gui/Core/ConsoleDriver.cs
- branch: refactor_core
- repo: tig:tig/gui.cs.git
- id: op_Implicit
- path: ../Terminal.Gui/Core/ConsoleDriver.cs
- startLine: 132
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: "\nImplicitly convert an integer value into an <xref href=\"Terminal.Gui.Attribute\" data-throw-if-not-resolved=\"false\"></xref>\n"
- example: []
- syntax:
- content: public static implicit operator Attribute(int v)
- parameters:
- - id: v
- type: System.Int32
- description: value
- return:
- type: Terminal.Gui.Attribute
- description: An attribute with the specified integer value.
- content.vb: Public Shared Widening Operator CType(v As Integer) As Attribute
- overload: Terminal.Gui.Attribute.op_Implicit*
- nameWithType.vb: Attribute.Widening(Int32 to Attribute)
- modifiers.csharp:
- - public
- - static
- modifiers.vb:
- - Public
- - Shared
- fullName.vb: Terminal.Gui.Attribute.Widening(System.Int32 to Terminal.Gui.Attribute)
- name.vb: Widening(Int32 to Attribute)
- - uid: Terminal.Gui.Attribute.Make(Terminal.Gui.Color,Terminal.Gui.Color)
- commentId: M:Terminal.Gui.Attribute.Make(Terminal.Gui.Color,Terminal.Gui.Color)
- id: Make(Terminal.Gui.Color,Terminal.Gui.Color)
- parent: Terminal.Gui.Attribute
- langs:
- - csharp
- - vb
- name: Make(Color, Color)
- nameWithType: Attribute.Make(Color, Color)
- fullName: Terminal.Gui.Attribute.Make(Terminal.Gui.Color, Terminal.Gui.Color)
- type: Method
- source:
- remote:
- path: Terminal.Gui/Core/ConsoleDriver.cs
- branch: refactor_core
- repo: tig:tig/gui.cs.git
- id: Make
- path: ../Terminal.Gui/Core/ConsoleDriver.cs
- startLine: 140
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: "\nCreates an <xref href=\"Terminal.Gui.Attribute\" data-throw-if-not-resolved=\"false\"></xref> from the specified foreground and background.\n"
- example: []
- syntax:
- content: public static Attribute Make(Color foreground, 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.
- content.vb: Public Shared Function Make(foreground As Color, background As Color) As Attribute
- overload: Terminal.Gui.Attribute.Make*
- modifiers.csharp:
- - public
- - static
- modifiers.vb:
- - Public
- - Shared
- references:
- - uid: Terminal.Gui.Attribute
- commentId: T:Terminal.Gui.Attribute
- parent: Terminal.Gui
- name: Attribute
- nameWithType: Attribute
- fullName: Terminal.Gui.Attribute
- - uid: Terminal.Gui.ColorScheme
- commentId: T:Terminal.Gui.ColorScheme
- parent: Terminal.Gui
- name: ColorScheme
- nameWithType: ColorScheme
- fullName: Terminal.Gui.ColorScheme
- - uid: Terminal.Gui
- commentId: N:Terminal.Gui
- name: Terminal.Gui
- nameWithType: Terminal.Gui
- fullName: Terminal.Gui
- - uid: System.ValueType.Equals(System.Object)
- commentId: M:System.ValueType.Equals(System.Object)
- parent: System.ValueType
- isExternal: true
- name: Equals(Object)
- nameWithType: ValueType.Equals(Object)
- fullName: System.ValueType.Equals(System.Object)
- spec.csharp:
- - uid: System.ValueType.Equals(System.Object)
- name: Equals
- nameWithType: ValueType.Equals
- fullName: System.ValueType.Equals
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: )
- nameWithType: )
- fullName: )
- spec.vb:
- - uid: System.ValueType.Equals(System.Object)
- name: Equals
- nameWithType: ValueType.Equals
- fullName: System.ValueType.Equals
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: )
- nameWithType: )
- fullName: )
- - uid: System.ValueType.GetHashCode
- commentId: M:System.ValueType.GetHashCode
- parent: System.ValueType
- isExternal: true
- name: GetHashCode()
- nameWithType: ValueType.GetHashCode()
- fullName: System.ValueType.GetHashCode()
- spec.csharp:
- - uid: System.ValueType.GetHashCode
- name: GetHashCode
- nameWithType: ValueType.GetHashCode
- fullName: System.ValueType.GetHashCode
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - name: )
- nameWithType: )
- fullName: )
- spec.vb:
- - uid: System.ValueType.GetHashCode
- name: GetHashCode
- nameWithType: ValueType.GetHashCode
- fullName: System.ValueType.GetHashCode
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - name: )
- nameWithType: )
- fullName: )
- - uid: System.ValueType.ToString
- commentId: M:System.ValueType.ToString
- parent: System.ValueType
- isExternal: true
- name: ToString()
- nameWithType: ValueType.ToString()
- fullName: System.ValueType.ToString()
- spec.csharp:
- - uid: System.ValueType.ToString
- name: ToString
- nameWithType: ValueType.ToString
- fullName: System.ValueType.ToString
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - name: )
- nameWithType: )
- fullName: )
- spec.vb:
- - uid: System.ValueType.ToString
- name: ToString
- nameWithType: ValueType.ToString
- fullName: System.ValueType.ToString
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - name: )
- nameWithType: )
- fullName: )
- - uid: System.Object.Equals(System.Object,System.Object)
- commentId: M:System.Object.Equals(System.Object,System.Object)
- parent: System.Object
- isExternal: true
- name: Equals(Object, Object)
- nameWithType: Object.Equals(Object, Object)
- fullName: System.Object.Equals(System.Object, System.Object)
- spec.csharp:
- - uid: System.Object.Equals(System.Object,System.Object)
- name: Equals
- nameWithType: Object.Equals
- fullName: System.Object.Equals
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: )
- nameWithType: )
- fullName: )
- spec.vb:
- - uid: System.Object.Equals(System.Object,System.Object)
- name: Equals
- nameWithType: Object.Equals
- fullName: System.Object.Equals
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: )
- nameWithType: )
- fullName: )
- - uid: System.Object.GetType
- commentId: M:System.Object.GetType
- parent: System.Object
- isExternal: true
- name: GetType()
- nameWithType: Object.GetType()
- fullName: System.Object.GetType()
- spec.csharp:
- - uid: System.Object.GetType
- name: GetType
- nameWithType: Object.GetType
- fullName: System.Object.GetType
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - name: )
- nameWithType: )
- fullName: )
- spec.vb:
- - uid: System.Object.GetType
- name: GetType
- nameWithType: Object.GetType
- fullName: System.Object.GetType
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - name: )
- nameWithType: )
- fullName: )
- - uid: System.Object.ReferenceEquals(System.Object,System.Object)
- commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
- parent: System.Object
- isExternal: true
- name: ReferenceEquals(Object, Object)
- nameWithType: Object.ReferenceEquals(Object, Object)
- fullName: System.Object.ReferenceEquals(System.Object, System.Object)
- spec.csharp:
- - uid: System.Object.ReferenceEquals(System.Object,System.Object)
- name: ReferenceEquals
- nameWithType: Object.ReferenceEquals
- fullName: System.Object.ReferenceEquals
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: )
- nameWithType: )
- fullName: )
- spec.vb:
- - uid: System.Object.ReferenceEquals(System.Object,System.Object)
- name: ReferenceEquals
- nameWithType: Object.ReferenceEquals
- fullName: System.Object.ReferenceEquals
- isExternal: true
- - name: (
- nameWithType: (
- fullName: (
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- - uid: System.Object
- name: Object
- nameWithType: Object
- fullName: System.Object
- isExternal: true
- - name: )
- nameWithType: )
- fullName: )
- - uid: System.ValueType
- commentId: T:System.ValueType
- parent: System
- isExternal: true
- name: ValueType
- nameWithType: ValueType
- fullName: System.ValueType
- - uid: System.Object
- commentId: T:System.Object
- parent: System
- isExternal: true
- name: Object
- nameWithType: Object
- fullName: System.Object
- - uid: System
- commentId: N:System
- isExternal: true
- name: System
- nameWithType: System
- fullName: System
- - uid: Terminal.Gui.Attribute.#ctor*
- commentId: Overload:Terminal.Gui.Attribute.#ctor
- name: Attribute
- nameWithType: Attribute.Attribute
- fullName: Terminal.Gui.Attribute.Attribute
- - uid: System.Int32
- commentId: T:System.Int32
- parent: System
- isExternal: true
- name: Int32
- nameWithType: Int32
- fullName: System.Int32
- - uid: Terminal.Gui.Color
- commentId: T:Terminal.Gui.Color
- parent: Terminal.Gui
- name: Color
- nameWithType: Color
- fullName: Terminal.Gui.Color
- - uid: Terminal.Gui.Attribute.op_Implicit*
- commentId: Overload:Terminal.Gui.Attribute.op_Implicit
- name: Implicit
- nameWithType: Attribute.Implicit
- fullName: Terminal.Gui.Attribute.Implicit
- nameWithType.vb: Attribute.Widening
- fullName.vb: Terminal.Gui.Attribute.Widening
- name.vb: Widening
- - uid: Terminal.Gui.Attribute.Make*
- commentId: Overload:Terminal.Gui.Attribute.Make
- name: Make
- nameWithType: Attribute.Make
- fullName: Terminal.Gui.Attribute.Make
- shouldSkipMarkup: true
|