FlyoutAnchor子菜单项中的图像 - CRM 2011功能区

时间:2012-06-22 10:29:37

标签: dynamics-crm-2011 ribbon

是否可以在FlyoutAnchor子菜单中的项目旁边显示图像?

我尝试在子菜单中使用与常规菜单相同的属性,但它对我不起作用。

有什么想法吗?感谢

          <FlyoutAnchor Id="myFlyoutOtherAct"
                        ToolTipTitle="$Resources:Ribbon.HomepageGrid.Add.Related.OtherActivities" ToolTipDescription=""
                        LabelText="$Resources:Ribbon.HomepageGrid.Add.Related.OtherActivities" Alt="$Resources:Ribbon.HomepageGrid.Add.Related.OtherActivities" 
                        Sequence="80" 
                        Command="Mscrm.Enabled" 
                        Image16by16="/_imgs/ribbon/customactivity_16.png" Image32by32="/_imgs/ribbon/customactivity_32.png"                            
                        TemplateAlias="c9">
            <Menu Id="myMenuOtherAct">
              <MenuSection Id="myMenuSectOtherAct" 
                           Title="OtherActivities" 
                           Sequence="15">
                <Controls Id="myControlsOtherAct">
                  <Button Id="myButtonLetter" Command="Mscrm.CreateLetter" 
                          ToolTipTitle="{!EntityDisplayName:letter}" ToolTipDescription="" LabelText="{!EntityDisplayName:letter}" Alt="{!EntityDisplayName:letter}" 
                          **Image16by16="/_imgs/ribbon/entity16_4207.png" Image32by32="/_imgs/ribbon/entity32_4207.png"**
                          TemplateAlias="isv" Sequence="10"/>

...

1 个答案:

答案 0 :(得分:0)

是的,这是可能的。您需要将DisplayMode的{​​{1}}设置为您想要的值。

MenuSection (RibbonDiffXml)

MenuSection