Interface for a Silverlight control.

See

Control

Deprecated

The Silverlight WebResource is deprecated on the web client, and is not supported on the new Unified Interface in v9. Instead of silverlight, use custom controls created using the HTML web resources with HTML5 to create UI components to visualize and interact with data.

Hierarchy

Methods

  • Gets the controls type.

    Returns string

    The control type.

    Values returned are:

    • standard
    • iframe
    • lookup
    • optionset
    • subgrid
    • webresource
    • notes
    • timercontrol
    • kbsearch
    • quickform (see ui.QuickForm)
    • customcontrol: . (A custom control for mobile phone and tablet clients).
    • customsubgrid: . (A custom dataset control for mobile phone and tablet clients).
  • Gets the query string value passed to Silverlight.

    Returns string

    The data.

    Deprecated

    Silverlight is no longer supported. These methods won't be available after October 2020.

    Remarks

    Unavailable for Microsoft Dynamics CRM for tablets.

  • Gets the label.

    Returns string

    The label.

  • Gets the name of the control on the form.

    Returns string

    The name of the control.

    Remarks

    The name assigned to a control is not determined until the form loads. Changes to the form may change the name assigned to a given control. When you use the control getName method the name of the first control will be the same as the name of the attribute. The second instance of a control for that attribute will be "1". The pattern +N will continue for each additional control added to the form for a specific attribute. When a form displays a business process flow control in the header, additional controls will be added for each attribute that is displayed in the business process flow. These controls have a unique name like the following: header_process_.

  • Gets the DOM element containing the control.

    Returns HTMLObjectElement

    The container object.

    Remarks

    Unavailable for Microsoft Dynamics CRM for tablets.

  • Gets the visibility state.

    Returns boolean

    true if the tab is visible, otherwise false.

  • Sets the query string value passed to Silverlight.

    Parameters

    • data: string

      The data.

    Returns void

    Deprecated

    Silverlight is no longer supported. These methods won't be available after October 2020.

    Remarks

    Unavailable for Microsoft Dynamics CRM for tablets.

  • Sets the label.

    Parameters

    • label: string

      The label.

    Returns void

Generated using TypeDoc