| TextDirection | - ///Description | - ///
|---|---|
| LeftRight_TopBottom [H] | - ///Normal | - ///
| TopBottom_LeftRight [V] | - ///Normal | - ///
| RightLeft_TopBottom [H] | - ///Invert Text | - ///
| TopBottom_RightLeft [V] | - ///Invert Lines | - ///
| LeftRight_BottomTop [H] | - ///Invert Lines | - ///
| BottomTop_LeftRight [V] | - ///Invert Text | - ///
| RightLeft_BottomTop [H] | - ///Invert Text + Invert Lines | - ///
| BottomTop_RightLeft [V] | - ///Invert Text + Invert Lines | - ///
HELLO
WORLD
- /// H W
E O
L R
L L
O D
- /// OLLEH
DLROW
- /// W H
O E
R L
L L
D O
- /// WORLD
HELLO
- /// O D
L L
L R
E O
H W
- /// DLROW
OLLEH
- /// D O
L L
R L
O E
W H
- /// | TextDirection | Description | +///
|---|---|
| LeftRight_TopBottom [H] | Normal | +///
| TopBottom_LeftRight [V] | Normal | +///
| RightLeft_TopBottom [H] | Invert Text | +///
| TopBottom_RightLeft [V] | Invert Lines | +///
| LeftRight_BottomTop [H] | Invert Lines | +///
| BottomTop_LeftRight [V] | Invert Text | +///
| RightLeft_BottomTop [H] | Invert Text + Invert Lines | +///
| BottomTop_RightLeft [V] | Invert Text + Invert Lines | +///
HELLO
WORLDH W
E O
L R
L L
O DOLLEH
DLROWW H
O E
R L
L L
D OWORLD
HELLOO D
L L
L R
E O
H WDLROW
OLLEHD O
L L
R L
O E
W H
+ /// // See Issue #502
+ /// anchorButton.X = Pos.AnchorEnd () - (Pos.Right (anchorButton) - Pos.Left (anchorButton));
+ /// anchorButton.Y = Pos.AnchorEnd (1);
+ ///
+ ///
- /// var textView = new TextView () {
- /// X = Pos.Center (),
- /// Y = Pos.Percent (50),
- /// Width = Dim.Percent (80),
- /// Height = Dim.Percent (30),
- /// };
- ///
- ///
- /// // See Issue #502
- /// anchorButton.X = Pos.AnchorEnd () - (Pos.Right (anchorButton) - Pos.Left (anchorButton));
- /// anchorButton.Y = Pos.AnchorEnd (1);
- ///
- ///
+ /// var textView = new TextView () {
+ /// X = Pos.Center (),
+ /// Y = Pos.Percent (50),
+ /// Width = Dim.Percent (80),
+ /// Height = Dim.Percent (30),
+ /// };
+ ///
+ ///
- /// var textView = new TextView () {
- /// X = Pos.Center (),
- /// Y = Pos.Percent (50),
- /// Width = Dim.Percent (80),
- /// Height = Dim.Percent (30),
- /// };
- ///
- ///
+ /// var textView = new TextView () {
+ /// X = Pos.Center (),
+ /// Y = Pos.Percent (50),
+ /// Width = Dim.Percent (80),
+ /// Height = Dim.Percent (30),
+ /// };
+ ///
+ ///
+ /// var button = new Button () { Text = "Click Me!", X = 1, Y = 1, Width = 10, Height = 1 };
+ /// var textField = new TextField { Text = "Type here", X = 1, Y = 2, Width = 20, Height = 1 };
+ /// var view = new Window () { Title = "MyWindow", X = 0, Y = 0, Width = Dim.AutoSize (), Height = Dim.AutoSize () };
+ /// view.Add (button, textField);
+ ///
+ ///
- /// var button = new Button () { Text = "Click Me!", X = 1, Y = 1, Width = 10, Height = 1 };
- /// var textField = new TextField { Text = "Type here", X = 1, Y = 2, Width = 20, Height = 1 };
- /// var view = new Window () { Title = "MyWindow", X = 0, Y = 0, Width = Dim.AutoSize (), Height = Dim.AutoSize () };
- /// view.Add (button, textField);
- ///
- ///
- /// var textView = new TextView () {
- /// X = Pos.Center (),
- /// Y = Pos.Percent (50),
- /// Width = Dim.Percent (80),
- /// Height = Dim.Percent (30),
- /// };
- ///
- ///
+ /// var textView = new TextView () {
+ /// X = Pos.Center (),
+ /// Y = Pos.Percent (50),
+ /// Width = Dim.Percent (80),
+ /// Height = Dim.Percent (30),
+ /// };
+ ///
+ ///