Stories recently tagged with 'Inherit'

Implementing support of own child/children in WPF control.(rredcat.blogspot.com)

submitted by RredCatRredCat(299) 3 years ago

The best way for use child/children in WPF is customize any control with property for child/children that inherit from Control (for example ContentControl or ItemsControl). Control has wide possibility of customizing through ControlTemplate. But sometime we want to have specific behaviour of child/children (for example if we want to implement MDI container any other specific container). What should you do for implementing this behaviour? I will show major steps in sample of simple custom panel that is inherited from FrameworkElement. read more...

add a comment |category: |Views: 21

tags: another

Inherit properties(rredcat.blogspot.com)

submitted by RredCatRredCat(299) 3 years, 9 months ago

When I investigated WPF feature, I was interesting how use inherit property (If consider that Binding is low performance feature). I used these properties as RegisterAttached only. I have write some test samples but these didn’t work to my of the confuse. Little search in MSDN founded the root of problem. It locate in end of inherit property document, after eulogy powerful this feature. read more...

add a comment |category: |Views: 24

tags: another