InkCanvas.MoveEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a Boolean value which indicates whether the user is enabled to move selected ink strokes and/or elements on the InkCanvas.
public:
property bool MoveEnabled { bool get(); void set(bool value); };
public bool MoveEnabled { get; set; }
member this.MoveEnabled : bool with get, set
Public Property MoveEnabled As Boolean
Property Value
true
if a user can move strokes and/or elements on the InkCanvas; otherwise, false
.
Examples
The following example prevents a user from moving and resizing the elements and strokes on a InkCanvas.
inkCanvas1.ResizeEnabled = false;
inkCanvas1.MoveEnabled = false;
inkCanvas1.ResizeEnabled = False
inkCanvas1.MoveEnabled = False
Remarks
If this property is set to true
, an adorner border is drawn around ink strokes and/or elements when they are selected. This border enables the user to move the selected objects. If ResizeEnabled is true
, the adorner enables the user to resize the strokes and/or elements as well.
If this property is set to false
while one or more ink strokes and/or elements are selected, the adorner border will be automatically removed from the selected objects.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기