Good day,
With your help, I've been able to create some excellent functionality dragging custom controls from a toolbar into a stackpanel and viewing the controls properties in another stackpanel.
My question is: If I drop multiple controls into a stackpanel, is it helpful to add these to a collection (like ObservableCollection<T>) so that I may also leverage INotifyPropertyChanged? I'm currently using something like: this.StackPanel.Children.Add(customcontrol).
My goal is to drop custom (generic) controls into a stackpanel and update their properties from a third stackpanel, setting the name, height, width, etc. when the control is infocus. When I focus on another control, I'd like to access and manipulate it's properties. And so on. So that I'm dragging custom controls into the main stackpanel and changing the properties on the fly from a separate panel.
Is this a sensible approach?
TIA,
JV
With your help, I've been able to create some excellent functionality dragging custom controls from a toolbar into a stackpanel and viewing the controls properties in another stackpanel.
My question is: If I drop multiple controls into a stackpanel, is it helpful to add these to a collection (like ObservableCollection<T>) so that I may also leverage INotifyPropertyChanged? I'm currently using something like: this.StackPanel.Children.Add(customcontrol).
My goal is to drop custom (generic) controls into a stackpanel and update their properties from a third stackpanel, setting the name, height, width, etc. when the control is infocus. When I focus on another control, I'd like to access and manipulate it's properties. And so on. So that I'm dragging custom controls into the main stackpanel and changing the properties on the fly from a separate panel.
Is this a sensible approach?
TIA,
JV