9 references to FindContainer
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (2)
88
return RibbonHelper.
FindContainer
(this, 0, 1, null, HasTabs) as RibbonContextualTabGroup;
99
return RibbonHelper.
FindContainer
(this, Items.Count - 1, -1, null, HasTabs) as RibbonContextualTabGroup;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (7)
544
FrameworkElement firstItem =
FindContainer
(itemsControl, 0, 1, bringIntoViewCallback, additionalCheck);
555
FrameworkElement lastItem =
FindContainer
(itemsControl, itemsControl.Items.Count - 1, -1, bringIntoViewCallback, additionalCheck);
594
FrameworkElement nextElement = RibbonHelper.
FindContainer
(parent, itemIndex, 1, bringIntoViewCallback, null);
611
FrameworkElement nextElement = RibbonHelper.
FindContainer
(parent, startIndex + 1, 1, bringIntoViewCallback, IsMenuItemFocusable);
640
FrameworkElement previousElement = RibbonHelper.
FindContainer
(parent, startIndex - 1, -1, bringIntoViewCallback, IsMenuItemFocusable);
662
RibbonGalleryCategory lastCategory = RibbonHelper.
FindContainer
(gallery, gallery.Items.Count - 1, -1, null, IsContainerVisible) as RibbonGalleryCategory;
701
RibbonGalleryCategory firstCategory = RibbonHelper.
FindContainer
(gallery, 0, 1, null, IsContainerVisible) as RibbonGalleryCategory;