-
Notifications
You must be signed in to change notification settings - Fork 682
/
TabView.idl
199 lines (155 loc) · 6.42 KB
/
TabView.idl
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
namespace MU_XC_NAMESPACE
{
[WUXC_VERSION_MUXONLY]
[webhosthidden]
enum TabViewWidthMode
{
Equal = 0,
SizeToContent = 1,
};
[WUXC_VERSION_MUXONLY]
[webhosthidden]
runtimeclass TabViewTabCloseRequestedEventArgs
{
Object Item { get; };
TabViewItem Tab { get; };
}
[WUXC_VERSION_MUXONLY]
[webhosthidden]
runtimeclass TabViewTabDroppedOutsideEventArgs
{
Object Item { get; };
TabViewItem Tab { get; };
}
[WUXC_VERSION_MUXONLY]
[webhosthidden]
runtimeclass TabViewTabDragStartingEventArgs
{
Boolean Cancel { get; set; };
Windows.ApplicationModel.DataTransfer.DataPackage Data { get; };
Object Item { get; };
TabViewItem Tab { get; };
}
[WUXC_VERSION_MUXONLY]
[webhosthidden]
runtimeclass TabViewTabDragCompletedEventArgs
{
Windows.ApplicationModel.DataTransfer.DataPackageOperation DropResult { get; };
Object Item { get; };
TabViewItem Tab { get; };
}
[WUXC_VERSION_MUXONLY]
[webhosthidden]
unsealed runtimeclass TabView : Windows.UI.Xaml.Controls.Control
{
TabView();
[MUX_DEFAULT_VALUE("winrt::TabViewWidthMode::Equal")]
[MUX_PROPERTY_CHANGED_CALLBACK(TRUE)]
TabViewWidthMode TabWidthMode{ get; set; };
Object TabStripHeader{ get; set; };
Windows.UI.Xaml.DataTemplate TabStripHeaderTemplate{ get; set; };
Object TabStripFooter{ get; set; };
Windows.UI.Xaml.DataTemplate TabStripFooterTemplate{ get; set; };
[MUX_DEFAULT_VALUE("true")]
Boolean IsAddTabButtonVisible{ get; set; };
Windows.UI.Xaml.Input.ICommand AddTabButtonCommand{ get; set; };
Object AddTabButtonCommandParameter{ get; set; };
event Windows.Foundation.TypedEventHandler<TabView, TabViewTabCloseRequestedEventArgs> TabCloseRequested;
event Windows.Foundation.TypedEventHandler<TabView, TabViewTabDroppedOutsideEventArgs> TabDroppedOutside;
event Windows.Foundation.TypedEventHandler<TabView, Object> AddTabButtonClick;
event Windows.Foundation.TypedEventHandler<TabView, Windows.Foundation.Collections.IVectorChangedEventArgs> TabItemsChanged;
// From ListView
Object TabItemsSource;
Windows.Foundation.Collections.IVector<Object> TabItems{ get; };
Windows.UI.Xaml.DataTemplate TabItemTemplate;
Windows.UI.Xaml.Controls.DataTemplateSelector TabItemTemplateSelector{ get; set; };
[MUX_DEFAULT_VALUE("false")]
Boolean CanDragTabs{ get; set; };
[MUX_DEFAULT_VALUE("true")]
Boolean CanReorderTabs{ get; set; };
[MUX_DEFAULT_VALUE("true")]
Boolean AllowDropTabs{ get; set; };
[MUX_DEFAULT_VALUE("0")]
[MUX_PROPERTY_CHANGED_CALLBACK(TRUE)]
Int32 SelectedIndex;
[MUX_PROPERTY_CHANGED_CALLBACK(TRUE)]
Object SelectedItem;
Windows.UI.Xaml.DependencyObject ContainerFromItem(Object item);
Windows.UI.Xaml.DependencyObject ContainerFromIndex(Int32 index);
event Windows.UI.Xaml.Controls.SelectionChangedEventHandler SelectionChanged;
event Windows.Foundation.TypedEventHandler<TabView, TabViewTabDragStartingEventArgs> TabDragStarting;
event Windows.Foundation.TypedEventHandler<TabView, TabViewTabDragCompletedEventArgs> TabDragCompleted;
event Windows.UI.Xaml.DragEventHandler TabStripDragOver;
event Windows.UI.Xaml.DragEventHandler TabStripDrop;
static Windows.UI.Xaml.DependencyProperty TabWidthModeProperty{ get; };
static Windows.UI.Xaml.DependencyProperty TabStripHeaderProperty{ get; };
static Windows.UI.Xaml.DependencyProperty TabStripHeaderTemplateProperty{ get; };
static Windows.UI.Xaml.DependencyProperty TabStripFooterProperty{ get; };
static Windows.UI.Xaml.DependencyProperty TabStripFooterTemplateProperty{ get; };
static Windows.UI.Xaml.DependencyProperty IsAddTabButtonVisibleProperty{ get; };
static Windows.UI.Xaml.DependencyProperty AddTabButtonCommandProperty{ get; };
static Windows.UI.Xaml.DependencyProperty AddTabButtonCommandParameterProperty{ get; };
static Windows.UI.Xaml.DependencyProperty TabItemsSourceProperty{ get; };
static Windows.UI.Xaml.DependencyProperty TabItemsProperty{ get; };
static Windows.UI.Xaml.DependencyProperty TabItemTemplateProperty{ get; };
static Windows.UI.Xaml.DependencyProperty TabItemTemplateSelectorProperty{ get; };
static Windows.UI.Xaml.DependencyProperty CanDragTabsProperty{ get; };
static Windows.UI.Xaml.DependencyProperty CanReorderTabsProperty{ get; };
static Windows.UI.Xaml.DependencyProperty AllowDropTabsProperty{ get; };
static Windows.UI.Xaml.DependencyProperty SelectedIndexProperty{ get; };
static Windows.UI.Xaml.DependencyProperty SelectedItemProperty{ get; };
}
[WUXC_VERSION_MUXONLY]
[webhosthidden]
unsealed runtimeclass TabViewItem : Windows.UI.Xaml.Controls.ListViewItem
{
TabViewItem();
[MUX_PROPERTY_CHANGED_CALLBACK(TRUE)]
Object Header{ get; set; };
Windows.UI.Xaml.DataTemplate HeaderTemplate{ get; set; };
[MUX_PROPERTY_CHANGED_CALLBACK(TRUE)]
IconSource IconSource{ get; set; };
[MUX_DEFAULT_VALUE("true")]
[MUX_PROPERTY_CHANGED_CALLBACK(TRUE)]
Boolean IsClosable{ get; set; };
TabViewItemTemplateSettings TabViewTemplateSettings{ get; };
event Windows.Foundation.TypedEventHandler<TabViewItem, TabViewTabCloseRequestedEventArgs> CloseRequested;
static Windows.UI.Xaml.DependencyProperty HeaderProperty{ get; };
static Windows.UI.Xaml.DependencyProperty HeaderTemplateProperty{ get; };
static Windows.UI.Xaml.DependencyProperty IconSourceProperty{ get; };
static Windows.UI.Xaml.DependencyProperty IsClosableProperty{ get; };
static Windows.UI.Xaml.DependencyProperty TabViewTemplateSettingsProperty{ get; };
}
[WUXC_VERSION_MUXONLY]
[webhosthidden]
unsealed runtimeclass TabViewItemTemplateSettings : Windows.UI.Xaml.DependencyObject
{
TabViewItemTemplateSettings();
Windows.UI.Xaml.Controls.IconElement IconElement;
static Windows.UI.Xaml.DependencyProperty IconElementProperty{ get; };
}
}
namespace MU_XCP_NAMESPACE
{
[WUXC_VERSION_MUXONLY]
[webhosthidden]
unsealed runtimeclass TabViewListView : Windows.UI.Xaml.Controls.ListView
{
TabViewListView();
}
}
namespace MU_XAP_NAMESPACE
{
[WUXC_VERSION_MUXONLY]
[webhosthidden]
unsealed runtimeclass TabViewAutomationPeer : Windows.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
{
TabViewAutomationPeer(MU_XC_NAMESPACE.TabView owner);
}
[WUXC_VERSION_MUXONLY]
[webhosthidden]
unsealed runtimeclass TabViewItemAutomationPeer : Windows.UI.Xaml.Automation.Peers.ListViewItemAutomationPeer
{
TabViewItemAutomationPeer(MU_XC_NAMESPACE.TabViewItem owner);
}
}