Gets the object that is currently the primary selected component.
[Visual Basic] Public Property ReadOnly PrimarySelection As IComponent [C#] public IComponent PrimarySelection { get; } [C++] public: __property IComponent* get_PrimarySelection(); [JScript] public function get PrimarySelection() : IComponent
When multiple components are selected at design time, one of the components is the primary selected component. Some operations behave differently depending on which selected component is the primary selected object. The primary selected object is typically the last object that was selected, but the primary object of a multiple component selection can be changed to any of the selected components. The primary selected object has a selection border that is distinct in appearance from the other selected objects.
This is a readonly property. For programatically marking a component as primary selection, you can use SelectComponent method.
This property is not available at design time.
FormDesigner Class | Viklele.Win.Designer Namespace