9 references to FindContainer
System.Windows.Controls.Ribbon (9)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (2)
90
return RibbonHelper.
FindContainer
(this, 0, 1, null, HasTabs) as RibbonContextualTabGroup;
101
return RibbonHelper.
FindContainer
(this, Items.Count - 1, -1, null, HasTabs) as RibbonContextualTabGroup;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (7)
545
FrameworkElement firstItem =
FindContainer
(itemsControl, 0, 1, bringIntoViewCallback, additionalCheck);
556
FrameworkElement lastItem =
FindContainer
(itemsControl, itemsControl.Items.Count - 1, -1, bringIntoViewCallback, additionalCheck);
595
FrameworkElement nextElement = RibbonHelper.
FindContainer
(parent, itemIndex, 1, bringIntoViewCallback, null);
612
FrameworkElement nextElement = RibbonHelper.
FindContainer
(parent, startIndex + 1, 1, bringIntoViewCallback, IsMenuItemFocusable);
641
FrameworkElement previousElement = RibbonHelper.
FindContainer
(parent, startIndex - 1, -1, bringIntoViewCallback, IsMenuItemFocusable);
663
RibbonGalleryCategory lastCategory = RibbonHelper.
FindContainer
(gallery, gallery.Items.Count - 1, -1, null, IsContainerVisible) as RibbonGalleryCategory;
702
RibbonGalleryCategory firstCategory = RibbonHelper.
FindContainer
(gallery, 0, 1, null, IsContainerVisible) as RibbonGalleryCategory;