DefaultOptions
is a style option that allows default options to be specified for particular formatting and related constructs.
Details
- A typical setting is DefaultOptions->{obj1->opts1,…}, where the obji are symbols such as Button, Pane, or Graphics.
- Style[expr,DefaultOptions->{obj1->opts1,…}] specifies that when obji[…] appears in expr, it should be given the default options opti.
Examples
Basic Examples (2)
Locally set DefaultOptions:
Explicit option settings in an object override default options for that type of object:
Wolfram Research (2007), DefaultOptions, Wolfram Language function, https://reference.wolfram.com/language/ref/DefaultOptions.html.
Text
Wolfram Research (2007), DefaultOptions, Wolfram Language function, https://reference.wolfram.com/language/ref/DefaultOptions.html.
CMS
Wolfram Language. 2007. "DefaultOptions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DefaultOptions.html.
APA
Wolfram Language. (2007). DefaultOptions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DefaultOptions.html