Changes selected properties and code sections, specifying a visual object's position or dimensions, so that the object is mirrored. The code provider changes certain code sections in the following way:
Source |
Result |
left, right, top, bottom |
right, left, bottom, top |
+, -, ++, -- |
-, +, --, ++ |
Availability
From the context menus or via shortcuts:
- when the edit cursor or caret is on the selected expression containing a property that specifies the position or dimensions of a visual object.
Example
Rectangle MyRect = new Rectangle() {X=10,Y=20};
│int a = MyRect.Top;
int b = MyRect.Left;
Dim MyRect As Rectangle = New Rectangle()
MyRect.X = 10
MyRect.Y = 20
│Dim a As Integer = MyRect.Top
Dim b As Integer = MyRect.Left
Result:
Rectangle MyRect = new Rectangle() {X=10,Y=20};
│int a = MyRect.Bottom;
int b = MyRect.Right;
Dim MyRectangle As Rect = New Rectangle()
MyRect.X = 10
MyRect.Y = 20
│Dim a As Integer = MyRectangle.Bottom
Dim b As Integer = MyRectangle.Right
We are updating the DevExpress product documentation website and this page is part of our new experience. During this transition period, product documentation remains available in our previous format at documentation.devexpress.com. Learn More...