-
Notifications
You must be signed in to change notification settings - Fork 818
Expand file tree
/
Copy pathInkCanvas.properties.h
More file actions
60 lines (45 loc) · 2.64 KB
/
InkCanvas.properties.h
File metadata and controls
60 lines (45 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen
#pragma once
class InkCanvasProperties
{
public:
InkCanvasProperties();
void AllowedInputTypes(winrt::InkInputType const& value);
winrt::InkInputType AllowedInputTypes();
void DefaultDrawingAttributes(winrt::InkDrawingAttributes const& value);
winrt::InkDrawingAttributes DefaultDrawingAttributes();
void IsEnabled(bool value);
bool IsEnabled();
void Mode(winrt::InkCanvasMode const& value);
winrt::InkCanvasMode Mode();
static winrt::DependencyProperty AllowedInputTypesProperty() { return s_AllowedInputTypesProperty; }
static winrt::DependencyProperty DefaultDrawingAttributesProperty() { return s_DefaultDrawingAttributesProperty; }
static winrt::DependencyProperty IsEnabledProperty() { return s_IsEnabledProperty; }
static winrt::DependencyProperty ModeProperty() { return s_ModeProperty; }
static GlobalDependencyProperty s_AllowedInputTypesProperty;
static GlobalDependencyProperty s_DefaultDrawingAttributesProperty;
static GlobalDependencyProperty s_IsEnabledProperty;
static GlobalDependencyProperty s_ModeProperty;
winrt::event_token StrokeCollected(winrt::TypedEventHandler<winrt::InkCanvas, winrt::InkCanvasStrokeCollectedEventArgs> const& value);
void StrokeCollected(winrt::event_token const& token);
winrt::event_token StrokesErased(winrt::TypedEventHandler<winrt::InkCanvas, winrt::InkCanvasStrokesErasedEventArgs> const& value);
void StrokesErased(winrt::event_token const& token);
event_source<winrt::TypedEventHandler<winrt::InkCanvas, winrt::InkCanvasStrokeCollectedEventArgs>> m_strokeCollectedEventSource;
event_source<winrt::TypedEventHandler<winrt::InkCanvas, winrt::InkCanvasStrokesErasedEventArgs>> m_strokesErasedEventSource;
static void EnsureProperties();
static void ClearProperties();
static void OnAllowedInputTypesPropertyChanged(
winrt::DependencyObject const& sender,
winrt::DependencyPropertyChangedEventArgs const& args);
static void OnDefaultDrawingAttributesPropertyChanged(
winrt::DependencyObject const& sender,
winrt::DependencyPropertyChangedEventArgs const& args);
static void OnIsEnabledPropertyChanged(
winrt::DependencyObject const& sender,
winrt::DependencyPropertyChangedEventArgs const& args);
static void OnModePropertyChanged(
winrt::DependencyObject const& sender,
winrt::DependencyPropertyChangedEventArgs const& args);
};