In this sample, you can select different values to be set on the runtimeStyle object for the preconfigured properties used for this paragraph. When you select a new value, notice that the values for the runtimeStyle and currentStyle objects change for that property, but the style object does not. When the value is cleared (select 'CLEAR' from the drop-down menu) from the runtimeStyle object, the property value reverts to the style value, and the currentStyle value reflects this.
CSS Property | style | runtimeStyle | currentStyle | Select a Value |
backgroundColor | ||||
borderColor | ||||
color |