WPF add c# code to customcontrol

Posted by 0xDEAD BEEF on Stack Overflow See other posts from Stack Overflow or by 0xDEAD BEEF
Published on 2010-04-19T06:56:49Z Indexed on 2010/04/19 7:03 UTC
Read the original article Hit count: 596

Filed under:
|
|
|
|

I want to create simple custom control (derived from control and with look defined in generics.xaml). I need to change size of elements defined in generic.xaml, when control is resized! It would be great to write some of that generic.xaml part in C#. Is that possible? Or is there a way to create MVVM like custom control? What i am willing to create is simple blinking led control (on,blinking, off).

© Stack Overflow or respective owner

Related posts about wpf

Related posts about custom