DateTimePicker.Right 属性

定义

获取 DateTimePicker 的右边缘与该文档的左边缘之间的距离(以磅为单位)。

public float Right { get; }

属性值

Single

的右边缘 DateTimePicker 与文档左边缘之间的距离(以磅为单位)。

示例

有关演示如何使用此属性的代码示例,请参见 Microsoft.Office.Tools.Word.Controls.Button.Right 。 命名空间中的所有控件 Microsoft.Office.Tools.Word.Controls 都具有功能等效的 Right 属性。

注解

属性的值 Right 等于 Left 属性值和 Width 属性值的总和。

Microsoft.Office.Tools.Word.Controls.DateTimePicker.Right属性使用点,而 System.Windows.Forms.Control.Right 属性使用像素。

适用于