1 write to _viewSortButtons
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3856
_viewSortButtons
= new ToolStripButton[3];
21 references to _viewSortButtons
System.Windows.Forms (21)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (21)
838
newButton =
_viewSortButtons
![CategorySortButtonIndex];
842
newButton =
_viewSortButtons
![AlphaSortButtonIndex];
846
newButton =
_viewSortButtons
![NoSortButtonIndex];
3050
if (sender ==
_viewSortButtons
![_selectedViewSort])
3052
_viewSortButtons
[_selectedViewSort].Checked = true;
3057
_viewSortButtons
[_selectedViewSort].Checked = false;
3061
for (index = 0; index <
_viewSortButtons
.Length; index++)
3063
if (
_viewSortButtons
[index] == sender)
3070
_viewSortButtons
[_selectedViewSort].Checked = true;
3767
if (
_viewSortButtons
is null)
3772
if (state >= (_tabs.Count *
_viewSortButtons
.Length))
3778
state = (_tabs.Count *
_viewSortButtons
.Length) - 1;
3789
int viewTypes =
_viewSortButtons
.Length;
3796
Debug.Assert(view <
_viewSortButtons
.Length, "Can't select view type > 1");
3799
OnViewSortButtonClick(
_viewSortButtons
[view], EventArgs.Empty);
3854
if (
_viewSortButtons
is null || fullRebuild)
3879
_viewSortButtons
[AlphaSortButtonIndex] = CreatePushButton(
3884
_viewSortButtons
[CategorySortButtonIndex] = CreatePushButton(
3891
_viewSortButtons
[NoSortButtonIndex] = CreatePushButton(
3897
_viewSortButtons
[NoSortButtonIndex].Visible = false;
3900
buttonList.AddRange(
_viewSortButtons
);