개정판 f513c215
issue #923: add CreateCommand and change thumb's opacity when mouse is enter or leave
Change-Id: I1e4b2ac57ca876e4681b14f02c1567abb265391e
MarkupToPDF/Controls/Text/TextControl.cs | ||
---|---|---|
94 | 94 |
} |
95 | 95 |
|
96 | 96 |
|
97 |
public void ApplyOverViewData() |
|
97 |
public override void ApplyOverViewData()
|
|
98 | 98 |
{ |
99 | 99 |
this.OverViewPathData = this.PathData; |
100 | 100 |
this.OverViewText = this.Text; |
... | ... | |
1179 | 1179 |
/// <param name="dy"></param> |
1180 | 1180 |
public override void Move(double dx, double dy) |
1181 | 1181 |
{ |
1182 |
//Canvas.SetLeft(this, Canvas.GetLeft(this) + dx); |
|
1183 |
//Canvas.SetTop(this, Canvas.GetTop(this) + dy); |
|
1184 | 1182 |
this.SetValue(TextControl.CanvasXProperty, Canvas.GetLeft(this) + dx); |
1185 | 1183 |
this.SetValue(TextControl.CanvasYProperty, Canvas.GetTop(this) + dy); |
1186 |
//System.Diagnostics.Debug.WriteLine("Left :" + Canvas.GetLeft(this) + dx); |
|
1187 |
//System.Diagnostics.Debug.WriteLine("Top :" + Canvas.GetTop(this) + dy); |
|
1188 |
|
|
1189 |
//this.CanvasX = Canvas.GetLeft(this) + dx; |
|
1190 |
//this.CanvasY = Canvas.GetTop(this) + dy; |
|
1191 |
|
|
1192 |
//System.Diagnostics.Debug.WriteLine("X :" + this.CanvasX); |
|
1193 |
//System.Diagnostics.Debug.WriteLine("Y :" + this.CanvasY); |
|
1194 |
//this.SetValue(TextControl.CanvasXProperty, Canvas.GetLeft(this) + dx); |
|
1195 |
//this.SetValue(TextControl.CanvasYProperty, Canvas.GetTop(this) + dy); |
|
1196 | 1184 |
this.StartPoint = new Point(this.StartPoint.X + dx, this.StartPoint.Y + dy); |
1197 | 1185 |
this.EndPoint = new Point(this.EndPoint.X + dx, this.EndPoint.Y + dy); |
1198 | 1186 |
} |
내보내기 Unified diff