DynamicsBaseHostedControl.PopulateToolbars Method (ToolBarTray)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
The control writer should call PopulateToolbars passing a reference to their ToolbarTray. This function will read the configuration and populate the buttons based on the toolbar configuration assigned to this hosted control on the server.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Syntax
protected void PopulateToolbars(
ToolBarTray ProgrammableToolbarTray
)
Protected Sub PopulateToolbars (
ProgrammableToolbarTray As ToolBarTray
)
Parameters
ProgrammableToolbarTray
Type: System.Windows.Controls.ToolBarTrayReference to control writers implementation of ToolbarTray
See Also
DynamicsBaseHostedControl Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Return to top
Unified Service Desk 2.0
© 2016 Microsoft. All rights reserved. Copyright