Chart.ProtectFormatting 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 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.