diff --git a/UnicodeCharacterInspector/CharacterInfoViewModel.cs b/UnicodeCharacterInspector/CharacterInfoViewModel.cs index 1396c35..25e2120 100644 --- a/UnicodeCharacterInspector/CharacterInfoViewModel.cs +++ b/UnicodeCharacterInspector/CharacterInfoViewModel.cs @@ -52,9 +52,11 @@ namespace UnicodeCharacterInspector NotifyPropertyChanged("CodePoint"); NotifyPropertyChanged("Name"); NotifyPropertyChanged("OldName"); + NotifyPropertyChanged("Category"); + NotifyPropertyChanged("CanonicalCombiningClass"); + NotifyPropertyChanged("BidirectionalClass"); NotifyPropertyChanged("NumericType"); NotifyPropertyChanged("NumericValue"); - NotifyPropertyChanged("Category"); NotifyPropertyChanged("ContributoryProperties"); } } @@ -80,6 +82,16 @@ namespace UnicodeCharacterInspector get { return character != null ? characterData != null ? characterData.Category : UnicodeCategory.OtherNotAssigned : null as UnicodeCategory?; } } + public CanonicalCombiningClass? CanonicalCombiningClass + { + get { return character != null ? characterData != null ? characterData.CanonicalCombiningClass : 0 : null as CanonicalCombiningClass?; } + } + + public BidirectionalClass? BidirectionalClass + { + get { return character != null && characterData != null ? characterData.BidirectionalClass : null as BidirectionalClass?; } + } + public UnicodeNumericType? NumericType { get { return character != null ? characterData != null ? characterData.NumericType : UnicodeNumericType.None : null as UnicodeNumericType?; } diff --git a/UnicodeCharacterInspector/MainWindow.xaml b/UnicodeCharacterInspector/MainWindow.xaml index 501a7ee..33e71a6 100644 --- a/UnicodeCharacterInspector/MainWindow.xaml +++ b/UnicodeCharacterInspector/MainWindow.xaml @@ -45,6 +45,14 @@ + + + + @@ -57,22 +65,28 @@ + + -