BasedOn property

BasedOn property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Gets or sets the style on which a Style object is based.

Version added

4.0

Syntax

        
          strVal = object.BasedOn
      
        
          object
          .BasedOn = styleName
      

strVal

String. The name of the current style.

object

Required. An expression that returns a Style object.

styleName

Required String. The name of the new style.

Remarks

To base a style on no style, set the BasedOn property to a zero-length string ("").