Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
Binding Tile to the control panel base using C # code.
posted

Help please. I would like to add a chart to Tile and set (XamTileManager.ItemTemplate, ItemTemplateMinimized, ItemTemplateMinimizedExpanded) using С# code:

 

private void Button1_Click(object sender, RoutedEventArgs e)

        {

            XamTile addTile = new XamTile

            {

                Name= "test" + (this.xamTileManager1.Items.Count + 1),

                Header = "Modul " + (this.xamTileManager1.Items.Count + 1),

                IsMaximized = true

            };

            xamTileManager1.Items.Add(addTile);

}

 

HB Visual OPC.rar
Parents Reply Children