DateTimePicker.Right Property (2007 System)
Gets the distance, in points, between the right edge of the DateTimePicker and the left edge of the document.
Namespace: Microsoft.Office.Tools.Word.Controls
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property Right As Single
'Usage
Dim instance As DateTimePicker
Dim value As Single
value = instance.Right
public float Right { get; }
public:
property float Right {
float get ();
}
public function get Right () : float
Property Value
Type: System.Single
The distance, in points, between the right edge of the DateTimePicker and the left edge of the document.
Remarks
The value of the Right property is equal to the sum of the Left property value and the Width property value.
The DateTimePicker.Right property uses points, whereas Control.Right property uses pixels.
Examples
For a code example that demonstrates how to use this property, see Button.Right. All controls in the Microsoft.Office.Tools.Word.Controls namespace have a functionally equivalent Right property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.