System.Windows.Forms.Control.Right Property

Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public int Right { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

The Control.Right property is read-only. You can change this property value indirectly by changing the value of the Control.Left or Control.Width properties or calling the Control.SetBounds(int, int, int, int), Control.SetBoundsCore(int, int, int, int, BoundsSpecified), Control.UpdateBounds, or Control.SetClientSizeCore(int, int) methods.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0