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