73 references to SubItems
System.Web.Mobile (2)
UI\MobileControls\Design\StylesEditorDialog.cs (2)
402
_currentNewStyleType = Type.GetType((String) _lvAvailableStyles.Items[0].
SubItems
[1].Text + "." +
800
_currentNewStyleType = Type.GetType((String) _lvAvailableStyles.SelectedItems[0].
SubItems
[1].Text + "." +
System.Windows.Forms (51)
winforms\Managed\System\WinForms\DrawListViewItemEventArgs.cs (2)
169
if (!item.ListView.FullRowSelect && item.
SubItems
.Count > 0) {
170
ListViewItem.ListViewSubItem subItem = item.
SubItems
[0];
winforms\Managed\System\WinForms\ListItemConverter.cs (17)
62
for(int i=1; i < item.
SubItems
.Count; ++i) {
63
if (item.
SubItems
[i].CustomStyle) {
67
ListViewItem.ListViewSubItem[] subItemArray = new ListViewItem.ListViewSubItem[item.
SubItems
.Count];
68
((ICollection)item.
SubItems
).CopyTo(subItemArray, 0);
77
ListViewItem.ListViewSubItem[] subItemArray = new ListViewItem.ListViewSubItem[item.
SubItems
.Count];
78
((ICollection)item.
SubItems
).CopyTo(subItemArray, 0);
90
string[] subItems = new string[item.
SubItems
.Count];
92
subItems[i] = item.
SubItems
[i].Text;
97
if (item.
SubItems
[0].CustomStyle) {
109
item.
SubItems
[0].CustomForeColor ? item.ForeColor : Color.Empty,
110
item.
SubItems
[0].CustomBackColor ? item.BackColor : Color.Empty,
111
item.
SubItems
[0].CustomFont ? item.Font : null
125
item.
SubItems
[0].CustomForeColor ? item.ForeColor : Color.Empty,
126
item.
SubItems
[0].CustomBackColor ? item.BackColor : Color.Empty,
127
item.
SubItems
[0].CustomFont ? item.Font : null
135
if (item.ImageIndex == -1 && String.IsNullOrEmpty(item.ImageKey) && item.
SubItems
.Count <= 1) {
144
if (item.
SubItems
.Count <= 1) {
winforms\Managed\System\WinForms\ListView.cs (21)
2638
if (nmcd->iSubItem < Items[itemIndex].
SubItems
.Count)
2644
if (nmcd->iSubItem == 0 && Items[itemIndex].
SubItems
.Count > 1)
2655
Items[itemIndex].
SubItems
[nmcd->iSubItem],
2716
if (item != null && subitem < item.
SubItems
.Count)
2722
subItemFont = new Font(item.
SubItems
[0].Font, FontStyle.Underline);
2726
subItemFont = item.
SubItems
[subitem].Font;
2734
subItemForeColor = item.
SubItems
[subitem].ForeColor;
2735
subItemBackColor = item.
SubItems
[subitem].BackColor;
3194
for (int j = 0; j < lvi.
SubItems
.Count; j ++) {
3195
ListViewItem.ListViewSubItem lvsi = lvi.
SubItems
[j];
3503
int subItemCount = Items[itemIndex].
SubItems
.Count;
3572
if (lvhi.iSubItem < item.
SubItems
.Count) {
3573
return new ListViewHitTestInfo(item, item.
SubItems
[lvhi.iSubItem], location);
3960
for (int nItem = 1; nItem < li.
SubItems
.Count; ++nItem) {
3961
SetItemText(insertIndex, nItem, li.
SubItems
[nItem].Text, ref lvItem);
4627
int subItemCount = Items[i].
SubItems
.Count;
4629
SetItemText(i, j, Items[i].
SubItems
[j].Text, ref lvItem);
6055
if (lvItem.
SubItems
.Count <= dispInfo.item.iSubItem) {
6059
text = lvItem.
SubItems
[dispInfo.item.iSubItem].Text; // we want the sub item
8619
for(int j = 1; j < listViewItems[i].
SubItems
.Count; j++) {
8620
if (WindowsFormsUtils.SafeCompareStrings(listViewItems[i].
SubItems
[j].Name, key, /* ignoreCase = */ true)) {
winforms\Managed\System\WinForms\ListViewItem.cs (11)
354
SubItems
[0].BackColor = value;
454
SubItems
[0].Font = value;
479
SubItems
[0].ForeColor = value;
679
SubItems
[0].Name = value;
898
SubItems
[0].Text = value;
971
ListViewSubItem[] clonedSubItems = new ListViewSubItem[this.
SubItems
.Count];
972
for(int index=0; index < this.
SubItems
.Count; ++index) {
973
ListViewSubItem subItem = this.
SubItems
[index];
1069
if (iItem == this.Index && iSubItem != -1 && iSubItem <
SubItems
.Count) {
1070
return
SubItems
[iSubItem];
1498
return owner.listView.GetSubItemRect(owner.Index, owner.
SubItems
.IndexOf(this));
System.Workflow.Activities (17)
Rules\Design\Dialogs\ConditionBrowserDialog.cs (3)
133
if (listViewItem.
SubItems
.Count == 1)
134
listViewItem.
SubItems
.Add(validText);
136
listViewItem.
SubItems
[1].Text = validText;
Rules\Design\Dialogs\RuleSetBrowserDialog.cs (3)
118
if (listViewItem.
SubItems
.Count == 1)
119
listViewItem.
SubItems
.Add(validText);
121
listViewItem.
SubItems
[1].Text = validText;
Rules\Design\Dialogs\RuleSetDialog.cs (11)
435
listViewItem.
SubItems
[0].Text = rule.Name;
436
listViewItem.
SubItems
[1].Text = rule.Priority.ToString(CultureInfo.CurrentCulture);
437
listViewItem.
SubItems
[2].Text = (string)this.reevaluationComboBox.Items[(int)rule.ReevaluationBehavior];
438
listViewItem.
SubItems
[3].Text = rule.Active.ToString(CultureInfo.CurrentCulture);
439
listViewItem.
SubItems
[4].Text = DesignerHelpers.GetRulePreview(rule);
519
int.TryParse(item1.
SubItems
[col].Text, NumberStyles.Integer, CultureInfo.CurrentCulture, out val1);
520
int.TryParse(item2.
SubItems
[col].Text, NumberStyles.Integer, CultureInfo.CurrentCulture, out val2);
525
retval = String.Compare(item1.
SubItems
[0].Text, item2.
SubItems
[0].Text, StringComparison.CurrentCulture);
529
retval = String.Compare(item1.
SubItems
[col].Text, item2.
SubItems
[col].Text, StringComparison.CurrentCulture);
System.Workflow.ComponentModel (3)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (3)
884
listItem.
SubItems
.Add(type.FullName);
1186
result = string.Compare(((ListViewItem)first).
SubItems
[1].Text, ((ListViewItem)second).
SubItems
[1].Text);