
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
30.01.2010, 16:47
|
|||
|---|---|---|---|
|
|||
Binding of custom attached property to viewmodel's property |
|||
|
#18+
Можна ли забиндить кастомную пропертю типа делегата на соответсвующее свойство вьюмодели? Надо просто получить доступ к методу AppendText RichtextBox'а из вьюмодели... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
30.01.2010, 23:24
|
|||
|---|---|---|---|
|
|||
Binding of custom attached property to viewmodel's property |
|||
|
#18+
SomeQuestion, Так проперть или делегат? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
31.01.2010, 00:13
|
|||
|---|---|---|---|
|
|||
Binding of custom attached property to viewmodel's property |
|||
|
#18+
Пропертя типа длегата: public delegate void DelegateCommand(string data); public static readonly DependencyProperty AppendTextCommandProperty = DependencyProperty.RegisterAttached( "AppendTextCommand", typeof(DelegateCommand), typeof(RichTextBoxBinding), new PropertyMetadata(new DelegateCommand((param) => { }), AppendTextCommandChanged)); ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=21&tablet=1&tid=1442906]: |
0ms |
get settings: |
8ms |
get forum list: |
16ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
27ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
35ms |
get tp. blocked users: |
2ms |
| others: | 229ms |
| total: | 339ms |

| 0 / 0 |
