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