c# Programming Glossary: mvvmtexteditor
horizontal offset for scrollviewer in gridview C# http://stackoverflow.com/questions/11830574/horizontal-offset-for-scrollviewer-in-gridview-c-sharp
Making AvalonEdit MVVM compatible http://stackoverflow.com/questions/12344367/making-avalonedit-mvvm-compatible for example Modified TextEditor class public class MvvmTextEditor TextEditor INotifyPropertyChanged public static DependencyProperty.. DependencyProperty.Register CaretOffset typeof int typeof MvvmTextEditor binding changed callback set value of underlying property new.. of underlying property new PropertyMetadata obj args MvvmTextEditor target MvvmTextEditor obj target.CaretOffset int args.NewValue..
Two-way binding in AvalonEdit doesn't work http://stackoverflow.com/questions/14855304/two-way-binding-in-avalonedit-doesnt-work this post I created the following class public class MvvmTextEditor TextEditor INotifyPropertyChanged public static DependencyProperty.. DocumentText typeof string typeof MvvmTextEditor new PropertyMetadata obj args MvvmTextEditor target MvvmTextEditor.. typeof MvvmTextEditor new PropertyMetadata obj args MvvmTextEditor target MvvmTextEditor obj target.DocumentText string args.NewValue..
|