8 writes to selectedViewTab
System.Windows.Forms (8)
winforms\Managed\System\WinForms\PropertyGrid.cs (8)
4047
selectedViewTab
= -1;
4050
selectedViewTab
--;
4072
selectedViewTab
= -1;
4095
selectedViewTab
= PROPERTIES;
4123
selectedViewTab
= -1;
4265
selectedViewTab
= -1;
4286
selectedViewTab
= i;
4300
selectedViewTab
= PROPERTIES;
29 references to selectedViewTab
System.Windows.Forms (29)
winforms\Managed\System\WinForms\PropertyGrid.cs (29)
1269
if (!classesSame && !GetFlag(TabsChanging) &&
selectedViewTab
< viewTabButtons.Length) {
1271
Type tabType =
selectedViewTab
== -1 ? null : viewTabs[
selectedViewTab
].GetType();
1409
Debug.Assert(
selectedViewTab
< viewTabs.Length &&
selectedViewTab
>= 0, "Invalid tab selection!");
1410
return viewTabs[
selectedViewTab
];
2423
if (!canExtend && i ==
selectedViewTab
) {
3912
if (clearCached &&
selectedViewTab
!= -1 && viewTabs != null) {
3913
PropertyTab tab = viewTabs[
selectedViewTab
];
4040
ToolStripButton selectedButton = (
selectedViewTab
>=0 &&
selectedViewTab
< viewTabButtons.Length ? viewTabButtons[
selectedViewTab
] : null);
4046
if (
selectedViewTab
== i) {
4049
else if (
selectedViewTab
> i) {
4094
if (
selectedViewTab
== tabIndex) {
4107
ToolStripButton selectedButton = viewTabButtons[
selectedViewTab
];
4215
designerSelections[designerHost.GetHashCode()] =
selectedViewTab
;
4251
int oldTab =
selectedViewTab
;
4264
if (
selectedViewTab
>= 0 &&
selectedViewTab
>= viewTabButtons.Length) {
4269
if (
selectedViewTab
>=0 &&
selectedViewTab
< viewTabButtons.Length &&
4270
button == viewTabButtons[
selectedViewTab
]) {
4271
viewTabButtons[
selectedViewTab
].Checked = true;
4278
if (
selectedViewTab
!= -1) {
4279
viewTabButtons[
selectedViewTab
].Checked = false;
4280
oldTab = viewTabs[
selectedViewTab
];
4542
if (!value &&
selectedViewTab
== EVENTS) {
4706
string tabName = viewTabs[
selectedViewTab
].TabName + propertySortValue.ToString();