예제 #1
0
        protected override void OnPropertyChanged([CallerMemberName] string propertyName = null)
        {
            base.OnPropertyChanged(propertyName);

            if (propertyName == "Text" && int.TryParse(Text, out int result))
            {
                Text = Mechanics.GetAttributeString(result);
            }
        }