例如,我有这个:
Border myBorder = new Border();
...
designArea.Children.Add(myBorder);
ResizeAndMoveBehavior b = new ResizeAndMoveBehavior();
b.CurrentProperties = thisButtonProperties;
b.Attach(myBorder);
现在,当我从designArea的子节点获取myBorder时,如何访问附加到myBorder的行为的CurrentProperties?
答案 0 :(得分:2)