6 writes to _sizeDefinitionIndex
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (6)
771
_sizeDefinitionIndex
= 0;
807
ApplyGroupSizeDefinitionBase(this.GroupSizeDefinitions[--
_sizeDefinitionIndex
]);
824
ApplyGroupSizeDefinitionBase(this.GroupSizeDefinitions[++
_sizeDefinitionIndex
]);
988
_sizeDefinitionIndex
= 0;
992
_sizeDefinitionIndex
= collection.Count - 1;
1288
ribbonGroup.
_sizeDefinitionIndex
= collection.Count - 1;
17 references to _sizeDefinitionIndex
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (17)
168
_sizeDefinitionIndex
>= 0 &&
169
_sizeDefinitionIndex
< groupSizeDefinitions.Count)
171
SetAppropriatePresenterVisibility(groupSizeDefinitions[
_sizeDefinitionIndex
] is RibbonGroupSizeDefinition ? Visibility.Visible : Visibility.Collapsed);
769
if (IsInQuickAccessToolBar &&
_sizeDefinitionIndex
< 0 && GroupSizeDefinitions.Count > 0)
803
if (
_sizeDefinitionIndex
> 0 && this.GroupSizeDefinitions.Count > 0)
822
if (
_sizeDefinitionIndex
>= 0 &&
_sizeDefinitionIndex
< this.GroupSizeDefinitions.Count - 1)
986
if (
_sizeDefinitionIndex
< 0)
990
if (
_sizeDefinitionIndex
>= collection.Count)
995
ApplyGroupSizeDefinitionBase(collection[
_sizeDefinitionIndex
]);
996
SetAppropriatePresenterVisibility(GroupSizeDefinitions[
_sizeDefinitionIndex
] is RibbonGroupSizeDefinition ? Visibility.Visible : Visibility.Collapsed);
1066
if (
_sizeDefinitionIndex
>= 0 &&
_sizeDefinitionIndex
< groupSizeDefinitionsCount)
1068
RibbonGroupSizeDefinition groupDefinition = groupSizeDefinitions[
_sizeDefinitionIndex
] as RibbonGroupSizeDefinition;
1286
if (ribbonGroup.
_sizeDefinitionIndex
>= collection.Count)
1290
if (ribbonGroup.GroupPrepared && ribbonGroup.
_sizeDefinitionIndex
>= 0)
1292
ribbonGroup.ApplyGroupSizeDefinitionBase(collection[ribbonGroup.
_sizeDefinitionIndex
]);