DirectoryVirtualListView.TargetPercentage Propriedade

Definição

A propriedade TargetPercentage obtém ou define um valor para indicar a deslocamento solicitado da entrada de destino estimado dentro da lista, como um percentual do número total de itens na lista.The TargetPercentage property gets or sets a value to indicate the estimated target entry's requested offset within the list, as a percentage of the total number of items in the list.

public:
 property int TargetPercentage { int get(); void set(int value); };
public int TargetPercentage { get; set; }
[System.DirectoryServices.DSDescription("DSTargetPercentage")]
public int TargetPercentage { get; set; }
member this.TargetPercentage : int with get, set
[<System.DirectoryServices.DSDescription("DSTargetPercentage")>]
member this.TargetPercentage : int with get, set
Public Property TargetPercentage As Integer

Valor da propriedade

Int32

Um valor inteiro que representa o deslocamento percentual estimado dentro da lista da entrada de destino.An integer value that represents the estimated percentage offset within the list of the target entry.

Atributos

Exceções

A propriedade TargetPercentage é definida com um valor maior que 100 ou menor que 0.The TargetPercentage property is set to a value greater than 100 or less than 0.

Comentários

Quando essa propriedade é definida, um novo valor para a Offset propriedade é computado multiplicando o valor da ApproximateTotal Propriedade pelo valor da TargetPercentage propriedade e dividindo o resultado por 100.When this property is set, a new value for the Offset property is computed by multiplying the value of the ApproximateTotal property by the value of the TargetPercentage property, and dividing the result by 100.

Aplica-se a