Ejemplo n.º 1
0
 private void RibbonButtonUtility_AddRibbonButtonAction(object parameter)
 {
     if (parameter is IRibbonButtonInfo info)
     {
         ContentPanelUtility.AddViewToContentPanel <TabItem>(info, this, v => v.Header.Equals(info.DisplayName));
     }
 }
Ejemplo n.º 2
0
 private void RibbonButtonUtility_AddRibbonButtonAction(object parameter)
 {
     if (parameter is IRibbonButtonInfo info)
     {
         ContentPanelUtility.AddViewToContentPanel <LayoutAnchorable>(info, this, v => v.Title.Equals(info.Name, StringComparison.OrdinalIgnoreCase));
     }
 }