6 writes to _sizeDefinitionIndex
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (6)
774
_sizeDefinitionIndex
= 0;
810
ApplyGroupSizeDefinitionBase(this.GroupSizeDefinitions[--
_sizeDefinitionIndex
]);
827
ApplyGroupSizeDefinitionBase(this.GroupSizeDefinitions[++
_sizeDefinitionIndex
]);
991
_sizeDefinitionIndex
= 0;
995
_sizeDefinitionIndex
= collection.Count - 1;
1291
ribbonGroup.
_sizeDefinitionIndex
= collection.Count - 1;
17 references to _sizeDefinitionIndex
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (17)
171
_sizeDefinitionIndex
>= 0 &&
172
_sizeDefinitionIndex
< groupSizeDefinitions.Count)
174
SetAppropriatePresenterVisibility(groupSizeDefinitions[
_sizeDefinitionIndex
] is RibbonGroupSizeDefinition ? Visibility.Visible : Visibility.Collapsed);
772
if (IsInQuickAccessToolBar &&
_sizeDefinitionIndex
< 0 && GroupSizeDefinitions.Count > 0)
806
if (
_sizeDefinitionIndex
> 0 && this.GroupSizeDefinitions.Count > 0)
825
if (
_sizeDefinitionIndex
>= 0 &&
_sizeDefinitionIndex
< this.GroupSizeDefinitions.Count - 1)
989
if (
_sizeDefinitionIndex
< 0)
993
if (
_sizeDefinitionIndex
>= collection.Count)
998
ApplyGroupSizeDefinitionBase(collection[
_sizeDefinitionIndex
]);
999
SetAppropriatePresenterVisibility(GroupSizeDefinitions[
_sizeDefinitionIndex
] is RibbonGroupSizeDefinition ? Visibility.Visible : Visibility.Collapsed);
1069
if (
_sizeDefinitionIndex
>= 0 &&
_sizeDefinitionIndex
< groupSizeDefinitionsCount)
1071
RibbonGroupSizeDefinition groupDefinition = groupSizeDefinitions[
_sizeDefinitionIndex
] as RibbonGroupSizeDefinition;
1289
if (ribbonGroup.
_sizeDefinitionIndex
>= collection.Count)
1293
if (ribbonGroup.GroupPrepared && ribbonGroup.
_sizeDefinitionIndex
>= 0)
1295
ribbonGroup.ApplyGroupSizeDefinitionBase(collection[ribbonGroup.
_sizeDefinitionIndex
]);