/// LineBreakCharCountの依存プロパティを表す
/// </summary>
public static readonly DependencyProperty LineBreakCharCountProperty =
- DependencyProperty.Register("LineBreakCharCount", typeof(int), typeof(FooTextBox), new PropertyMetadata(80));
+ DependencyProperty.Register("LineBreakCharCount", typeof(int), typeof(FooTextBox), new PropertyMetadata(80, OnPropertyChanged));
/// <summary>
/// キャレットを描くなら真。そうでないなら偽を返す。これは依存プロパティです