C# Class SourceGrid.ControlsRepository

A dictionary with keys of type Guid and values of type Control
Inheritance: System.Collections.DictionaryBase
Datei anzeigen Open project: zhuangyy/Motion Class Usage Examples

Public Methods

Method Description
Add ( System.Guid key, Control value ) : void

Adds an element with the specified key and value to this ControlsRepository.

Contains ( System.Guid key ) : bool

Determines whether this ControlsRepository contains a specific key.

ContainsKey ( System.Guid key ) : bool

Determines whether this ControlsRepository contains a specific key.

ContainsValue ( Control value ) : bool

Determines whether this ControlsRepository contains a specific value.

ControlsRepository ( Control p_ParentControl ) : System

Initializes a new empty instance of the ControlsRepository class

Remove ( System.Guid key ) : void

Removes the element with the specified key from this ControlsRepository.

this ( System.Guid key ) : Control

Gets or sets the Control associated with the given Guid

Method Details

Add() public method

Adds an element with the specified key and value to this ControlsRepository.
public Add ( System.Guid key, Control value ) : void
key System.Guid /// The Guid key of the element to add. ///
value System.Windows.Forms.Control /// The Control value of the element to add. ///
return void

Contains() public method

Determines whether this ControlsRepository contains a specific key.
public Contains ( System.Guid key ) : bool
key System.Guid /// The Guid key to locate in this ControlsRepository. ///
return bool

ContainsKey() public method

Determines whether this ControlsRepository contains a specific key.
public ContainsKey ( System.Guid key ) : bool
key System.Guid /// The Guid key to locate in this ControlsRepository. ///
return bool

ContainsValue() public method

Determines whether this ControlsRepository contains a specific value.
public ContainsValue ( Control value ) : bool
value System.Windows.Forms.Control /// The Control value to locate in this ControlsRepository. ///
return bool

ControlsRepository() public method

Initializes a new empty instance of the ControlsRepository class
public ControlsRepository ( Control p_ParentControl ) : System
p_ParentControl System.Windows.Forms.Control
return System

Remove() public method

Removes the element with the specified key from this ControlsRepository.
public Remove ( System.Guid key ) : void
key System.Guid /// The Guid key of the element to remove. ///
return void

this() public method

Gets or sets the Control associated with the given Guid
public this ( System.Guid key ) : Control
key System.Guid /// The Guid whose value to get or set. ///
return System.Windows.Forms.Control