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