21 references to SelectedImageIndexer
System.Windows.Forms (21)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (21)
893
if (
SelectedImageIndexer
.Index != ImageList.Indexer.NoneIndex
894
&&
SelectedImageIndexer
.Index != ImageList.Indexer.DefaultIndex
896
&&
SelectedImageIndexer
.Index >= tv.ImageList.Images.Count)
901
return
SelectedImageIndexer
.Index;
907
if (
SelectedImageIndexer
.Index == value
914
SelectedImageIndexer
.Index = value;
934
get =>
SelectedImageIndexer
.Key;
937
if (
SelectedImageIndexer
.Key == value && !string.Equals(value, ImageList.Indexer.DefaultKey))
942
SelectedImageIndexer
.Key = value;
1349
? new TreeNode(_text, ImageIndexer.Index,
SelectedImageIndexer
.Index)
1355
node.
SelectedImageIndexer
.Index =
SelectedImageIndexer
.Index;
1368
if (!(string.IsNullOrEmpty(
SelectedImageIndexer
.Key)))
1370
node.
SelectedImageIndexer
.Key =
SelectedImageIndexer
.Key;
1846
tvis.item.iSelectedImage = (
SelectedImageIndexer
.ActualIndex == ImageList.Indexer.DefaultIndex) ? tv.SelectedImageIndexer.ActualIndex :
SelectedImageIndexer
.ActualIndex;
2066
si.AddValue(nameof(SelectedImageIndex),
SelectedImageIndexer
.Index);
2067
si.AddValue(nameof(SelectedImageKey),
SelectedImageIndexer
.Key);
2162
item.iSelectedImage = IsSpecialImageIndex(
SelectedImageIndexer
.ActualIndex)
2164
:
SelectedImageIndexer
.ActualIndex;