123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- ### YamlMime:ManagedReference
- items:
- - uid: Terminal.Gui.IListDataSource
- id: IListDataSource
- children:
- - Terminal.Gui.IListDataSource.Count
- - Terminal.Gui.IListDataSource.IsMarked(System.Int32)
- - Terminal.Gui.IListDataSource.Render(System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)
- - Terminal.Gui.IListDataSource.Render(Terminal.Gui.ListView,Terminal.Gui.ConsoleDriver,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)
- - Terminal.Gui.IListDataSource.SetMark(System.Int32,System.Boolean)
- langs:
- - csharp
- name: IListDataSource
- nameWithType: IListDataSource
- fullName: Terminal.Gui.IListDataSource
- type: Interface
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Implement this interface to provide your own custom rendering for a list.
- syntax:
- content: public interface IListDataSource
- implements: []
- - uid: Terminal.Gui.IListDataSource.Count
- id: Count
- parent: Terminal.Gui.IListDataSource
- langs:
- - csharp
- name: Count
- nameWithType: IListDataSource.Count
- fullName: IListDataSource.Count
- type: Property
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Returns the number of elements to display
- syntax:
- content: public int Count { get; }
- return:
- type: System.Int32
- description: To be added.
- overload: Terminal.Gui.IListDataSource.Count*
- exceptions: []
- - uid: Terminal.Gui.IListDataSource.IsMarked(System.Int32)
- id: IsMarked(System.Int32)
- parent: Terminal.Gui.IListDataSource
- langs:
- - csharp
- name: IsMarked(Int32)
- nameWithType: IListDataSource.IsMarked(Int32)
- fullName: IListDataSource.IsMarked(Int32)
- type: Method
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Should return whether the specified item is currently marked.
- syntax:
- content: public bool IsMarked (int item);
- parameters:
- - id: item
- type: System.Int32
- description: Item index.
- return:
- type: System.Boolean
- description: <code>true</code>, if marked, <code>false</code> otherwise.
- overload: Terminal.Gui.IListDataSource.IsMarked*
- exceptions: []
- - uid: Terminal.Gui.IListDataSource.Render(System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)
- id: Render(System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)
- parent: Terminal.Gui.IListDataSource
- langs:
- - csharp
- name: Render(Boolean, Int32, Int32, Int32, Int32)
- nameWithType: IListDataSource.Render(Boolean, Int32, Int32, Int32, Int32)
- fullName: IListDataSource.Render(Boolean, Int32, Int32, Int32, Int32)
- type: Method
- assemblies: []
- namespace: Terminal.Gui
- summary: This method is invoked to render a specified item, the method should cover the entire provided width.
- remarks: The default color will be set before this method is invoked, and will be based on whether the item is selected or not.
- syntax:
- content: public void Render (bool selected, int item, int col, int line, int width);
- parameters:
- - id: selected
- type: System.Boolean
- description: Describes whether the item being rendered is currently selected by the user.
- - id: item
- type: System.Int32
- description: The index of the item to render, zero for the first item and so on.
- - id: col
- type: System.Int32
- description: The column where the rendering will start
- - id: line
- type: System.Int32
- description: The line where the rendering will be done.
- - id: width
- type: System.Int32
- description: The width that must be filled out.
- overload: Terminal.Gui.IListDataSource.Render*
- exceptions: []
- - uid: Terminal.Gui.IListDataSource.Render(Terminal.Gui.ListView,Terminal.Gui.ConsoleDriver,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)
- id: Render(Terminal.Gui.ListView,Terminal.Gui.ConsoleDriver,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)
- parent: Terminal.Gui.IListDataSource
- langs:
- - csharp
- name: Render(ListView, ConsoleDriver, Boolean, Int32, Int32, Int32, Int32)
- nameWithType: IListDataSource.Render(ListView, ConsoleDriver, Boolean, Int32, Int32, Int32, Int32)
- fullName: IListDataSource.Render(ListView, ConsoleDriver, Boolean, Int32, Int32, Int32, Int32)
- type: Method
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: This method is invoked to render a specified item, the method should cover the entire provided width.
- remarks: The default color will be set before this method is invoked, and will be based on whether the item is selected or not.
- syntax:
- content: public void Render (Terminal.Gui.ListView container, Terminal.Gui.ConsoleDriver driver, bool selected, int item, int col, int line, int width);
- parameters:
- - id: container
- type: Terminal.Gui.ListView
- description: To be added.
- - id: driver
- type: Terminal.Gui.ConsoleDriver
- description: To be added.
- - id: selected
- type: System.Boolean
- description: Describes whether the item being rendered is currently selected by the user.
- - id: item
- type: System.Int32
- description: The index of the item to render, zero for the first item and so on.
- - id: col
- type: System.Int32
- description: The column where the rendering will start
- - id: line
- type: System.Int32
- description: The line where the rendering will be done.
- - id: width
- type: System.Int32
- description: The width that must be filled out.
- overload: Terminal.Gui.IListDataSource.Render*
- exceptions: []
- - uid: Terminal.Gui.IListDataSource.SetMark(System.Int32,System.Boolean)
- id: SetMark(System.Int32,System.Boolean)
- parent: Terminal.Gui.IListDataSource
- langs:
- - csharp
- name: SetMark(Int32, Boolean)
- nameWithType: IListDataSource.SetMark(Int32, Boolean)
- fullName: IListDataSource.SetMark(Int32, Boolean)
- type: Method
- assemblies:
- - Terminal.Gui
- namespace: Terminal.Gui
- summary: Flags the item as marked.
- syntax:
- content: public void SetMark (int item, bool value);
- parameters:
- - id: item
- type: System.Int32
- description: Item index.
- - id: value
- type: System.Boolean
- description: If set to <code>true</code> value.
- overload: Terminal.Gui.IListDataSource.SetMark*
- exceptions: []
- references:
- - uid: Terminal.Gui.IListDataSource.Count
- parent: Terminal.Gui.IListDataSource
- isExternal: false
- name: Count
- nameWithType: IListDataSource.Count
- fullName: IListDataSource.Count
- - uid: System.Int32
- parent: System
- isExternal: true
- name: Int32
- nameWithType: Int32
- fullName: System.Int32
- - uid: Terminal.Gui.IListDataSource.IsMarked(System.Int32)
- parent: Terminal.Gui.IListDataSource
- isExternal: false
- name: IsMarked(Int32)
- nameWithType: IListDataSource.IsMarked(Int32)
- fullName: IListDataSource.IsMarked(Int32)
- - uid: System.Boolean
- parent: System
- isExternal: true
- name: Boolean
- nameWithType: Boolean
- fullName: System.Boolean
- - uid: Terminal.Gui.IListDataSource.Render(System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)
- parent: Terminal.Gui.IListDataSource
- isExternal: false
- name: Render(Boolean, Int32, Int32, Int32, Int32)
- nameWithType: IListDataSource.Render(Boolean, Int32, Int32, Int32, Int32)
- fullName: IListDataSource.Render(Boolean, Int32, Int32, Int32, Int32)
- - uid: Terminal.Gui.IListDataSource.Render(Terminal.Gui.ListView,Terminal.Gui.ConsoleDriver,System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)
- parent: Terminal.Gui.IListDataSource
- isExternal: false
- name: Render(ListView, ConsoleDriver, Boolean, Int32, Int32, Int32, Int32)
- nameWithType: IListDataSource.Render(ListView, ConsoleDriver, Boolean, Int32, Int32, Int32, Int32)
- fullName: IListDataSource.Render(ListView, ConsoleDriver, Boolean, Int32, Int32, Int32, Int32)
- - uid: Terminal.Gui.ListView
- parent: Terminal.Gui
- isExternal: false
- name: ListView
- nameWithType: ListView
- fullName: Terminal.Gui.ListView
- - uid: Terminal.Gui.ConsoleDriver
- parent: Terminal.Gui
- isExternal: false
- name: ConsoleDriver
- nameWithType: ConsoleDriver
- fullName: Terminal.Gui.ConsoleDriver
- - uid: Terminal.Gui.IListDataSource.SetMark(System.Int32,System.Boolean)
- parent: Terminal.Gui.IListDataSource
- isExternal: false
- name: SetMark(Int32, Boolean)
- nameWithType: IListDataSource.SetMark(Int32, Boolean)
- fullName: IListDataSource.SetMark(Int32, Boolean)
- - uid: Terminal.Gui.IListDataSource.Count*
- parent: Terminal.Gui.IListDataSource
- isExternal: false
- name: Count
- nameWithType: IListDataSource.Count
- fullName: IListDataSource.Count
- - uid: Terminal.Gui.IListDataSource.IsMarked*
- parent: Terminal.Gui.IListDataSource
- isExternal: false
- name: IsMarked
- nameWithType: IListDataSource.IsMarked
- fullName: IListDataSource.IsMarked
- - uid: Terminal.Gui.IListDataSource.Render*
- parent: Terminal.Gui.IListDataSource
- isExternal: false
- name: Render
- nameWithType: IListDataSource.Render
- fullName: IListDataSource.Render
- - uid: Terminal.Gui.IListDataSource.SetMark*
- parent: Terminal.Gui.IListDataSource
- isExternal: false
- name: SetMark
- nameWithType: IListDataSource.SetMark
- fullName: IListDataSource.SetMark
|