2 writes to RibbonGallery
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
2147
category.
RibbonGallery
= this;
2246
category.
RibbonGallery
= null;
36 references to RibbonGallery
System.Windows.Controls.Ribbon (36)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryItemsPanel.cs (1)
614
return category.
RibbonGallery
;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (31)
92
RibbonGallery gallery =
RibbonGallery
;
223
RibbonGallery gallery = galleryCategory.
RibbonGallery
;
256
category.
RibbonGallery
,
266
category.
RibbonGallery
,
311
me.
RibbonGallery
,
343
me.
RibbonGallery
,
452
if (
RibbonGallery
!= null &&
RibbonGallery
.IsSynchronizedWithCurrentItemInternal)
495
if (
RibbonGallery
!= null &&
RibbonGallery
.IsSynchronizedWithCurrentItemInternal)
499
if (
RibbonGallery
!= null &&
RibbonGallery
.SelectedItem == null)
511
Debug.Assert(
RibbonGallery
== null ||
RibbonGallery
.IsSynchronizedWithCurrentItemInternal, "We shouldn't be listening for currency changes if IsSynchronizedWithCurrentItemInternal is false");
513
if (
RibbonGallery
== null || CollectionView == null ||
RibbonGallery
.IsSelectionChangeActive)
528
RibbonGallery
.SelectedItem = CollectionView.CurrentItem;
545
if (
RibbonGallery
!= null)
547
object selectedItem =
RibbonGallery
.SelectedItem;
548
object highlightedItem =
RibbonGallery
.HighlightedItem;
557
RibbonGallery
.ForceCoerceSelectedItem();
564
RibbonGallery
.ForceCoerceHighlightedItem();
569
RibbonGallery
.IsMaxColumnWidthValid = false;
573
if (
RibbonGallery
!= null)
575
if (
RibbonGallery
.SelectedItem != null)
578
RibbonGallery
.ForceCoerceSelectedItem();
580
if (
RibbonGallery
.HighlightedItem != null)
583
RibbonGallery
.ForceCoerceHighlightedItem();
586
RibbonGallery
.IsMaxColumnWidthValid = false;
591
if (
RibbonGallery
!= null)
593
RibbonGallery
.IsMaxColumnWidthValid = false;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (3)
66
return RibbonGalleryCategory != null ? RibbonGalleryCategory.
RibbonGallery
: null;
186
RibbonGallery gallery = category.
RibbonGallery
;
240
RibbonGallery gallery = category.
RibbonGallery
;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
780
Debug.Assert(category.
RibbonGallery
== gallery, "The reference RibbongalleryItem and the RibbonGallery must be related.");