Q:

get datacontext of parent wpf

Binding="{Binding RelativeSource={RelativeSource FindAncestor, 
AncestorType={x:Type Window}}, Path=DataContext.AllowItemCommand}" 
0

New to Communities?

Join the community