Class
StyleDerive
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#
Priorityint | A number that determines how style properties inherited through this
StyleDerive apply relative to the same properties inherited through
other StyleDerives.ReadSafe |
StyleSheetStyleSheet | The 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
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild