SelectionCondition Element for EntrySelectedBy for WideControl
Defines the condition that must exist for this definition to be used. There is no limit to the number of selection conditions that can be specified for a wide entry definition.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- WideControl Element
- WideEntries Element
- WideEntry Element
- EntrySelectedBy Element
- SelectionCondition Element
Syntax
<SelectionCondition>
<TypeName>Nameof.NetType</TypeName>
<SelectionSetName>NameofSelectionSet</SelectionSetName>
<PropertyName>.NetTypeProperty</PropertyName>
<ScriptBlock>ScriptToEvaluate</ScriptBlock>
</SelectionCondition>
Attributes and Elements
The following sections describe attributes, child elements, and the parent element of the
SelectionCondition
element. You must specify a single PropertyName
or ScriptBlock
element. The
SelectionSetName
and TypeName
elements are optional. You can specify one of either element.
Attributes
None.
Child Elements
Element | Description |
---|---|
PropertyName Element for SelectionCondition for EntrySelectedBy for WideEntry | Optional element. Specifies the .NET property that triggers the condition. |
ScriptBlock Element for SelectionCondition for EntrySelectedBy for WideEntry | Optional element. Specifies the script block that triggers the condition. |
SelectionSetName Element for SelectionCondition for EntrySelectedBy for WideEntry | Optional element. Specifies the set of .NET types that triggers the condition. |
TypeName Element for SelectionCondition for EntrySelectedBy for WideEntry | Optional element. Specifies a .NET type that triggers the condition. |
Parent Elements
Element | Description |
---|---|
EntrySelectedBy Element for WideEntry | Defines the .NET types that use this wide entry or the condition that must exist for this entry to be used. |
Remarks
Each wide entry must have at least one type name, selection set, or selection condition defined.
When you are defining a selection condition, the following requirements apply:
- The selection condition must specify a least one property name or a script block, but cannot specify both.
- The selection condition can specify any number of .NET types or selection sets, but cannot specify both.
For more information about how to use selection conditions, see Defining Conditions for when a View Entry or Item is Used.
For more information about other components of a wide view, see Creating a Wide View.
See Also
Defining Conditions for When Data Is Displayed
EntrySelectedBy Element for WideEntry
PropertyName Element for SelectionCondition for EntrySelectedBy for WideEntry
ScriptBlock Element for SelectionCondition for EntrySelectedBy for WideEntry
SelectionSetName Element for SelectionCondition for EntrySelectedBy for WideEntry
TypeName Element for SelectionCondition for EntrySelectedBy for WideEntry