Partager via


Chart.ProtectFormatting Property

Definition

Gets or sets a value that indicates whether modification of Chart control formatting is prevented.

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

Property Value

true if Chart control formatting cannot be modified by the user; otherwise false.

Remarks

When this property is true, the Object command on the Format menu is disabled, the chart type dropdown on the chart command bar and chart elements cannot be added, moved, resized, or deleted.

Applies to