Visual Basic (Declaration) | |
---|---|
Public Property IsSelected As Boolean |
C# | |
---|---|
public bool IsSelected {get; set;} |
Property Value
The default value is false. Setting this property to true will cause this part to be added to the diagram's Diagram.SelectedParts collection. Setting this property to false will cause this part to be removed from that collection.If Northwoods.GoXam.Part.CanSelect is false, one cannot set this property to true. Also, the number of selected parts is limited by the value of MaximumSelectionCount, so this part cannot be selected if that would violate that limit.