LightSwitch Control ViewIDs

When you create a LightSwitch screen template extension, use ViewIDs to define the default controls. Every ViewID must have the module:control form, in which control is the name of the control, and module is the name of the module in which the control is defined.

Important

With the introduction of multiple client types in LightSwitch for Visual Studio 2013 the module portion of the ViewID changed to include a ClientType identifier. For extensions targeting earlier versions of Lightswitch, use the notation Microsoft.LightSwitch:control. For extensions targeting Visual Studio 2013, use Microsoft.LightSwitch.RichClient:control for Silverlight client screens, or Microsoft.LightSwitch.MobileWeb:control for HTML client screens.

Note

You can also use the module:control notation for any installed control extensions.

Control ViewIDs

The following list shows the ViewIDs for the controls that are included in LightSwitch. For information on using ViewIDs in a screen template, see Creating a LightSwitch Screen Template

Note

Not all ViewIDs are valid for all client types.

Collection Controls

  • Microsoft.LightSwitch.ClientType:DataGrid

  • Microsoft.LightSwitch.ClientType:List

  • Microsoft.LightSwitch.ClientType:TileList

Command Controls

  • Microsoft.LightSwitch.ClientType:Button

  • Microsoft.LightSwitch.ClientType:Link

  • Microsoft.LightSwitch.ClientType:ShellButton

  • Microsoft.LightSwitch.ClientType:CollectionButton

Details Controls

  • Microsoft.LightSwitch.ClientType:Summary

Details Picker Controls

  • Microsoft.LightSwitch.ClientType:ModalWindowPickerDetails

  • Microsoft.LightSwitch.ClientType:DetailsAutoCompleteBox

Value Picker Controls

  • Microsoft.LightSwitch.ClientType:ModalWindowPickerValue

  • Microsoft.LightSwitch.ClientType:ValueAutoCompleteBox

Group Controls

  • Microsoft.LightSwitch.ClientType:ModalWindow

  • Microsoft.LightSwitch.ClientType:RowsLayout

  • Microsoft.LightSwitch.ClientType:ColumnsLayout

  • Microsoft.LightSwitch.ClientType:TableLayout

  • Microsoft.LightSwitch.ClientType:TableColumnLayout

  • Microsoft.LightSwitch.ClientType:TabsLayout

  • Microsoft.LightSwitch.ClientType:DataGridRow

  • Microsoft.LightSwitch.ClientType:PictureAndText

  • Microsoft.LightSwitch.ClientType:TextAndPicture

  • Microsoft.LightSwitch.ClientType:GroupBox

  • Microsoft.LightSwitch.Extensions.ClientType:AddressViewerSmartLayout

  • Microsoft.LightSwitch.Extensions.ClientType:AddressEditorSmartLayout

  • Microsoft.LightSwitch.Extensions.ClientType:WebLink

  • Microsoft.LightSwitch.Extensions.ClientType:WebAddressEditor

Screen Controls

  • Microsoft.LightSwitch.ClientType:Screen

Value and Picker Controls

  • Microsoft.LightSwitch.ClientType:CheckBox

  • Microsoft.LightSwitch.ClientType:DateTimePicker

  • Microsoft.LightSwitch.ClientType:DateTimeViewer

  • Microsoft.LightSwitch.ClientType:DatePicker

  • Microsoft.LightSwitch.ClientType:DateViewer

  • Microsoft.LightSwitch.ClientType:FlipSwitch

  • Microsoft.LightSwitch.ClientType:Label

  • Microsoft.LightSwitch.ClientType:Paragraph

  • Microsoft.LightSwitch.ClientType:StaticImage

  • Microsoft.LightSwitch.ClientType:StaticLabel

  • Microsoft.LightSwitch.ClientType:TextBox

  • Microsoft.LightSwitch.ClientType:TextArea

  • Microsoft.LightSwitch.Extensions.ClientType:EmailAddressViewerControl

  • Microsoft.LightSwitch.Extensions.ClientType:EmailAddressEditorControl

  • Microsoft.LightSwitch.Extensions.ClientType:ImageViewerControl

  • Microsoft.LightSwitch.Extensions.ClientType:ImageEditorControl

  • Microsoft.LightSwitch.Extensions.ClientType:MoneyViewerControl

  • Microsoft.LightSwitch.Extensions.ClientType:MoneyEditorControl

  • Microsoft.LightSwitch.Extensions.ClientType:PercentViewerControl

  • Microsoft.LightSwitch.Extensions.ClientType:PercentEditorControl

  • Microsoft.LightSwitch.Extensions.ClientType:PersonPickerControl

  • Microsoft.LightSwitch.Extensions.ClientType:PersonViewerControl

  • Microsoft.LightSwitch.Extensions.ClientType:PhoneNumberViewerControl

  • Microsoft.LightSwitch.Extensions.ClientType:PhoneNumberEditorControl

  • Microsoft.LightSwitch.Extensions.ClientType:WebAddressEditor

See Also

Concepts

Creating a LightSwitch Screen Template

LightSwitch Extensibility Toolkit for Visual Studio 2013