Compartilhar via


ListBox.Right Property

Definition

Gets the distance, in points, between the right edge of the ListBox and the left edge of the document.

public:
 property float Right { float get(); };
public float Right { get; }
member this.Right : single
Public ReadOnly Property Right As Single

Property Value

The distance, in points, between the right edge of the ListBox and the left edge of the document.

Examples

For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Word.Controls.Button.Right. All controls in the Microsoft.Office.Tools.Word.Controls namespace have a functionally equivalent Right property.

Remarks

The value of the Right property is equal to the sum of the Left property value and the Width property value.

The Microsoft.Office.Tools.Word.Controls.ListBox.Right property uses points, whereas System.Windows.Forms.Control.Right property uses pixels.

Applies to