1 instantiation of RibbonGalleryCategory
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2136return new RibbonGalleryCategory();
86 references to RibbonGalleryCategory
System.Windows.Controls.Ribbon (86)
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryAutomationPeer.cs (1)
30public RibbonGalleryCategoryAutomationPeer(RibbonGalleryCategory owner)
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryDataAutomationPeer.cs (2)
79RibbonGalleryCategory category = GetWrapper() as RibbonGalleryCategory;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
390RibbonGalleryCategory category = child as RibbonGalleryCategory;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryItemsPanel.cs (9)
52RibbonGalleryCategory category = Category; 65RibbonGalleryCategory category = Category; 76RibbonGalleryCategory category = Category; 365RibbonGalleryCategory category = Category; 540RibbonGalleryCategory category = Category; 599private RibbonGalleryCategory Category 603return (RibbonGalleryCategory)ItemsControl.GetItemsOwner(this); 611RibbonGalleryCategory category = this.Category; 626RibbonGalleryCategory category = Category;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
509RibbonGalleryCategory category = isHighlightedItem ? _firstGallery.HighlightedCategory : _firstGallery.SelectedCategory; 1202(TreeHelper.FindVisualAncestor<RibbonGalleryCategory>(focusedElement) != null))
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (37)
45[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(RibbonGalleryCategory))] 597RibbonGalleryCategory category = (RibbonGalleryCategory)ItemContainerGenerator.ContainerFromIndex(i); 725RibbonGalleryCategory category = null; 747RibbonGalleryCategory category = null; 830RibbonGalleryCategory category = null; 861RibbonGalleryCategory category = null; 978RibbonGalleryCategory category = ItemContainerGenerator.ContainerFromIndex(i) as RibbonGalleryCategory; 1009RibbonGalleryCategory category; 1037RibbonGalleryCategory category, 1168RibbonGalleryCategory category = this.ItemContainerGenerator.ContainerFromItem(CollectionView.CurrentItem) as RibbonGalleryCategory; 1381out RibbonGalleryCategory category, 1396category = ItemContainerGenerator.ContainerFromItem(current) as RibbonGalleryCategory; 1419out RibbonGalleryCategory category, 1436category = ItemContainerGenerator.ContainerFromItem(current) as RibbonGalleryCategory; 1546internal RibbonGalleryCategory SelectedCategory 1629RibbonGalleryCategory category = null; 1651RibbonGalleryCategory category = null; 1743internal RibbonGalleryCategory HighlightedCategory 2131return item is RibbonGalleryCategory; 2146RibbonGalleryCategory category = (RibbonGalleryCategory)element; 2221RibbonGalleryCategory category = (RibbonGalleryCategory)element; 2324RibbonGalleryCategory category; 2329if (this.Items[i] is RibbonGalleryCategory) 2331category = (RibbonGalleryCategory)this.Items[i]; 2336category = (RibbonGalleryCategory)this.ItemContainerGenerator.ContainerFromIndex(i); 2361RibbonGalleryCategory category; 2366if (gallery.Items[i] is RibbonGalleryCategory) 2368category = (RibbonGalleryCategory)gallery.Items[i]; 2373category = (RibbonGalleryCategory)gallery.ItemContainerGenerator.ContainerFromIndex(i); 2536RibbonGalleryCategory category = (RibbonGalleryCategory)gallery.ItemContainerGenerator.ContainerFromIndex(index); 3121RibbonGalleryCategory category = null;
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (18)
49Type ownerType = typeof(RibbonGalleryCategory); 56AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 200ItemsHostSite = (Panel)(ItemsPanel.FindName(RibbonGalleryCategory.ItemsHostPanelName, _itemsPresenter)); 215RibbonGalleryCategory galleryCategory = (RibbonGalleryCategory)d; 252RibbonGalleryCategory category = (RibbonGalleryCategory)d; 262RibbonGalleryCategory category = (RibbonGalleryCategory)d; 301public static readonly DependencyProperty MinColumnCountProperty = RibbonGallery.MinColumnCountProperty.AddOwner(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(1, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceMinColumnCount))); 306RibbonGalleryCategory me = (RibbonGalleryCategory)d; 333public static readonly DependencyProperty MaxColumnCountProperty = RibbonGallery.MaxColumnCountProperty.AddOwner(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(int.MaxValue, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceMaxColumnCount))); 338RibbonGalleryCategory me = (RibbonGalleryCategory)d; 363public static readonly DependencyProperty ColumnsStretchToFillProperty = RibbonGallery.ColumnsStretchToFillProperty.AddOwner(typeof(RibbonGalleryCategory), 388public static readonly DependencyProperty IsSharedColumnSizeScopeProperty = RibbonGallery.IsSharedColumnSizeScopeProperty.AddOwner(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnNotifyPropertyChanged))); 622typeof(RibbonGalleryCategory),
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (3)
56internal RibbonGalleryCategory RibbonGalleryCategory 182RibbonGalleryCategory category = galleryItem.RibbonGalleryCategory; 237RibbonGalleryCategory category = galleryItem.RibbonGalleryCategory;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (12)
662RibbonGalleryCategory lastCategory = RibbonHelper.FindContainer(gallery, gallery.Items.Count - 1, -1, null, IsContainerVisible) as RibbonGalleryCategory; 701RibbonGalleryCategory firstCategory = RibbonHelper.FindContainer(gallery, 0, 1, null, IsContainerVisible) as RibbonGalleryCategory; 767RibbonGalleryCategory category, prevCategory = null; 774category = gallery.Items.Count > 0 ? gallery.ItemContainerGenerator.ContainerFromIndex(0) as RibbonGalleryCategory : null; 798category = gallery.ItemContainerGenerator.ContainerFromIndex(catIndex) as RibbonGalleryCategory; 1824new PropertyAndTransferMode () { Property = RibbonGalleryCategory.HeaderVisibilityProperty, Mode = TransferMode.AlwaysTransfer }, 1825new PropertyAndTransferMode () { Property = RibbonGalleryCategory.IsSharedColumnSizeScopeProperty, Mode = TransferMode.AlwaysTransfer }, 1826new PropertyAndTransferMode () { Property = RibbonGalleryCategory.MaxColumnCountProperty, Mode = TransferMode.AlwaysTransfer }, 1827new PropertyAndTransferMode () { Property = RibbonGalleryCategory.MinColumnCountProperty, Mode = TransferMode.AlwaysTransfer }, 2095else if (original is RibbonGalleryCategory)