12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- using PDF_Master.DataConvert;
- using Prism.Mvvm;
- using Prism.Regions;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PDF_Master.ViewModels.PropertyPanel
- {
- public class PropertyPanelContentEditViewModel : BindableBase, INavigationAware
- {
- private string _annotPanelType = "HighLight";
- public string AnnotPanelType
- {
- get { return _annotPanelType; }
- set
- {
- SetProperty(ref _annotPanelType, value);
- }
- }
- private PanelType _propertyPanelType;
- public PanelType PropertyPanelType
- {
- get { return _propertyPanelType; }
- set
- {
- SetProperty(ref _propertyPanelType, value);
- }
- }
- private IRegionManager regions { get; set; }
- private string propertyPanelRegionNmae;
- public string PropertyPanelRegionNmae
- {
- get { return propertyPanelRegionNmae; }
- set
- {
- SetProperty(ref propertyPanelRegionNmae, value);
- }
- }
- public PropertyPanelContentEditViewModel(IRegionManager regionManager)
- {
- regions = regionManager;
- PropertyPanelRegionNmae = Guid.NewGuid().ToString();
- }
- public void OnNavigatedTo(NavigationContext navigationContext)
- {
- }
- public bool IsNavigationTarget(NavigationContext navigationContext)
- {
- return true;
- }
- public void OnNavigatedFrom(NavigationContext navigationContext)
- {
- }
- }
- }
|