SourceGrid.ControlsRepository.ContainsValue C# (CSharp) Method

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
        public virtual bool ContainsValue(Control value)
        {
            foreach (Control item in this.Dictionary.Values)
            {
                if (item == value)
                    return true;
            }
            return false;
        }