1 write to _domainItems
System.Windows.Forms (1)
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
58
public DomainUpDownItemCollection Items =>
_domainItems
??= new DomainUpDownItemCollection(this);
18 references to _domainItems
System.Windows.Forms (18)
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (18)
204
if (
_domainItems
is null)
209
if (
_domainItems
.Count <= 0)
231
if (_domainIndex <
_domainItems
.Count - 1)
257
if (
_domainItems
is null)
268
if (
_domainItems
.Count <= 0)
275
startPosition =
_domainItems
.Count - 1;
278
if (startPosition >=
_domainItems
.Count)
314
if (index >=
_domainItems
.Count)
385
Debug.Assert(
_domainItems
is not null, "Domain values array is null");
386
Debug.Assert(index <
_domainItems
.Count && index >= -1, "SelectValue: index out of range");
387
if (
_domainItems
is null || index < -1 || index >=
_domainItems
.Count)
398
_stringValue =
_domainItems
[_domainIndex]!.ToString()!;
426
if (
_domainItems
is not null)
429
ArrayList.Adapter(
_domainItems
).Sort(new DomainUpDownItemCompare());
469
if (
_domainItems
is null)
474
if (
_domainItems
.Count <= 0)
501
SelectIndex(
_domainItems
.Count - 1);