public SimpleAreaStyleUserControl(AreaStyle style)
        {
            InitializeComponent();
            AreaStyleViewModel styleViewModel = new AreaStyleViewModel(style);

            DataContext = styleViewModel;

            string helpUri = GisEditor.LanguageManager.GetStringResource("AreaStyleHelp");

            if (!string.IsNullOrEmpty(helpUri))
            {
                HelpUri = new Uri(helpUri);
            }
        }
        public AdvancedAreaStyleUserControl(AreaStyle style)
        {
            InitializeComponent();
            AreaStyleViewModel styleViewModel = new AreaStyleViewModel(style);

            styleViewModel.PropertyChanged += (s, e) => StyleItem.UpdateStyleItem();
            DataContext = styleViewModel;

            string helpUri = GisEditor.LanguageManager.GetStringResource("AreaStyleHelp");

            if (!string.IsNullOrEmpty(helpUri))
            {
                HelpUri = new Uri(helpUri);
            }
        }