The itemscontrol which host contextual tab group headers for Ribbon.
Inheritance: System.Windows.Controls.ItemsControl
示例#1
0
        private static object CoerceVisibility(DependencyObject d, object baseValue)
        {
            RibbonContextualTabGroupItemsControl headerItemsControl = (RibbonContextualTabGroupItemsControl)d;

            if (headerItemsControl.ForceCollapse)
            {
                return(Visibility.Collapsed);
            }
            return(baseValue);
        }
示例#2
0
        private static object CoerceItemContainerStyle(DependencyObject d, object baseValue)
        {
            RibbonContextualTabGroupItemsControl me = (RibbonContextualTabGroupItemsControl)d;

            return(PropertyHelper.GetCoercedTransferPropertyValue(
                       me,
                       baseValue,
                       ItemContainerStyleProperty,
                       me.Ribbon,
                       Ribbon.ContextualTabGroupStyleProperty));
        }
 public RibbonContextualTabGroupItemsControlAutomationPeer(RibbonContextualTabGroupItemsControl owner)
     : base(owner)
 {
 }