LightSwitch 控制項 ViewID
當您建立 LightSwitch 螢幕範本擴充時,請使用 ViewID定義預設控制項。 每個 ViewID 必須有 module:control 表單,其中 control 是控制項名稱,而 module 是每個被定義的控制項模組名稱。
重要
多個用戶端的展示輸入 Visual Studio LightSwitch 2013 的變更 ViewID 的部分包含 module ClientType 識別項。針對目標為 Lightswitch 的舊版擴充功能,請使用附註 Microsoft.LightSwitch:control。對於以 Visual Studio 擴充功能 2013,針對 Silverlight 用戶端螢幕中使用 HTML 用戶端螢幕的 Microsoft.LightSwitch.RichClient:control 、 Microsoft.LightSwitch.MobileWeb:control 。
注意事項 |
---|
您可以為所有已安裝的擴充功能使用 module:control 附註。 |
控制項 ViewID
下列清單顯示在 LightSwitch 中的控制項的 ViewID。 如需使用在螢幕範本中的 ViewID,請參閱 建立 LightSwitch 螢幕範本
注意事項 |
---|
並非所有的 ViewID用戶端都是有效的。 |
集合控制項
Microsoft.LightSwitch.ClientType: DataGrid
Microsoft.LightSwitch.ClientType: 清單
Microsoft.LightSwitch.ClientType: TileList
Command 控制項
Microsoft.LightSwitch.ClientType: 按鈕
Microsoft.LightSwitch.ClientType: 清單
Microsoft.LightSwitch.ClientType: ShellButton
Microsoft.LightSwitch.ClientType: CollectionButton
詳細資料控制項
- Microsoft.LightSwitch.ClientType: 摘要
詳細資料選擇器控制項
Microsoft.LightSwitch.ClientType: ModalWindowPickerDetails
Microsoft.LightSwitch.ClientType: DetailsAutoCompleteBox
值選擇器控制項
Microsoft.LightSwitch.ClientType: ModalWindowPickerValue
Microsoft.LightSwitch.ClientType: ValueAutoCompleteBox
群組控制項
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
螢幕控制項
- Microsoft.LightSwitch.ClientType: 螢幕
值和選擇器控制項
Microsoft.LightSwitch.ClientType: 核取方塊。
Microsoft.LightSwitch.ClientType: DateTimePicker
Microsoft.LightSwitch.ClientType: DateTimeViewer
Microsoft.LightSwitch.ClientType: DatePicker
Microsoft.LightSwitch.ClientType: DateViewer
Microsoft.LightSwitch.ClientType: FlipSwitch
Microsoft.LightSwitch.ClientType: 標籤
Microsoft.LightSwitch.ClientType: 段落
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: PercenEditorControl
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