UWP ContentDialog The ContentDialog class represents a dialog box that can be customized to contain checkboxes, hyperlinks, buttons, and any other XAML content. The ContentDialog() constructor initializes a new instance of the ContentDialog class. The following UWP app development tutorial creates a simple content dialog where we put a title, a message, and a primary button. Then we displayed the content dialog by calling the ContentDialog class ShowAsync() method. When users click the primary button then the content dialog hides from the app screen. The UWP app developers generally used a content dialog to request input from the app user or to show information in a modal dialog. The developers can add a ContentDialog to the app page using code or XAML, even they can create a custom dialog class that's derived from ContentDialog. The ContentDialog class Title property is used to put a title on the content dialog. But the UWP develope...
Android, .NET C#, Flutter, and Many More Programming tutorials.