Gets or sets the value that indicates the X offset of the image.
Syntax
Visual Basic (Declaration) | |
---|
Public Property X As Integer |
C# | |
---|
public int X {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_X();
public: __property void set_X(
int value
); |
Return Value
Value that indicates the X offset of the image. In other words, it is the horizontal distance between the center of the image and the center of the cell. Default is 0.
Example
For an example, refer to
#ctor
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also