Elemento ExpressionBinding para CustomItem for Controls for Configuration (formato)ExpressionBinding Element for CustomItem for Controls for Configuration (Format)

Define los datos que muestra el control.Defines the data that is displayed by the control. Este elemento se utiliza al definir un control común que se puede usar en todas las vistas del archivo de formato.This element is used when defining a common control that can be used by all the views in the formatting file.

Elemento de configuración (formato) elementos del control de configuración (formato) para los controles de configuración (formato) elemento CustomControl para el control de la configuración (formato) elemento CustomEntries para CustomControl para el elemento CustomEntry de Configuration (Format) para los controles de configuración (Format) para los controles de configuración (Format)Configuration Element (Format) Controls Element of Configuration (Format) Control Element for Controls for Configuration (Format) CustomControl Element for Control for Configuration (Format) CustomEntries Element for CustomControl for Configuration (Format) CustomEntry Element for CustomControl for Controls for Configuration (Format) CustomItem Element for CustomEntry for Controls for Configuration ExpressionBinding Element for CustomItem for Controls for Configuration (Format)

SintaxisSyntax

<ExpressionBinding>
  <CustomControl>...</CustomControl>
  <CustomControlName>NameofCommonCustomControl</CustomControlName>
  <EnumerateCollection/>
  <ItemSelectionCondition>...</ItemSelectionCondition>
  <PropertyName>Nameof.NetTypeProperty</PropertyName>
  <ScriptBlock>ScriptToEvaluate></ScriptBlock>
</ExpressionBinding>

Atributos y elementosAttributes and Elements

En las secciones siguientes se describen los atributos, los elementos secundarios y el elemento primario del ExpressionBinding elemento.The following sections describe attributes, child elements, and the parent element of the ExpressionBinding element.

AtributosAttributes

Ninguno.None.

Elementos secundariosChild Elements

ElementoElement DescripciónDescription
CustomControl Element Elemento opcional.Optional element.

Define un control utilizado por este control.Defines a control that is used by this control.
Elemento CustomControlName para ExpressionBinding for Controls for Configuration (formato)CustomControlName Element for ExpressionBinding for Controls for Configuration (Format) Elemento opcional.Optional element.

Especifica el nombre de un control común o un control de vista.Specifies the name of a common control or a view control.
Elemento EnumerateCollection para ExpressionBinding for Controls for Configuration (formato)EnumerateCollection Element for ExpressionBinding for Controls for Configuration (Format) Elemento opcional.Optional element.

Especifica que el control muestra los elementos de las colecciones.Specified that the elements of collections are displayed by the control.
Elemento ItemSelectionCondition para ExpressionBinding for Controls for Configuration (formato)ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration (Format) Elemento opcional.Optional element.

Define la condición que debe existir para que se utilice este control común.Defines the condition that must exist for this common control to be used.
Elemento PropertyName para ExpressionBinding for Controls for Configuration (formato)PropertyName Element for ExpressionBinding for Controls for Configuration (Format) Elemento opcional.Optional element.

Especifica la propiedad de .NET cuyo valor se muestra en el control común.Specifies the .NET property whose value is displayed by the common control.
Elemento ScriptBlock para ExpressionBinding for Controls for Configuration (formato)ScriptBlock Element for ExpressionBinding for Controls for Configuration (Format) Elemento opcional.Optional element.

Especifica el script cuyo valor muestra el control común.Specifies the script whose value is displayed by the common control.

Elementos primariosParent Elements

ElementoElement DescripciónDescription
Elemento CustomItem de CustomEntry para controles de configuraciónCustomItem Element for CustomEntry for Controls for Configuration Define qué datos se muestran en la vista de control personalizada y cómo se muestran.Defines what data is displayed by the custom control view and how it is displayed.

ObservacionesRemarks

Consulte tambiénSee Also

Elemento CustomItem de CustomEntry para controles de configuraciónCustomItem Element for CustomEntry for Controls for Configuration

Escritura de un archivo de formato de PowerShellWriting a PowerShell Formatting File