|
|
|
Content + style + template
|
|||
|---|---|---|---|
|
#18+
Как вынести в отдельный Assembly 3 файла(которые наверное должны быть ResouceDictionary) : 1) ControlTemplate.xaml - для шаблона(Template) 2) ControlStyles.xaml - стили(Style) 3) ControlContent.xaml - для Contrnt А затем в окне применить их(с сылкой в окне на Assembly) через Style : Код: csharp 1. который привяжет : ControlTemplate.xaml --> Button.Template ControlContent.xaml ->> Button.Content ControlStyles.xaml --> Button.style ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2011, 14:25 |
|
||
|
Content + style + template
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2011, 15:07 |
|
||
|
|

start [/forum/search_topic.php?author=lin_i&author_mode=last_topics&do_search=1]: |
0ms |
get settings: |
5ms |
get forum list: |
16ms |
get settings: |
7ms |
get forum list: |
14ms |
get settings: |
10ms |
get forum list: |
16ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
30ms |
get topic data: |
12ms |
get first new msg: |
7ms |
get forum data: |
3ms |
get page messages: |
52ms |
get tp. blocked users: |
1ms |
| others: | 2879ms |
| total: | 3060ms |

| 0 / 0 |
