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)
59DesignerUtils.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))] 158resources.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); 463if (maskDexIndex < 0 || _listViewCannedMasks.Items.Count <= maskDexIndex) 468_listViewCannedMasks.Items[maskDexIndex].Selected = true; 469_listViewCannedMasks.FocusedItem = _listViewCannedMasks.Items[maskDexIndex]; 470_listViewCannedMasks.EnsureVisible(maskDexIndex); 478if (!_listViewCannedMasks.IsHandleCreated) 486if (_listViewCannedMasks.SelectedItems.Count > 0) 488int selectedIndex = _listViewCannedMasks.SelectedIndices[0]; 501PInvokeCore.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])); 535PInvokeCore.SendMessage(_listViewCannedMasks, PInvokeCore.WM_SETREDRAW, (WPARAM)(BOOL)true); 536_listViewCannedMasks.Invalidate(); 601if (_listViewCannedMasks.FocusedItem is not null || _listViewCannedMasks.Items.Count <= 0) 606_listViewCannedMasks.Items[0].Focused = true; 615if (_listViewCannedMasks.SelectedItems.Count == 0) 620int selectedIndex = _listViewCannedMasks.SelectedIndices[0]; 709if (_listViewCannedMasks.SelectedItems.Count != 0) 711int selectedIndex = _listViewCannedMasks.SelectedIndices[0];