19 references to StateImageIndexer
System.Windows.Forms (19)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (19)
991get => StateImageIndexer.Key; 994if (StateImageIndexer.Key == value && !string.Equals(value, ImageList.Indexer.DefaultKey)) 999StateImageIndexer.Key = value; 1020if (StateImageIndexer.Index != ImageList.Indexer.DefaultIndex && 1022StateImageIndexer.Index >= tv.StateImageList.Images.Count) 1027return StateImageIndexer.Index; 1034if (StateImageIndexer.Index == value && value != ImageList.Indexer.DefaultIndex) 1039StateImageIndexer.Index = value; 1357node.StateImageIndexer.Index = StateImageIndexer.Index; 1374if (!(string.IsNullOrEmpty(StateImageIndexer.Key))) 1376node.StateImageIndexer.Key = StateImageIndexer.Key; 1858else if (tv.StateImageList is not null && StateImageIndexer.ActualIndex >= 0) 1862tvis.item.state = (TREE_VIEW_ITEM_STATE_FLAGS)((StateImageIndexer.ActualIndex + 1) << SHIFTVAL); 2071si.AddValue("StateImageIndex", StateImageIndexer.Index); 2076si.AddValue(nameof(StateImageKey), StateImageIndexer.Key); 2174if (StateImageIndexer.ActualIndex != ImageList.Indexer.DefaultIndex) 2176item.state = (TREE_VIEW_ITEM_STATE_FLAGS)((StateImageIndexer.ActualIndex + 1) << SHIFTVAL);