InkInputConfiguration 클래스

정의

개체에서 처리 InkPresenter 할 수 있는 보조 입력 유형을 관리합니다.

public ref class InkInputConfiguration sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class InkInputConfiguration final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class InkInputConfiguration
Public NotInheritable Class InkInputConfiguration
상속
Object IInspectable InkInputConfiguration
특성

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1803 (10.0.17134.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v6.0에서 도입되었습니다.)

예제

여기서는 펜, 터치 및 마우스 장치에서 입력을 잉크로 수락하지만 펜 배럴 단추 및 지우개 팁의 모든 입력을 무시하는 방법을 보여 줍니다.

public ScenarioBarrelEraserIgnore() 
{ 
    this.InitializeComponent(); 
    var inkPresenter = inkCanvas.InkPresenter; 
    inkPresenter.InputDeviceTypes = 
        Windows.UI.Core.CoreInputDeviceTypes.Pen |  
        Windows.UI.Core.CoreInputDeviceTypes.Touch | 
        Windows.UI.Core.CoreInputDeviceTypes.Mouse; 

    InkInputConfiguration inkInputConfiguration = 
        inkPresenter.InputConfiguration; 
    inkInputConfiguration.IsEraserInputEnabled = false; 
    inkInputConfiguration.IsPrimaryBarrelButtonInputEnabled = false; 
} 

설명

앱에서 보조 입력을 처리하는 방법을 관리하려면 다음을 참조하세요 InkInputProcessingConfiguration.

속성

IsEraserInputEnabled

펜 지우개 팁의 입력이 개체에서 처리 InkPresenter 되는지 여부를 가져오거나 설정합니다.

IsPenHapticFeedbackEnabled

활성 펜에 대해 펜 촉각 피드백이 사용되는지 여부를 가져오거나 설정합니다.

IsPrimaryBarrelButtonInputEnabled

펜의 기본 배럴 단추의 입력이 개체에서 처리 InkPresenter 되는지 여부를 가져오거나 설정합니다.

적용 대상

추가 정보