应用到: CRM 2016 on-prem, CRM Online
在布局模板中指定控件的占位符。
语法
<ControlRef 
 DisplayMode=["Default" | "Small" | "Medium" | "Large" | "Text" | "Menu" | "Menu16" | "Menu32" | "Thin" ]
 TemplateAlias="String" 
/>
属性和元素
The following table lists the attributes, child elements, and parent elements.
属性
| Attribute | Description | Type | Usage | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DisplayMode | 控制用于显示元素的模式。 Valid Values: 
 | Enumeration | Optional | ||||||||||||||||||||
| TemplateAlias | 将 CommandUIDefinition 的功能区元素子级与 Layout 元素子级中的位置占位符关联。此值定义了控件在布局发生更改时在控件组中的显示位置。 | String | Optional | 
子元素
此元素没有子元素。
父元素
| Element | Description | 
|---|---|
| 指定节中的行。 | |
| 包含一个控件引用集合。 | 
元素信息
| XPath |  | 
| Schema Name | ControlRefType | 
| Validation File | RibbonWSS.xsd | 
| Can be Empty | Yes | 
另请参阅
其他资源
Ribbon XML reference
自定义命令和功能区
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.