Jump to content
Software FX Community

.Dirty Property


User (Legacy)

Recommended Posts

Posted

Running most recent version for Winforms.

If I simply right click on a chart, display the toolbar - make no changes

then hide the toolbar, the .Dirty property is set to True (actually, its set

by simply displaying the Toolbar).

Is this expected behavior? I was hoping I could use this property to

determine actual changes to the chart and update the layout (or warn the

user). I would not have thought showing/hiding the toolbar would constitute

such a change.

Posted

Yes. Turning on the toolbar is an action that changes the state of the chart 

(now the toolbar is on, this is part of the state) and therefore sets Dirty

to true.

Once Dirty is turned on it won't get set to false again.

--

Francisco Padron

www.chartfx.com

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...