31 references to s_notset
Microsoft.Maui.Controls.Xaml (31)
MarkupExtensions\OnPlatformExtension.cs (31)
21
public object Default { get; set; } =
s_notset
;
22
public object Android { get; set; } =
s_notset
;
23
internal object GTK { get; set; } =
s_notset
;
24
public object iOS { get; set; } =
s_notset
;
25
internal object macOS { get; set; } =
s_notset
;
26
public object MacCatalyst { get; set; } =
s_notset
;
27
public object Tizen { get; set; } =
s_notset
;
29
public object UWP { get; set; } =
s_notset
;
30
internal object WPF { get; set; } =
s_notset
;
31
public object WinUI { get; set; } =
s_notset
;
39
if (Android ==
s_notset
40
&& GTK ==
s_notset
41
&& iOS ==
s_notset
42
&& macOS ==
s_notset
43
&& MacCatalyst ==
s_notset
44
&& Tizen ==
s_notset
46
&& UWP ==
s_notset
48
&& WPF ==
s_notset
49
&& WinUI ==
s_notset
50
&& Default ==
s_notset
)
130
if (DeviceInfo.Platform == DevicePlatform.Android && Android !=
s_notset
)
135
if (DeviceInfo.Platform == DevicePlatform.Create("GTK") && GTK !=
s_notset
)
140
if (DeviceInfo.Platform == DevicePlatform.iOS && iOS !=
s_notset
)
145
if (DeviceInfo.Platform == DevicePlatform.macOS && macOS !=
s_notset
)
150
if (DeviceInfo.Platform == DevicePlatform.MacCatalyst && MacCatalyst !=
s_notset
)
155
if (DeviceInfo.Platform == DevicePlatform.Tizen && Tizen !=
s_notset
)
160
if (DeviceInfo.Platform == DevicePlatform.WinUI && WinUI !=
s_notset
)
166
if (DeviceInfo.Platform == DevicePlatform.WinUI && UWP !=
s_notset
)
171
if (DeviceInfo.Platform == DevicePlatform.Create("UWP") && UWP !=
s_notset
)
177
if (DeviceInfo.Platform == DevicePlatform.Create("WPF") && WPF !=
s_notset
)
183
return value !=
s_notset
;