In my WPF project I have a custom control which is visually represented by a rectangle object. In XAML I put a number of rectangles based on this custom control. User should be able to select a group of these rectangles by mouse clicks and then do some actions with these selected rectangles.
How I should implement the possibility of selection: (1) should I simply add yet another custom property e.g. "Selected" and change it in MouseClick event handlers or (2) should I use native "Logical Focus" functionality?