示例#1
0
        private void Tabs_TabDraggedOutside(object sender, TabDraggedOutsideEventArgs e)
        {
            // The sample app let's you drag items from a static TabView with TabViewItem's pre-defined.
            // In the case of databound scenarios e.Item should be your data item, and e.Tab should always be the TabViewItem.
            var str = e.Item.ToString();

            if (e.Tab != null)
            {
                str = e.Tab.Header.ToString();
            }

            TabViewNotification.Show("Tore Tab '" + str + "' Outside of TabView.", 2000);
        }
示例#2
0
 private void Tabs_TabClosing(object sender, TabClosingEventArgs e)
 {
     TabViewNotification.Show("You're closing the '" + e.Tab.Header + "' tab.", 2000);
 }