Chart.ProtectSelection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.