InkCanvas.EditingModeInverted 属性

定义

如果触笔在与 InkCanvas 交互时发生反转,则获取或设置用户编辑模式。

public:
 property System::Windows::Controls::InkCanvasEditingMode EditingModeInverted { System::Windows::Controls::InkCanvasEditingMode get(); void set(System::Windows::Controls::InkCanvasEditingMode value); };
public System.Windows.Controls.InkCanvasEditingMode EditingModeInverted { get; set; }
member this.EditingModeInverted : System.Windows.Controls.InkCanvasEditingMode with get, set
Public Property EditingModeInverted As InkCanvasEditingMode

属性值

InkCanvasEditingMode

InkCanvas 的反转编辑模式。

示例

以下示例演示如何允许用户使用触笔倒端部分擦除笔划。 当用户擦除墨迹时, InkCanvas 将显示椭圆光标。

inkCanvas1.EditingModeInverted = InkCanvasEditingMode.EraseByPoint;
inkCanvas1.EraserShape = new EllipseStylusShape(5, 5);
inkCanvas1.EditingModeInverted = InkCanvasEditingMode.EraseByPoint
inkCanvas1.EraserShape = New EllipseStylusShape(5, 5)

注解

此属性控制倒排触笔时执行的操作。

同样,属性 EditingMode 控制触笔在针对数字化器的标准下垂位置时执行的操作,

依赖项属性信息

标识符字段 EditingModeInvertedProperty
元数据属性设置为 true

适用于