protected override SettingUserControl GetSettingsUICore() { if (optionUI == null) { optionUI = new StyleSettingUserControl("AnnotationStylesRibbonGroupShapeStyleLabel", "DefaultStyleSettingTitle", "DefaultStyleSettingDescription"); } optionUI.DataContext = new StyleSettingViewModel(areaStyleOption); return(optionUI); }
protected override SettingUserControl GetSettingsUICore() { if (optionUI == null) { optionUI = new StyleSettingUserControl(GisEditor.LanguageManager.GetStringResource("AnnotationStylesRibbonGroupLineStyleLabel"), "DefaultStyleSettingTitle", "DefaultStyleSettingDescription"); } optionUI.DataContext = new StyleSettingViewModel(lineStyleOption); return(optionUI); }