DynamicsBaseHostedControl.PopulateToolbars Method

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)

Usage

'Usage
Dim ProgrammableToolbarTray As ToolBarTray

Me.PopulateToolbars(ProgrammableToolbarTray)

Syntax

'Declaration
Protected Sub PopulateToolbars ( _
    ProgrammableToolbarTray As ToolBarTray _
)
protected void PopulateToolbars (
    ToolBarTray ProgrammableToolbarTray
)
protected:
void PopulateToolbars (
    ToolBarTray^ ProgrammableToolbarTray
)
protected void PopulateToolbars (
    ToolBarTray ProgrammableToolbarTray
)
protected function PopulateToolbars (
    ProgrammableToolbarTray : ToolBarTray
)

Parameters

  • ProgrammableToolbarTray
    Reference to control writers implementation of ToolbarTray

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

DynamicsBaseHostedControl Class
DynamicsBaseHostedControl Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.