AmbientAttributes.right

[与此页面关联的功能(Windows 媒体播放器 SDK)是旧版功能。 它已被 MediaPlayer 取代。 MediaPlayer 已针对Windows 10和Windows 11进行了优化。 如果可能,Microsoft 强烈建议新代码使用 MediaPlayer 而不是 Windows 媒体播放器 SDK。 如果可能,Microsoft 建议重写使用旧 API 的现有代码以使用新 API。]

right 属性指定或检索控件的右坐标。

        elementID.right

可能的值

此属性是一个读/写 Number () 表示控件到父 VIEWSUBVIEW 右边缘的距离(以像素为单位)。 未定义负值或未指定 AmbientAttributes.width 时的行为。

要求

要求
版本
Windows Media Player 11

另请参阅

环境属性

AmbientAttributes.id