File tree Expand file tree Collapse file tree 3 files changed +64
-52
lines changed
Microsoft.Toolkit.Uwp.UI.Controls/TileControl Expand file tree Collapse file tree 3 files changed +64
-52
lines changed Original file line number Diff line number Diff line change
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
+ // The .NET Foundation licenses this file to you under the MIT license.
3
+ // See the LICENSE file in the project root for more information.
4
+
5
+ namespace Microsoft . Toolkit . Uwp . UI . Controls
6
+ {
7
+ /// <summary>
8
+ /// Image alignment
9
+ /// </summary>
10
+ public enum ImageAlignment
11
+ {
12
+ /// <summary>
13
+ /// No alignment needed
14
+ /// </summary>
15
+ None ,
16
+
17
+ /// <summary>
18
+ /// Align to Left when the property ScrollOrientation is Horizontal
19
+ /// </summary>
20
+ Left ,
21
+
22
+ /// <summary>
23
+ /// Align to Right when the property ScrollOrientation is Horizontal
24
+ /// </summary>
25
+ Right ,
26
+
27
+ /// <summary>
28
+ /// Align to Top when the property ScrollOrientation is Vertical
29
+ /// </summary>
30
+ Top ,
31
+
32
+ /// <summary>
33
+ /// Align to Bottom when the property ScrollOrientation is Vertical
34
+ /// </summary>
35
+ Bottom
36
+ }
37
+ }
Original file line number Diff line number Diff line change
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
+ // The .NET Foundation licenses this file to you under the MIT license.
3
+ // See the LICENSE file in the project root for more information.
4
+
5
+ namespace Microsoft . Toolkit . Uwp . UI . Controls
6
+ {
7
+ /// <summary>
8
+ /// Orientation of the scroll
9
+ /// </summary>
10
+ public enum ScrollOrientation
11
+ {
12
+ /// <summary>
13
+ /// Scroll only Horizontally (and optimize the number of image used)
14
+ /// </summary>
15
+ Horizontal ,
16
+
17
+ /// <summary>
18
+ /// Scroll only Vertically (and optimize the number of image used)
19
+ /// </summary>
20
+ Vertical ,
21
+
22
+ /// <summary>
23
+ /// Scroll both Horizontally and vertically
24
+ /// </summary>
25
+ Both
26
+ }
27
+ }
Original file line number Diff line number Diff line change @@ -19,58 +19,6 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
19
19
using Windows . UI . Xaml . Hosting ;
20
20
using Windows . UI . Xaml . Media ;
21
21
22
- /// <summary>
23
- /// Orientation of the scroll
24
- /// </summary>
25
- public enum ScrollOrientation
26
- {
27
- /// <summary>
28
- /// Scroll only Horizontally (and optimize the number of image used)
29
- /// </summary>
30
- Horizontal ,
31
-
32
- /// <summary>
33
- /// Scroll only Vertically (and optimize the number of image used)
34
- /// </summary>
35
- Vertical ,
36
-
37
- /// <summary>
38
- /// Scroll both Horizontally and vertically
39
- /// </summary>
40
- Both
41
- }
42
-
43
- /// <summary>
44
- /// Image alignment
45
- /// </summary>
46
- public enum ImageAlignment
47
- {
48
- /// <summary>
49
- /// No alignment needed
50
- /// </summary>
51
- None ,
52
-
53
- /// <summary>
54
- /// Align to Left when the property ScrollOrientation is Horizontal
55
- /// </summary>
56
- Left ,
57
-
58
- /// <summary>
59
- /// Align to Right when the property ScrollOrientation is Horizontal
60
- /// </summary>
61
- Right ,
62
-
63
- /// <summary>
64
- /// Align to Top when the property ScrollOrientation is Vertical
65
- /// </summary>
66
- Top ,
67
-
68
- /// <summary>
69
- /// Align to Bottom when the property ScrollOrientation is Vertical
70
- /// </summary>
71
- Bottom
72
- }
73
-
74
22
/// <summary>
75
23
/// A ContentControl that show an image repeated many times.
76
24
/// The control can be synchronized with a ScrollViewer and animated easily.
You can’t perform that action at this time.
0 commit comments