5 writes to cacheItems
System.Windows.Forms (5)
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (5)
1264cacheItems = null; 1400cacheItems = new CacheItems(); 1419cacheItems = new CacheItems(); 2109cacheItems = new CacheItems(); 2468cacheItems = new CacheItems();
52 references to cacheItems
System.Windows.Forms (52)
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (52)
410if (fExpandable && (cacheItems == null || cacheItems.lastValue == null) && this.PropertyValue == null) { 573if (cacheItems != null) { 574cacheItems.lastValueString = null; 575cacheItems.useValueString = false; 576cacheItems.useShouldSerialize = false; 959if (cacheItems != null) { 960return cacheItems.lastValue; 1113if (cacheItems != null) { 1114cacheItems.useValueString = false; 1115cacheItems.lastValue = null; 1116cacheItems.useShouldSerialize = false; 1399if (cacheItems == null) { 1402else if (cacheItems.useCompatTextRendering == ownerGrid.UseCompatibleTextRendering && cacheItems.lastLabel == labelText && f.Equals(cacheItems.lastLabelFont)) { 1403return cacheItems.lastLabelWidth; 1408cacheItems.lastLabelWidth = (int) textSize.Width; 1409cacheItems.lastLabel = labelText; 1410cacheItems.lastLabelFont = f; 1411cacheItems.useCompatTextRendering = ownerGrid.UseCompatibleTextRendering; 1413return cacheItems.lastLabelWidth; 1418if (cacheItems == null) { 1421else if (cacheItems.lastValueTextWidth != -1 && cacheItems.lastValueString == valueString && f.Equals(cacheItems.lastValueFont)) { 1422return cacheItems.lastValueTextWidth; 1426cacheItems.lastValueTextWidth = (int) g.MeasureString(valueString, f).Width; 1427cacheItems.lastValueString = valueString; 1428cacheItems.lastValueFont = f; 1429return cacheItems.lastValueTextWidth; 2101if (cacheItems != null && cacheItems.useValueString) { 2102strValue = cacheItems.lastValueString; 2103val = cacheItems.lastValue; 2108if (cacheItems == null) { 2111cacheItems.lastValueString = strValue; 2112cacheItems.useValueString = true; 2113cacheItems.lastValueTextWidth = -1; 2114cacheItems.lastValueFont = null; 2115cacheItems.lastValue = val; 2458if (cacheItems != null) { 2459if (cacheItems.useShouldSerialize) { 2460return cacheItems.lastShouldSerialize; 2463cacheItems.lastShouldSerialize = NotifyValue(NOTIFY_SHOULD_PERSIST); 2464cacheItems.useShouldSerialize = true; 2469cacheItems.lastShouldSerialize = NotifyValue(NOTIFY_SHOULD_PERSIST); 2470cacheItems.useShouldSerialize = true; 2472return cacheItems.lastShouldSerialize; 2574if (this.InternalExpanded && cacheItems != null && cacheItems.lastValue != null && cacheItems.lastValue != this.PropertyValue) {