Пример #1
0
 void ShowMDXWindow(Object Param)
 {
     mdxEditor       = new MDXEditor(this);
     mdxEditor.Owner = Application.Current.MainWindow;
     SkinStorage.SetVisualStyle(mdxEditor, SkinStorage.GetVisualStyle(Application.Current.MainWindow));
     mdxEditor.ShowDialog();
 }
Пример #2
0
        /// <summary>
        /// Sets the text.
        /// </summary>
        public void SetText()
        {
            TreeViewItem item = treeViewControlslist.SelectedItem as TreeViewItem;

            if (item != null)
            {
                TextBox1.Text = item.Header + " - " + SkinStorage.GetVisualStyle(this).ToString() + " Skin";
            }
        }
        public void PropertyGridLoaded(PropertiesViewModel model)
        {
            DockingManager dockingmanager = (((App.Current.MainWindow as ShellView).Docking.Content as DockingAdapterView).DockingAdapter.Content as Grid).Children[0] as Syncfusion.Windows.Tools.Controls.DockingManager;

            VisualStyle = (dockingmanager != null) ? SkinStorage.GetVisualStyle(dockingmanager) : "Default";
        }