public RangeNavigator_Chart() { this.InitializeComponent(); this.Unloaded += RangeNavigator_Chart_Unloaded; ViewModelz model = new ViewModelz(); model.Selectedindex = 0; this.DataContext = model; }
public ClickCMD(ViewModelz VM) { current_VM = VM; }