8 instantiations of ListViewSubItem
System.Windows.Forms (8)
winforms\Managed\System\WinForms\ListViewItem.cs (8)
157
subItems[i] = new
ListViewSubItem
(this, items[i]);
266
subItems[i] = new
ListViewSubItem
(this, items[i]);
850
subItems[0] = new
ListViewSubItem
(this, string.Empty);
974
clonedSubItems[index] = new
ListViewSubItem
(null,
1844
ListViewSubItem item = new
ListViewSubItem
(owner, text);
1851
ListViewSubItem item = new
ListViewSubItem
(owner, text, foreColor, backColor, font);
1881
owner.subItems[owner.SubItemCount++] = new
ListViewSubItem
(owner, item);
1897
owner.subItems[owner.SubItemCount++] = new
ListViewSubItem
(owner, item, foreColor, backColor, font);
67 references to ListViewSubItem
System.Windows.Forms (67)
winforms\Managed\System\WinForms\DrawListViewItemEventArgs.cs (1)
170
ListViewItem.
ListViewSubItem
subItem = item.SubItems[0];
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (3)
29
private readonly ListViewItem.
ListViewSubItem
subItem;
41
ListViewItem.
ListViewSubItem
subItem, int itemIndex, int columnIndex,
109
public ListViewItem.
ListViewSubItem
SubItem
winforms\Managed\System\WinForms\ListItemConverter.cs (11)
65
ctor = typeof(ListViewItem).GetConstructor(new Type[] { typeof(ListViewItem.
ListViewSubItem
[]), typeof(string)});
67
ListViewItem.
ListViewSubItem
[] subItemArray = new ListViewItem.
ListViewSubItem
[item.SubItems.Count];
75
ctor = typeof(ListViewItem).GetConstructor(new Type[] { typeof(ListViewItem.
ListViewSubItem
[]), typeof(int)});
77
ListViewItem.
ListViewSubItem
[] subItemArray = new ListViewItem.
ListViewSubItem
[item.SubItems.Count];
199
if (destinationType == typeof(InstanceDescriptor) && value is ListViewItem.
ListViewSubItem
) {
200
ListViewItem.
ListViewSubItem
item = (ListViewItem.
ListViewSubItem
)value;
206
ctor = typeof(ListViewItem.
ListViewSubItem
).GetConstructor(new Type[] {
224
ctor = typeof(ListViewItem.
ListViewSubItem
).GetConstructor(new Type[] {typeof(ListViewItem), typeof(string)});
winforms\Managed\System\WinForms\ListView.cs (1)
3195
ListViewItem.
ListViewSubItem
lvsi = lvi.SubItems[j];
winforms\Managed\System\WinForms\ListViewHitTestInfo.cs (3)
23
private ListViewItem.
ListViewSubItem
subItem;
29
public ListViewHitTestInfo(ListViewItem hitItem, ListViewItem.
ListViewSubItem
hitSubItem, ListViewHitTestLocations hitLocation) {
60
public ListViewItem.
ListViewSubItem
SubItem {
winforms\Managed\System\WinForms\ListViewItem.cs (48)
64
private
ListViewSubItem
[] subItems;
155
this.subItems = new
ListViewSubItem
[items.Length];
177
public ListViewItem(
ListViewSubItem
[] subItems, int imageIndex) : this() {
243
public ListViewItem(
ListViewSubItem
[] subItems, int imageIndex, ListViewGroup group) : this(subItems, imageIndex) {
264
this.subItems = new
ListViewSubItem
[items.Length];
286
public ListViewItem(
ListViewSubItem
[] subItems, string imageKey) : this() {
328
public ListViewItem(
ListViewSubItem
[] subItems, string imageKey, ListViewGroup group) : this(subItems, imageKey) {
849
subItems = new
ListViewSubItem
[1];
971
ListViewSubItem
[] clonedSubItems = new
ListViewSubItem
[this.SubItems.Count];
973
ListViewSubItem
subItem = this.SubItems[index];
1059
public
ListViewSubItem
GetSubItemAt(int x, int y) {
1302
ListViewSubItem
[] newItems = new
ListViewSubItem
[SubItemCount];
1305
ListViewSubItem
newItem = (
ListViewSubItem
)info.GetValue("SubItem" + i.ToString(CultureInfo.InvariantCulture), typeof(
ListViewSubItem
));
1330
info.AddValue("SubItem" + i.ToString(CultureInfo.InvariantCulture), subItems[i], typeof(
ListViewSubItem
));
1776
public
ListViewSubItem
this[int index] {
1799
if (value is
ListViewSubItem
) {
1800
this[index] = (
ListViewSubItem
)value;
1811
public virtual
ListViewSubItem
this[string key] {
1834
public
ListViewSubItem
Add(
ListViewSubItem
item) {
1843
public
ListViewSubItem
Add(string text) {
1844
ListViewSubItem
item = new ListViewSubItem(owner, text);
1850
public
ListViewSubItem
Add(string text, Color foreColor, Color backColor, Font font) {
1851
ListViewSubItem
item = new ListViewSubItem(owner, text, foreColor, backColor, font);
1857
public void AddRange(
ListViewSubItem
[] items) {
1863
foreach(
ListViewSubItem
item in items) {
1907
if (item is
ListViewSubItem
) {
1908
return IndexOf(Add((
ListViewSubItem
)item));
1931
public bool Contains(
ListViewSubItem
subItem) {
1939
if (subItem is
ListViewSubItem
) {
1940
return Contains((
ListViewSubItem
)subItem);
1977
owner.subItems = new
ListViewSubItem
[newSize];
1985
ListViewSubItem
[] newItems = new
ListViewSubItem
[newSize];
2016
public int IndexOf(
ListViewSubItem
subItem) {
2028
if (subItem is
ListViewSubItem
) {
2029
return IndexOf((
ListViewSubItem
)subItem);
2079
public void Insert(int index,
ListViewSubItem
item) {
2099
if (item is
ListViewSubItem
) {
2100
Insert(index, (
ListViewSubItem
)item);
2111
public void Remove(
ListViewSubItem
item) {
2121
if (item is
ListViewSubItem
) {
2122
Remove((
ListViewSubItem
)item);
2176
return new
ListViewSubItem
[0].GetEnumerator();