Esempio n. 1
0
 public Stylesheet()
 {
     DesktopStyle               = new DesktopStyle();
     TextBlockStyle             = new TextBlockStyle();
     TextFieldStyle             = new TextFieldStyle();
     ButtonStyle                = new ButtonStyle();
     CheckBoxStyle              = new ButtonStyle();
     RadioButtonStyle           = new ButtonStyle();
     ImageButtonStyle           = new ImageButtonStyle();
     SpinButtonStyle            = new SpinButtonStyle();
     TextButtonStyle            = new TextButtonStyle();
     HorizontalSliderStyle      = new SliderStyle();
     VerticalSliderStyle        = new SliderStyle();
     HorizontalProgressBarStyle = new ProgressBarStyle();
     VerticalProgressBarStyle   = new ProgressBarStyle();
     HorizontalSeparatorStyle   = new SeparatorStyle();
     VerticalSeparatorStyle     = new SeparatorStyle();
     ComboBoxStyle              = new ComboBoxStyle();
     ListBoxStyle               = new ListBoxStyle();
     TabControlStyle            = new TabControlStyle();
     TreeStyle = new TreeStyle();
     HorizontalSplitPaneStyle = new SplitPaneStyle();
     VerticalSplitPaneStyle   = new SplitPaneStyle();
     ScrollPaneStyle          = new ScrollPaneStyle();
     HorizontalMenuStyle      = new MenuStyle();
     VerticalMenuStyle        = new MenuStyle();
     WindowStyle = new WindowStyle();
     DialogStyle = new DialogStyle();
 }
Esempio n. 2
0
        private void LoadSplitPaneStyleFromSource(JObject source, SplitPaneStyle result)
        {
            LoadWidgetStyleFromSource(source, result);

            JObject handle;

            if (source.GetStyle(HandleName, out handle))
            {
                LoadImageButtonStyleFromSource(handle, result.HandleStyle);
            }
        }
Esempio n. 3
0
 public Stylesheet()
 {
     TextBlockStyle             = new TextBlockStyle();
     TextFieldStyle             = new TextFieldStyle();
     ButtonStyle                = new ButtonStyle();
     CheckBoxStyle              = new ButtonStyle();
     ImageButtonStyle           = new ImageButtonStyle();
     SpinButtonStyle            = new SpinButtonStyle();
     TextButtonStyle            = new TextButtonStyle();
     HorizontalSliderStyle      = new SliderStyle();
     VerticalSliderStyle        = new SliderStyle();
     HorizontalProgressBarStyle = new ProgressBarStyle();
     VerticalProgressBarStyle   = new ProgressBarStyle();
     ComboBoxStyle              = new ComboBoxStyle();
     ListBoxStyle               = new ListBoxStyle();
     TreeStyle = new TreeStyle();
     HorizontalSplitPaneStyle = new SplitPaneStyle();
     VerticalSplitPaneStyle   = new SplitPaneStyle();
     ScrollPaneStyle          = new ScrollPaneStyle();
     HorizontalMenuStyle      = new MenuStyle();
     VerticalMenuStyle        = new MenuStyle();
     WindowStyle = new WindowStyle();
 }
        private void LoadSplitPaneStyleFromSource(Dictionary <string, object> source, SplitPaneStyle result)
        {
            LoadWidgetStyleFromSource(source, result);

            Dictionary <string, object> handle;

            if (source.GetStyle(HandleName, out handle))
            {
                result.HandleStyle = new ButtonStyle();
                LoadButtonStyleFromSource(handle, result.HandleStyle);
            }
        }