61 references to SelectedItems
System.Web.Mobile (3)
UI\MobileControls\Design\StylesEditorDialog.cs (3)
798
if (_lvAvailableStyles.
SelectedItems
.Count != 0)
800
_currentNewStyleType = Type.GetType((String) _lvAvailableStyles.
SelectedItems
[0].SubItems[1].Text + "." +
801
_lvAvailableStyles.
SelectedItems
[0].Text, true);
System.Windows.Forms (6)
winforms\Managed\System\WinForms\ListView.cs (6)
1876
if (value &&
SelectedItems
.Count > 0) {
4388
if (
SelectedItems
!= null && !VirtualMode) {
4390
ListViewItem[] lviArr = new ListViewItem[
SelectedItems
.Count];
4391
SelectedItems
.CopyTo(lviArr, 0);
5375
foreach(ListViewItem item in
SelectedItems
) {
6016
foreach(ListViewItem item in
SelectedItems
) {
System.Workflow.Activities (38)
Rules\Design\Dialogs\BasicBrowserDialog.cs (9)
98
object ruleObject = this.rulesListView.
SelectedItems
[0].Tag;
169
object ruleObject = this.rulesListView.
SelectedItems
[0].Tag;
174
this.UpdateListViewItem(updatedRuleObject, this.rulesListView.
SelectedItems
[0]);
191
object ruleObject = this.rulesListView.
SelectedItems
[0].Tag;
197
ListViewItem selectedItem = this.rulesListView.
SelectedItems
[0];
220
object ruleObject = this.rulesListView.
SelectedItems
[0].Tag;
263
if (this.rulesListView.
SelectedItems
.Count > 0)
269
if (this.rulesListView.
SelectedItems
.Count == 1)
331
if (this.rulesListView.
SelectedItems
.Count == 0)
Rules\Design\Dialogs\IntellisenseTextBox.cs (5)
301
if (this.listBoxAutoComplete.
SelectedItems
.Count == 1)
314
if (this.listBoxAutoComplete.
SelectedItems
.Count > 0)
324
string fill = this.listBoxAutoComplete.
SelectedItems
[0].Text;
492
if (!wordMatched && this.listBoxAutoComplete.
SelectedItems
.Count == 1)
493
this.listBoxAutoComplete.
SelectedItems
[0].Selected = false;
Rules\Design\Dialogs\RuleSetDialog.cs (24)
143
if (this.rulesListView.
SelectedItems
.Count > 0)
145
Rule rule = this.rulesListView.
SelectedItems
[0].Tag as Rule;
226
if (this.rulesListView.
SelectedItems
.Count == 0)
230
Rule rule = this.rulesListView.
SelectedItems
[0].Tag as Rule;
235
UpdateItem(this.rulesListView.
SelectedItems
[0], rule);
249
if (this.rulesListView.
SelectedItems
.Count == 0)
253
Rule rule = this.rulesListView.
SelectedItems
[0].Tag as Rule;
259
UpdateItem(this.rulesListView.
SelectedItems
[0], rule);
273
if (this.rulesListView.
SelectedItems
.Count == 0)
277
Rule rule = (Rule)this.rulesListView.
SelectedItems
[0].Tag;
283
UpdateItem(this.rulesListView.
SelectedItems
[0], rule);
322
Rule rule = this.rulesListView.
SelectedItems
[0].Tag as Rule;
337
if (this.rulesListView.
SelectedItems
.Count > 0)
339
Rule rule = this.rulesListView.
SelectedItems
[0].Tag as Rule;
360
UpdateItem(this.rulesListView.
SelectedItems
[0], rule);
369
if (this.rulesListView.
SelectedItems
.Count > 0)
371
Rule rule = this.rulesListView.
SelectedItems
[0].Tag as Rule;
375
UpdateItem(this.rulesListView.
SelectedItems
[0], rule);
387
if (this.rulesListView.
SelectedItems
.Count > 0)
389
Rule rule = this.rulesListView.
SelectedItems
[0].Tag as Rule;
391
UpdateItem(this.rulesListView.
SelectedItems
[0], rule);
397
if (this.rulesListView.
SelectedItems
.Count > 0)
399
Rule rule = this.rulesListView.
SelectedItems
[0].Tag as Rule;
401
UpdateItem(this.rulesListView.
SelectedItems
[0], rule);
System.Workflow.ComponentModel (14)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (14)
585
if ((!this.refreshTypeTextBox) && (this.artifactListView.
SelectedItems
.Count > 0))
586
this.typeTextBox.Text = (this.artifactListView.
SelectedItems
[0].Tag as Type).FullName;
588
if (this.artifactListView.
SelectedItems
.Count > 0)
589
this.artifactListView.
SelectedItems
[0].EnsureVisible();
592
if (!this.artifactListView.Focused || this.artifactListView.
SelectedItems
.Count == 0)
595
Type type = this.artifactListView.
SelectedItems
[0].Tag as Type;
609
this.artifactListView.
SelectedItems
.Count > 0 &&
610
this.artifactListView.
SelectedItems
[0].Tag is Type &&
685
if (this.artifactListView.
SelectedItems
.Count != 0)
686
this.artifactListView.
SelectedItems
[0].Selected = false;
989
if (this.artifactListView.
SelectedItems
.Count > 0)
990
this.artifactListView.
SelectedItems
[0].EnsureVisible();
1039
if (this.artifactListView.
SelectedItems
.Count > 0)
1041
Type type = this.artifactListView.
SelectedItems
[0].Tag as Type;