| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- namespace ParameterModule.Controls;
- /// <summary>
- /// Interaction logic for TempProfileEditUnit.xaml
- /// </summary>
- public partial class TempProfileEditUnit : UserControl
- {
- public TempProfileEditUnit()
- {
- InitializeComponent();
- }
- public TempProfileInfo Source
- {
- get { return (TempProfileInfo)GetValue(SourceProperty); }
- set { SetValue(SourceProperty, value); }
- }
- // Using a DependencyProperty as the backing store for Source. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty SourceProperty =
- DependencyProperty.Register(nameof(Source), typeof(TempProfileInfo), typeof(TempProfileEditUnit), new PropertyMetadata(default));
- public string GroupName
- {
- get { return (string)GetValue(GroupNameProperty); }
- set { SetValue(GroupNameProperty, value); }
- }
- // Using a DependencyProperty as the backing store for GroupName. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty GroupNameProperty =
- DependencyProperty.Register(nameof(GroupName), typeof(string), typeof(TempProfileEditUnit), new PropertyMetadata(default));
- }
|