1 write to border
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
297
this.
border
= this.Template.FindName("PART_ShapeBorder", this) as Border;
17 references to border
System.Data (17)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (17)
298
if (null != this.
border
)
300
this.
border
.MouseMove += OnBorderMouseMove;
301
this.
border
.MouseDown += OnBorderMouseDown;
302
this.
border
.MouseUp += OnBorderMouseUp;
303
this.
border
.MouseLeave += OnBorderMouseLeave;
319
if (!this.
border
.IsMouseCaptured)
321
if (this.
border
.IsMouseDirectlyOver && this.IsResizable && ExtensionSurface.GetMode(this) == ExtensionSurface.PlacementMode.Absolute)
323
Point position = e.GetPosition(this.
border
);
330
else if (position.X >= this.
border
.ActualWidth - BorderOffset && position.Y <= BorderOffset)
335
else if (position.X <= BorderOffset && position.Y >= this.
border
.ActualHeight - BorderOffset)
340
else if (position.X >= this.
border
.ActualWidth - BorderOffset && position.Y >= this.
border
.ActualHeight - BorderOffset)
350
else if (position.Y >= this.
border
.ActualHeight - (BorderOffset / 2.0))
360
else if (position.X >= this.
border
.ActualWidth - (BorderOffset / 2.0))
387
if (this.resizeOption != ResizeValues.NONE && sender == this.
border
)
389
Mouse.Capture(this.
border
);
395
if (this.
border
.IsMouseCaptured)