1 write to _listViewCannedMasks
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
124
_listViewCannedMasks
= new ListView();
39 references to _listViewCannedMasks
System.Windows.Forms.Design (39)
System\Windows\Forms\Design\MaskDesignerDialog.cs (39)
59
DesignerUtils.ApplyListViewThemeStyles(
_listViewCannedMasks
);
73
_maskDescriptionHeader.Width =
_listViewCannedMasks
.Width / 3;
78
_dataFormatHeader.Width =
_listViewCannedMasks
.Width / 3;
83
_validatingTypeHeader.Width = (
_listViewCannedMasks
.Width / 3) - SystemInformation.VerticalScrollBarWidth - 4; // so no h-scrollbar.
91
_listViewCannedMasks
.SelectedIndexChanged += listViewCannedMasks_SelectedIndexChanged;
92
_listViewCannedMasks
.ColumnClick += listViewCannedMasks_ColumnClick;
93
_listViewCannedMasks
.Enter += listViewCannedMasks_Enter;
105
[MemberNotNull(nameof(
_listViewCannedMasks
))]
158
resources.ApplyResources(
_listViewCannedMasks
, "listViewCannedMasks");
159
_listViewCannedMasks
.Columns.AddRange(
165
_listViewCannedMasks
.FullRowSelect = true;
166
_listViewCannedMasks
.HideSelection = false;
167
_listViewCannedMasks
.Margin = new Padding(0, 3, 0, 3);
168
_listViewCannedMasks
.MultiSelect = false;
169
_listViewCannedMasks
.Name = "listViewCannedMasks";
170
_listViewCannedMasks
.Sorting = SortOrder.None; // We'll do the sorting ourselves.
171
_listViewCannedMasks
.View = View.Details;
252
_overarchingTableLayoutPanel.Controls.Add(
_listViewCannedMasks
, 0, 2);
463
if (maskDexIndex < 0 ||
_listViewCannedMasks
.Items.Count <= maskDexIndex)
468
_listViewCannedMasks
.Items[maskDexIndex].Selected = true;
469
_listViewCannedMasks
.FocusedItem =
_listViewCannedMasks
.Items[maskDexIndex];
470
_listViewCannedMasks
.EnsureVisible(maskDexIndex);
478
if (!
_listViewCannedMasks
.IsHandleCreated)
486
if (
_listViewCannedMasks
.SelectedItems.Count > 0)
488
int selectedIndex =
_listViewCannedMasks
.SelectedIndices[0];
501
PInvokeCore.SendMessage(
_listViewCannedMasks
, PInvokeCore.WM_SETREDRAW, (WPARAM)(BOOL)false);
505
_listViewCannedMasks
.Items.Clear();
520
_listViewCannedMasks
.Items.Add(new ListViewItem([maskDescriptor.Name!, sample, validatingType]));
525
_listViewCannedMasks
.Items.Add(new ListViewItem([_customMaskDescriptor.Name, "", nullEntry]));
535
PInvokeCore.SendMessage(
_listViewCannedMasks
, PInvokeCore.WM_SETREDRAW, (WPARAM)(BOOL)true);
536
_listViewCannedMasks
.Invalidate();
601
if (
_listViewCannedMasks
.FocusedItem is not null ||
_listViewCannedMasks
.Items.Count <= 0)
606
_listViewCannedMasks
.Items[0].Focused = true;
615
if (
_listViewCannedMasks
.SelectedItems.Count == 0)
620
int selectedIndex =
_listViewCannedMasks
.SelectedIndices[0];
709
if (
_listViewCannedMasks
.SelectedItems.Count != 0)
711
int selectedIndex =
_listViewCannedMasks
.SelectedIndices[0];