1 write to _viewSortButtons
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3854
_viewSortButtons
= new ToolStripButton[3];
21 references to _viewSortButtons
System.Windows.Forms (21)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (21)
840
newButton =
_viewSortButtons
![CategorySortButtonIndex];
844
newButton =
_viewSortButtons
![AlphaSortButtonIndex];
848
newButton =
_viewSortButtons
![NoSortButtonIndex];
3048
if (sender ==
_viewSortButtons
![_selectedViewSort])
3050
_viewSortButtons
[_selectedViewSort].Checked = true;
3055
_viewSortButtons
[_selectedViewSort].Checked = false;
3059
for (index = 0; index <
_viewSortButtons
.Length; index++)
3061
if (
_viewSortButtons
[index] == sender)
3068
_viewSortButtons
[_selectedViewSort].Checked = true;
3765
if (
_viewSortButtons
is null)
3770
if (state >= (_tabs.Count *
_viewSortButtons
.Length))
3776
state = (_tabs.Count *
_viewSortButtons
.Length) - 1;
3787
int viewTypes =
_viewSortButtons
.Length;
3794
Debug.Assert(view <
_viewSortButtons
.Length, "Can't select view type > 1");
3797
OnViewSortButtonClick(
_viewSortButtons
[view], EventArgs.Empty);
3852
if (
_viewSortButtons
is null || fullRebuild)
3877
_viewSortButtons
[AlphaSortButtonIndex] = CreatePushButton(
3882
_viewSortButtons
[CategorySortButtonIndex] = CreatePushButton(
3889
_viewSortButtons
[NoSortButtonIndex] = CreatePushButton(
3895
_viewSortButtons
[NoSortButtonIndex].Visible = false;
3898
buttonList.AddRange(
_viewSortButtons
);