Roblox UtilitiesDevlHub Roblox Documentation

Class

StyleDerive

Inherits
Instance › Object
Memory category
Gui

When parented to a StyleSheet, references another StyleSheet from which the parent inherits StyleRules and token definitions.

When parented to a StyleSheet, references another StyleSheet from which the parent inherits StyleRules and token definitions. Multiple StyleDerive instances can exist under a StyleSheet and you can order them by Priority.

Properties 2#

PriorityintA number that determines how style properties inherited through this StyleDerive apply relative to the same properties inherited through other StyleDerives.ReadSafe
StyleSheetStyleSheetThe StyleSheet from which the parent StyleSheet inherits StyleRules and token definitions.ReadSafe

Priority: int#

ReadSafe

A number that determines how style properties inherited through this StyleDerive apply relative to the same properties inherited through other StyleDerives. Higher priority takes precedence over lower; for example, if a StyleDerive with a priority of 10 points to a sheet StyleSheetA, its StyleRules and tokens will take precedence over the same StyleRules and tokens inherited through lower-priority StyleDerives.

StyleSheet: StyleSheet#

ReadSafe

The StyleSheet from which the parent StyleSheet inherits StyleRules and token definitions.

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed