I have a stable class called the command in which a routing commmment is called a confirmation print. I want to execute it with my custom control in the code behind:
order.
I have an example of binding in a custom control class, whose relative source property is set to:
_mainControlBinding.RelativeSource = New RelativeSource (RelativeSourceMode.FindAncestor, Typef (user control), 2);
Can I use one of the properties of _mainControlBinding to get an example of IInputElement I would have to give the second parameter of commands. No print is bound to confirm my parents of custom control, but it is in a separate assembly. I can not add a reference to it because it will be a circular reference reason.
Am I completely barking the wrong tree?
Routing commands are routed, by definition. If I understand your problem well then you just have to pass this
as the second parameter of your command (assuming you are in control class). This order will be blurring the visual tree until it will face a binding order on the parent.
Comments
Post a Comment