12 references to Current
Microsoft.Maui.Controls (1)
Window\Window.cs (1)
597
var flowDirection = AppInfo.
Current
.RequestedLayoutDirection.ToFlowDirection();
Microsoft.Maui.Essentials (11)
AppInfo\AppInfo.shared.cs (9)
69
public static string PackageName =>
Current
.PackageName;
74
public static string Name =>
Current
.Name;
79
public static string VersionString =>
Current
.VersionString;
84
public static Version Version =>
Current
.Version;
89
public static string BuildString =>
Current
.BuildString;
94
public static void ShowSettingsUI() =>
Current
.ShowSettingsUI();
100
public static AppTheme RequestedTheme =>
Current
.RequestedTheme;
106
public static AppPackagingModel PackagingModel =>
Current
.PackagingModel;
111
public static LayoutDirection RequestedLayoutDirection =>
Current
.RequestedLayoutDirection;
Preferences\Preferences.shared.cs (1)
260
$"{ApplicationModel.AppInfo.
Current
.PackageName}.microsoft.maui.essentials.{feature}";
VersionTracking\VersionTracking.shared.cs (1)
189
defaultImplementation ??= new VersionTrackingImplementation(Preferences.Default, AppInfo.
Current
);