Tile tile = new Tile(); tile.Text = "My Tile"; tile.Image = Properties.Resources.tileImage; tile.BackColor = Color.White; this.Controls.Add(tile);
These examples use different package libraries depending on the framework used. For example, the Windows Forms example may use the System.Windows.Forms package, while the WPF example may use the Microsoft.UI.Xaml.Controls package.