Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyBrushClass
- {
- public static readonly DependencyProperty MyBrushProperty = DependencyProperty.RegisterAttached("MyBrush", typeof(SolidColorBrush), typeof(MyBrushClass));
- public Geometry MyBrush
- {
- get
- {
- return (SolidColorBrush)GetValue(MyBrushProperty);
- }
- set
- {
- //Вот сюда заходит норм
- SetValue(MyBrushProperty, Value);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement