1 write to viewSortButtons
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4402
viewSortButtons
= new ToolStripButton[3];
21 references to viewSortButtons
System.Windows.Forms (21)
winforms\Managed\System\WinForms\PropertyGrid.cs (21)
1084
newButton =
viewSortButtons
[CATEGORIES];
1087
newButton =
viewSortButtons
[ALPHA];
1090
newButton =
viewSortButtons
[NO_SORT];
3478
if (sender ==
viewSortButtons
[selectedViewSort]) {
3479
viewSortButtons
[selectedViewSort].Checked = true;
3484
viewSortButtons
[selectedViewSort].Checked = false;
3488
for (index = 0; index <
viewSortButtons
.Length; index++) {
3489
if (
viewSortButtons
[index] == sender) {
3495
viewSortButtons
[selectedViewSort].Checked = true;
4311
if (state >= (viewTabs.Length *
viewSortButtons
.Length)) {
4315
state = (viewTabs.Length *
viewSortButtons
.Length) - 1;
4328
int viewTypes =
viewSortButtons
.Length;
4336
Debug.Assert(view <
viewSortButtons
.Length, "Can't select view type > 1");
4339
OnViewSortButtonClick(
viewSortButtons
[view], EventArgs.Empty);
4401
if (
viewSortButtons
== null || fullRebuild) {
4427
viewSortButtons
[ALPHA] = CreatePushButton(SR.GetString(SR.PBRSToolTipAlphabetic), alphaIndex, ehViewType, true);
4428
viewSortButtons
[CATEGORIES] = CreatePushButton(SR.GetString(SR.PBRSToolTipCategorized), categoryIndex, ehViewType, true);
4431
viewSortButtons
[NO_SORT] = CreatePushButton("", 0, ehViewType, true);
4432
viewSortButtons
[NO_SORT].Visible = false;
4435
for (i = 0; i <
viewSortButtons
.Length; i++) {
4436
buttonList.Add(
viewSortButtons
[i]);