1 write to _filterMenuButton
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
108
_filterMenuButton
= this.Template.FindName(_filterMenuButtonTemplatePartName, this) as RibbonFilterMenuButton;
19 references to _filterMenuButton
System.Windows.Controls.Ribbon (19)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (19)
102
if (
_filterMenuButton
!= null)
104
Debug.Assert(
_filterMenuButton
.ItemContainerGenerator != null);
105
_filterMenuButton
.ItemContainerGenerator.StatusChanged -= OnFilterButtonItemContainerGeneratorStatusChanged;
110
if (
_filterMenuButton
!= null)
112
Debug.Assert(
_filterMenuButton
.ItemContainerGenerator != null);
113
_filterMenuButton
.ItemContainerGenerator.StatusChanged += new EventHandler(OnFilterButtonItemContainerGeneratorStatusChanged);
115
_filterMenuButton
.SetBinding(RibbonMenuButton.ItemsSourceProperty, itemsSourceBinding);
193
gallery.
_filterMenuButton
!= null)
195
return filterItemContainerStyleSelector.SelectStyle(currentFilter, gallery.
_filterMenuButton
.CurrentFilterItem);
211
if (
_filterMenuButton
!= null)
213
RibbonMenuItem currentFilterItem =
_filterMenuButton
.CurrentFilterItem;
255
if (
_filterMenuButton
!= null)
257
RibbonMenuItem currentFilterItem =
_filterMenuButton
.CurrentFilterItem;
322
gallery.
_filterMenuButton
!= null)
324
return filterItemTemplateSelector.SelectTemplate(currentFilter, gallery.
_filterMenuButton
.CurrentFilterItem);
347
if (
_filterMenuButton
.ItemContainerGenerator.Status == GeneratorStatus.ContainersGenerated)
351
RibbonMenuItem filterItem =
_filterMenuButton
.ItemContainerGenerator.ContainerFromItem(filter) as RibbonMenuItem;
1789
rg.
_filterMenuButton
!= null &&
2121
return
_filterMenuButton
;