Chart.ProtectSelection Property

Definition

Gets or sets a value that indicates whether selection of Chart control elements is prevented.

public:
 property bool ProtectSelection { bool get(); void set(bool value); };
public bool ProtectSelection { get; set; }
member this.ProtectSelection : bool with get, set
Public Property ProtectSelection As Boolean

Property Value

true if Chart control elements cannot be selected; otherwise, false.

Remarks

When this property is true, shapes cannot be added to the Chart control, and the Click and DoubleClick events for Chart control elements do not occur.

Applies to