A runtime form designer control

FormDesigner.IsSelected Method 

Gets a value indicating if the specified component is currently selected.

[Visual Basic]
Public Function IsSelected( _ 
   ByVal component As IComponent _ 
) As Boolean
[C#]
public bool IsSelected(
   IComponent component
);
[C++]
public: bool IsSelected(
   IComponent* component
);
[JScript]
public function IsSelected(
   IComponent component
): bool;

Parameters

component
The component to test.

Return Value

true if the component is part of the user's current selection; otherwise, false.

Remarks

This method can be used to check whether a specific component is currently selected. This process is generally quicker than getting and parsing the entire list of selected component.

See Also

FormDesigner Class | Viklele.Win.Designer Namespace