コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: JoelWeber/xaml-sdk
		private void SetRestrictRect(Rect rect)
		{
			if (this.newDraggingService != null)
				this.newDraggingService.DragAllowedArea = rect.InflateRect(-rect.Width / 4, -rect.Height / 4);
		}