Exemplo n.º 1
0
        /// <summary>
        /// Returns the count of records in the dataset when this DQE evaluation was made.  This is done by summing the first <see cref="ColumnStates"/>
        /// </summary>
        /// <returns></returns>
        public int?GetRecordCount()
        {
            var state = ColumnStates?.FirstOrDefault();

            if (state == null)
            {
                return(null);
            }

            return(state.CountCorrect + state.CountMissing + state.CountWrong + state.CountInvalidatesRow);
        }
Exemplo n.º 2
0
 /// <summary>Initializes a new instance of the <see cref="VisualListViewColumn" /> class.</summary>
 public VisualListViewColumn()
 {
     embeddedType        = LVActivatedEmbeddedTypes.None;
     _activeControlItems = new ArrayList();
     _columnState        = ColumnStates.None;
     _imageIndex         = -1;
     _lastSortDirection  = SortDirections.Descending;
     _textAlignment      = ContentAlignment.MiddleLeft;
     _width = 100;
     _tag   = null;
 }
Exemplo n.º 3
0
 /// <summary>Initializes a new instance of the <see cref="VisualListViewColumn" /> class.</summary>
 public VisualListViewColumn()
 {
     _embeddedControlTemplate = null;
     _embeddedType            = LVActivatedEmbeddedTypes.None;
     _activeControlItems      = new ArrayList();
     _columnState             = ColumnStates.None;
     _imageIndex        = -1;
     _lastSortDirection = SortDirections.Descending;
     _textAlignment     = ContentAlignment.MiddleLeft;
     _width             = 100;
     _tag         = null;
     _listView    = null;
     _numericSort = false;
     _checked     = false;
     _checkBoxes  = false;
     _checkBox    = false;
 }