public static readonly DependencyProperty DiscTypeProperty = DependencyProperty.Register("DiscTypeDP", typeof(string), typeof(ItemReceipt)); public string DiscType { get { return GetValue<string>(DiscTypeProperty); } set { //if (IsLoaded) //{ if (DiscLevel == "H") { if (DiscType == null || DiscType != value) { SetValue<string>(DiscTypeProperty, value); DiscValue = 0; } } else { SetValue<string>(DiscTypeProperty, value); } //} } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)