|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="csharp"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <title>Class App | DevTKSS Sample Apps & Tutorials for Uno Platform Development </title> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 7 | + <meta name="title" content="Class App | DevTKSS Sample Apps & Tutorials for Uno Platform Development "> |
| 8 | + |
| 9 | + |
| 10 | + <link rel="icon" href="../images/logo/styled-logo.ico"> |
| 11 | + <link rel="stylesheet" href="../public/docfx.min.css"> |
| 12 | + <link rel="stylesheet" href="../public/main.css"> |
| 13 | + <meta name="docfx:navrel" content="../toc.html"> |
| 14 | + <meta name="docfx:tocrel" content="toc.html"> |
| 15 | + |
| 16 | + <meta name="docfx:rel" content="../"> |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + <meta name="loc:inThisArticle" content="In this article"> |
| 21 | + <meta name="loc:searchResultsCount" content="{count} results for "{query}""> |
| 22 | + <meta name="loc:searchNoResults" content="No results for "{query}""> |
| 23 | + <meta name="loc:tocFilter" content="Filter by title"> |
| 24 | + <meta name="loc:nextArticle" content="Next"> |
| 25 | + <meta name="loc:prevArticle" content="Previous"> |
| 26 | + <meta name="loc:themeLight" content="Light"> |
| 27 | + <meta name="loc:themeDark" content="Dark"> |
| 28 | + <meta name="loc:themeAuto" content="Auto"> |
| 29 | + <meta name="loc:changeTheme" content="Change theme"> |
| 30 | + <meta name="loc:copy" content="Copy"> |
| 31 | + <meta name="loc:downloadPdf" content="Download PDF"> |
| 32 | + |
| 33 | + <script type="module" src="./../public/docfx.min.js"></script> |
| 34 | + |
| 35 | + <script> |
| 36 | + const theme = localStorage.getItem('theme') || 'auto' |
| 37 | + document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) |
| 38 | + </script> |
| 39 | + |
| 40 | + </head> |
| 41 | + |
| 42 | + <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ApiPage"> |
| 43 | + <header class="bg-body border-bottom"> |
| 44 | + <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation"> |
| 45 | + <div class="container-xxl flex-nowrap"> |
| 46 | + <a class="navbar-brand" href="../index.html"> |
| 47 | + <img id="logo" class="svg" src="../images/logo/styled-logo-small.png" alt="DevTKSS.Uno.SampleApps"> |
| 48 | + DevTKSS.Uno.SampleApps |
| 49 | + </a> |
| 50 | + <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation"> |
| 51 | + <i class="bi bi-three-dots"></i> |
| 52 | + </button> |
| 53 | + <div class="collapse navbar-collapse" id="navpanel"> |
| 54 | + <div id="navbar"> |
| 55 | + <form class="search" role="search" id="search"> |
| 56 | + <i class="bi bi-search"></i> |
| 57 | + <input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search"> |
| 58 | + </form> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </nav> |
| 63 | + </header> |
| 64 | + |
| 65 | + <main class="container-xxl"> |
| 66 | + <div class="toc-offcanvas"> |
| 67 | + <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel"> |
| 68 | + <div class="offcanvas-header"> |
| 69 | + <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5> |
| 70 | + <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button> |
| 71 | + </div> |
| 72 | + <div class="offcanvas-body"> |
| 73 | + <nav class="toc" id="toc"></nav> |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + |
| 78 | + <div class="content"> |
| 79 | + <div class="actionbar"> |
| 80 | + <button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents"> |
| 81 | + <i class="bi bi-list"></i> |
| 82 | + </button> |
| 83 | + |
| 84 | + <nav id="breadcrumb"></nav> |
| 85 | + </div> |
| 86 | + |
| 87 | + <article data-uid=""> |
| 88 | +<h1 class='section api' data-uid='DevTKSS.Uno.Samples.MvuxGallery.App' data-commentid='T:DevTKSS.Uno.Samples.MvuxGallery.App' id='DevTKSS_Uno_Samples_MvuxGallery_App'>Class App </h1> |
| 89 | + <div class="facts text-secondary"> |
| 90 | +<dl><dt>Namespace</dt><dd><a href='DevTKSS.Uno.Samples.MvuxGallery.html'>DevTKSS.Uno.Samples.MvuxGallery</a></dd></dl><dl><dt>Assembly</dt><dd>DevTKSS.Uno.Samples.MvuxGallery.dll</dd></dl> |
| 91 | +</div><pre><code class='lang-csharp'>public class App : Application</code></pre><h4 class='section'>Inheritance</h4><dl class="typelist inheritance"><dd> |
| 92 | +<div> |
| 93 | +<a href='https://learn.microsoft.com/dotnet/api/system.object'>object</a> |
| 94 | +</div> |
| 95 | +<div> |
| 96 | +Application |
| 97 | +</div> |
| 98 | +<div> |
| 99 | +<a href='DevTKSS.Uno.Samples.MvuxGallery.App.html'>App</a> |
| 100 | +</div> |
| 101 | + |
| 102 | +</dd></dl><h4 class='section'>Inherited Members</h4><dl class="typelist"><dd> |
| 103 | +<div> |
| 104 | +Application.LoadComponent(object, Uri, ComponentResourceLocation) |
| 105 | +</div> |
| 106 | +<div> |
| 107 | +Application.LoadComponent(object, Uri) |
| 108 | +</div> |
| 109 | +<div> |
| 110 | +Application.Exit() |
| 111 | +</div> |
| 112 | +<div> |
| 113 | +Application.Start(ApplicationInitializationCallback) |
| 114 | +</div> |
| 115 | +<div> |
| 116 | +Application.OnActivated(IActivatedEventArgs) |
| 117 | +</div> |
| 118 | +<div> |
| 119 | +Application.OnLaunched(LaunchActivatedEventArgs) |
| 120 | +</div> |
| 121 | +<div> |
| 122 | +Application.HighContrastAdjustment |
| 123 | +</div> |
| 124 | +<div> |
| 125 | +Application.DispatcherShutdownMode |
| 126 | +</div> |
| 127 | +<div> |
| 128 | +Application.Current |
| 129 | +</div> |
| 130 | +<div> |
| 131 | +Application.DebugSettings |
| 132 | +</div> |
| 133 | +<div> |
| 134 | +Application.RequiresPointerMode |
| 135 | +</div> |
| 136 | +<div> |
| 137 | +Application.FocusVisualKind |
| 138 | +</div> |
| 139 | +<div> |
| 140 | +Application.RequestedTheme |
| 141 | +</div> |
| 142 | +<div> |
| 143 | +Application.Resources |
| 144 | +</div> |
| 145 | +<div> |
| 146 | +Application.ResourceManagerRequested |
| 147 | +</div> |
| 148 | +<div> |
| 149 | +Application.Resuming |
| 150 | +</div> |
| 151 | +<div> |
| 152 | +Application.Suspending |
| 153 | +</div> |
| 154 | +<div> |
| 155 | +Application.EnteredBackground |
| 156 | +</div> |
| 157 | +<div> |
| 158 | +Application.LeavingBackground |
| 159 | +</div> |
| 160 | +<div> |
| 161 | +Application.UnhandledException |
| 162 | +</div> |
| 163 | +<div> |
| 164 | +<a href='https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)'>object.Equals(object?)</a> |
| 165 | +</div> |
| 166 | +<div> |
| 167 | +<a href='https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)'>object.Equals(object?, object?)</a> |
| 168 | +</div> |
| 169 | +<div> |
| 170 | +<a href='https://learn.microsoft.com/dotnet/api/system.object.gethashcode'>object.GetHashCode()</a> |
| 171 | +</div> |
| 172 | +<div> |
| 173 | +<a href='https://learn.microsoft.com/dotnet/api/system.object.gettype'>object.GetType()</a> |
| 174 | +</div> |
| 175 | +<div> |
| 176 | +<a href='https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone'>object.MemberwiseClone()</a> |
| 177 | +</div> |
| 178 | +<div> |
| 179 | +<a href='https://learn.microsoft.com/dotnet/api/system.object.referenceequals'>object.ReferenceEquals(object?, object?)</a> |
| 180 | +</div> |
| 181 | +<div> |
| 182 | +<a href='https://learn.microsoft.com/dotnet/api/system.object.tostring'>object.ToString()</a> |
| 183 | +</div> |
| 184 | + |
| 185 | +</dd></dl><h2 class='section'>Constructors</h2><h3 class='section api' data-uid='DevTKSS.Uno.Samples.MvuxGallery.App.#ctor' data-commentid='M:DevTKSS.Uno.Samples.MvuxGallery.App.#ctor' id='DevTKSS_Uno_Samples_MvuxGallery_App__ctor'>App() <a class='header-action link-secondary' title='View source' href='https://github.com/DevTKSS/DevTKSS.Uno.SampleApps/blob/master/src/DevTKSS.Uno.Samples.MvuxGallery/App.xaml.cs#L11'><i class='bi bi-code-slash'></i></a></h3> |
| 186 | + <p>Initializes the singleton application object. This is the first line of authored code |
| 187 | +executed, and as such is the logical equivalent of main() or WinMain().</p> |
| 188 | +<pre><code class='lang-csharp'>public App()</code></pre><h2 class='section'>Properties</h2><h3 class='section api' data-uid='DevTKSS.Uno.Samples.MvuxGallery.App.Host' data-commentid='P:DevTKSS.Uno.Samples.MvuxGallery.App.Host' id='DevTKSS_Uno_Samples_MvuxGallery_App_Host'>Host <a class='header-action link-secondary' title='View source' href='https://github.com/DevTKSS/DevTKSS.Uno.SampleApps/blob/master/src/DevTKSS.Uno.Samples.MvuxGallery/App.xaml.cs#L17'><i class='bi bi-code-slash'></i></a></h3> |
| 189 | + <pre><code class='lang-csharp'>protected IHost? Host { get; }</code></pre><h4 class='section'>Property Value</h4><dl class='parameters'><dt> <a href='https://learn.microsoft.com/dotnet/api/microsoft.extensions.hosting.ihost'>IHost</a>? </dt> |
| 190 | +<dd> |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | +</dd></dl><h3 class='section api' data-uid='DevTKSS.Uno.Samples.MvuxGallery.App.MainWindow' data-commentid='P:DevTKSS.Uno.Samples.MvuxGallery.App.MainWindow' id='DevTKSS_Uno_Samples_MvuxGallery_App_MainWindow'>MainWindow <a class='header-action link-secondary' title='View source' href='https://github.com/DevTKSS/DevTKSS.Uno.SampleApps/blob/master/src/DevTKSS.Uno.Samples.MvuxGallery/App.xaml.cs#L16'><i class='bi bi-code-slash'></i></a></h3> |
| 195 | + <pre><code class='lang-csharp'>protected Window? MainWindow { get; }</code></pre><h4 class='section'>Property Value</h4><dl class='parameters'><dt> Window? </dt> |
| 196 | +<dd> |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | +</dd></dl><h2 class='section'>Methods</h2><h3 class='section api' data-uid='DevTKSS.Uno.Samples.MvuxGallery.App.OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs)' data-commentid='M:DevTKSS.Uno.Samples.MvuxGallery.App.OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs)' id='DevTKSS_Uno_Samples_MvuxGallery_App_OnLaunched_Microsoft_UI_Xaml_LaunchActivatedEventArgs_'>OnLaunched(LaunchActivatedEventArgs) <a class='header-action link-secondary' title='View source' href='https://github.com/DevTKSS/DevTKSS.Uno.SampleApps/blob/master/src/DevTKSS.Uno.Samples.MvuxGallery/App.xaml.cs#L19'><i class='bi bi-code-slash'></i></a></h3> |
| 201 | + <pre><code class='lang-csharp'>protected override void OnLaunched(LaunchActivatedEventArgs args)</code></pre><h4 class='section'>Parameters</h4><dl class='parameters'><dt><code>args</code> LaunchActivatedEventArgs </dt> |
| 202 | +<dd> |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | +</dd></dl> |
| 207 | +</article> |
| 208 | + |
| 209 | + <div class="contribution d-print-none"> |
| 210 | + </div> |
| 211 | + |
| 212 | + |
| 213 | + </div> |
| 214 | + |
| 215 | + <div class="affix"> |
| 216 | + <nav id="affix"></nav> |
| 217 | + </div> |
| 218 | + </main> |
| 219 | + |
| 220 | + <div class="container-xxl search-results" id="search-results"></div> |
| 221 | + |
| 222 | + <footer class="border-top text-secondary"> |
| 223 | + <div class="container-xxl"> |
| 224 | + <div class="flex-fill"> |
| 225 | + <span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span> |
| 226 | + </div> |
| 227 | + </div> |
| 228 | + </footer> |
| 229 | + </body> |
| 230 | +</html> |
0 commit comments