The itemscontrol which host contextual tab group headers for Ribbon.
Наследование: 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)
 {
 }