Унаслідувані (Inherit) проперті
апреля 18, 2008 16:32 by RredCat
Працюючи з WPF, мене сильно цікавило
застуосування унаслідуваних (Inherits) пропертей (особливо в світлі того наскільки "дорогі" біндінги
(Binding)),
... >>>
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: wpf, inherit, ua
Categories: .NET | WinFx
Actions:
Permalink |
Comments (0) |
RSS
Cider vs VS2008's builder. Just for fun
апреля 15, 2008 10:25 by RredCat
Довелось мені писати маленький тестовий сампл для WPF. В неймспейсі самплу додав кастомний клас і захотів відобразити його на формі. За старою звичкою роботи з контролами прописав, щось типу такого
xmlns:local="clr-namespace:WpfApplication1;assembly=WpfApplication1"Далі мене чекало велике розчарування.
... >>>
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: wpf, fun, xmlns, ua
Categories: .NET | WinFx
Actions:
Permalink |
Comments (0) |
RSS
Microsoft Expression Blend 2 December Preview
декабря 7, 2007 11:33 by rat
I am glad to announce that the new CTP of the Blend 2 is out
... >>>
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: blend, wpf
Categories: WinFx
Actions:
Permalink |
Comments (0) |
RSS
Markup Extensions
октября 25, 2007 10:36 by rat
First of all, what is this misterious thing, MarkupExtension? As it follows from it's name, this is some kind of the extension for the XAML markup syntax, and in our case that is an the extension that allows user to shorten or simplify some operations in XAML, or at least provide some non-string data in case TypeConverter can not be used. One of the most common examples of the MarkupExtension is a shortened declaration of a data binding, like {Binding Path}. {StaticResource key} is also widely used, and that is also a MarkupExtension. Both of them can be declared in element syntax, but that is not widely used because the amount of XAML needed in such case is a bit larger, so I will use attribute syntax in my samples.
... >>>
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: wpf, markup extensions
Categories: WinFx
Actions:
Permalink |
Comments (0) |
RSS
Робота з ItemsSource y WPF
октября 8, 2007 04:52 by RredCat
При написанні механізму перетягуванні (Drag & Drop) чайлдів (Children) в середині контролу, важливу роль грає утримання елемента у логічному дереві контрола ( ну щоб як мінімум унаcлідувані (inherit) атач (attached) проперті коректно працювали ;) ). Припустимо в темпліті контролу (в самих чайлдах, в чайлдах чайдів... ) знаходиться інший контрол, що наслідується від ItemsControl (на ваш смак). Нам потрібно приєднати до нього кілька чайлдів. Який механізм краще застосувати?
... >>>
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: ua, itemscontrol, itemssource, items, wpf
Categories: .NET | WinFx
Actions:
Permalink |
Comments (0) |
RSS
Theme dictionary in WPF
сентября 20, 2007 16:01 by rat
I have just found out one cool feature in WPF: there is one cool markup extension called ThemeDictionaryExtension, that can provide ResourceDictionary, associated with a current theme.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: wpf, themes
Categories: WinFx
Actions:
Permalink |
Comments (0) |
RSS
Expression Blend 2 September Preview
сентября 17, 2007 11:26 by rat
Думаю, уже об этом многие читали, но я осмелю повториться: очередная версия Бленда увидила свет: Expression Blend 2 September Preview уже доступен к скачиванию.
... >>>
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: wpf, expression
Categories: WinFx
Actions:
Permalink |
Comments (0) |
RSS
Control Templates and UIAutomation
сентября 15, 2007 01:54 by fors
Off and on I try and use the UIAutomation libraries from .NET 3.0 for a variety of things. Most often it is testing but not always. Since I do more unit testing than anything else I find LogicalTreeHelper, VisualTreeHelper and the AutomationPeer functionality more useful than AutomationElement.
On a recent project we were doing some work on a screen that wasn't particularly easy to get to. It took about 9 clicks. Not that bad but I'm lazy. We were doing a lot of fancy WPF stuff and we really wanted to see things live in the full application context instead of in Blend or just raw xaml. So we would run the app a lot. I got tired of doing the same clicks and occasionally making mistakes just to get the screen to show. So I chose to write a small app that would use UIAutomation to get me to the screen. Seemed simple enough. I've done plenty of work with UIAutomation and I thought it would be easy. Was I in for a suprise.
... >>>
Currently rated 5,0 by 1 people
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: wpf, ui automation, accessibility
Categories: WinFx
Actions:
Permalink |
Comments (0) |
RSS
UI Automation overview (Part II)
сентября 14, 2007 11:47 by fors
Introduction
In this part we will closely examine such fundamentals of UI Automation as:
- UI Automation control patterns
- UI Automation properties
- UI Automation events
And in the end, we will try to implement a simple UI Automation support for custom control.
... >>>
Currently rated 5,0 by 1 people
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: wpf, ui automation, accessibility
Categories: WinFx
Actions:
Permalink |
Comments (1) |
RSS
Render, Arrange и Measure механизмы в WPF
сентября 14, 2007 10:03 by rat
Есть в WPF пару забавных механизмов, которые не так уж и хорошо описаны в нете - это рендеринг, компоновка и измерение.
Про них и я буду писать некоторые свои познания. (думаю будет полезно почитать особенно тем, кого интересует вопрос производительности програмного обеспечения написанного на WPF)
... >>>
Currently rated 4,8 by 4 people
- Currently 4,75/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags: wpf, internals, performance
Categories: Performance | WinFx
Actions:
Permalink |
Comments (0) |
RSS