ScriptBlock Element for ItemSelectionCondition for ListControl
Specifies the script that triggers the condition. When this script is evaluated to true
, the
condition is met, and the list item is used. This element is used when defining a list view.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- ListControl Element
- ListEntries Element for ListControl
- ListEntry Element for ListEntries for ListControl
- ListItems Element for ListEntry for ListControl
- ListItem Element for ListItems for List Control
- ItemSelectionCondition Element for ListItem for ListControl
- ScriptBlock Element for ItemSelectionCondition for ListControl
Syntax
<ScriptBlock>ScriptToEvaluate</ScriptBlock>
Attributes and Elements
The following sections describe attributes, child elements, and the parent elements of the
ScriptBlock
element.
Attributes
None.
Child Elements
None.
Parent Elements
Element | Description |
---|---|
ItemSelectionCondition Element for ListItem for ListControl | Defines the condition that must exist for this list item to be used. |
Text Value
Specify the script that is evaluated.
Remarks
If this element is used, you cannot specify the PropertyName
element when defining the selection
condition.
See Also
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per