Closed khalili-mahdi closed 6 years ago
Again, I don‘t understand the question! But you could use PrimarySelection instead of SelectedItems
i have items on design surface i could select them, so i need to add event for onSelectionChanged what is right way to do that?
whats wrong with
designSurface.DesignContext.Services.Selection.SelectionChanged
sorry my fault this one is totally working
i'm using this code to change SelectionChanged handler on DesignSurface
i feel like its wrong what is the correct way to do this in DesignSurface ? i need to get data from Selected Item but its not DesignItem , i've Added My own Control to it