class BaseStyles

robot_2Generated
code_blocksInput

Description

The BaseStyles class in the Sandbox.UI namespace is an auto-generated container class that provides access to a wide range of CSS properties. It is designed to facilitate the manipulation of styles in a structured and programmatic way, allowing developers to apply and modify CSS properties directly within the s&box environment.

Members

Instance Methods

Member Name Summary
Dirty Called when any CSS properties are changed.
Add Adds styles from another BaseStyles instance.
From Copies styles from another BaseStyles instance.
Set Sets a CSS property to a specified value.
FillDefaults Fills in default values for unspecified CSS properties.
FromLerp Interpolates styles between two BaseStyles instances.
LerpProperty Interpolates a specific CSS property between two BaseStyles instances.
Clone Perform a deep copy of this stylesheet.
ApplyCascading Applies cascading styles from a parent BaseStyles instance.

Instance Properties

Member Name Summary
Overflow Represents the overflow CSS property.
Content Represents the content CSS property.
Width Represents the width CSS property.
MinWidth Represents the min-width CSS property.
MaxWidth Represents the max-width CSS property.
Height Represents the height CSS property.
MinHeight Represents the min-height CSS property.
MaxHeight Represents the max-height CSS property.
Left Represents the left CSS property.
Top Represents the top CSS property.
Right Represents the right CSS property.
Bottom Represents the bottom CSS property.
Opacity Represents the opacity CSS property.
BackgroundColor Represents the background-color CSS property.
PaddingLeft Represents the padding-left CSS property.
PaddingTop Represents the padding-top CSS property.
PaddingRight Represents the padding-right CSS property.
PaddingBottom Represents the padding-bottom CSS property.
MarginLeft Represents the margin-left CSS property.
MarginTop Represents the margin-top CSS property.
MarginRight Represents the margin-right CSS property.
MarginBottom Represents the margin-bottom CSS property.
BorderTopLeftRadius Represents the border-top-left-radius CSS property.
BorderTopRightRadius Represents the border-top-right-radius CSS property.
BorderBottomRightRadius Represents the border-bottom-right-radius CSS property.
BorderBottomLeftRadius Represents the border-bottom-left-radius CSS property.
BorderLeftWidth Represents the border-left-width CSS property.
BorderTopWidth Represents the border-top-width CSS property.
BorderRightWidth Represents the border-right-width CSS property.
BorderBottomWidth Represents the border-bottom-width CSS property.
BorderLeftColor Represents the border-left-color CSS property.
BorderTopColor Represents the border-top-color CSS property.
BorderRightColor Represents the border-right-color CSS property.
BorderBottomColor Represents the border-bottom-color CSS property.
FontSize Represents the font-size CSS property.
FontColor Represents the font-color CSS property.
FontWeight Represents the font-weight CSS property.
FontFamily Represents the font-family CSS property.
CaretColor Represents the caret-color CSS property.
Cursor Represents the cursor CSS property.
PointerEvents Represents the pointer-events CSS property.
MixBlendMode Represents the mix-blend-mode CSS property.
Position Represents the position CSS property.
OverflowX Represents the overflow-x CSS property.
OverflowY Represents the overflow-y CSS property.
FlexDirection Represents the flex-direction CSS property.
JustifyContent Represents the justify-content CSS property.
Display Represents the display CSS property.
FlexWrap Represents the flex-wrap CSS property.
AlignContent Represents the align-content CSS property.
AlignSelf Represents the align-self CSS property.
AlignItems Represents the align-items CSS property.
FlexBasis Represents the flex-basis CSS property.
FlexGrow Represents the flex-grow CSS property.
FlexShrink Represents the flex-shrink CSS property.
RowGap Represents the row-gap CSS property.
ColumnGap Represents the column-gap CSS property.
AspectRatio Represents the aspect-ratio CSS property.
TextAlign Represents the text-align CSS property.
TextOverflow Represents the text-overflow CSS property.
WordBreak Represents the word-break CSS property.
TextDecorationLine Represents the text-decoration-line CSS property.
TextDecorationColor Represents the text-decoration-color CSS property.
TextDecorationThickness Represents the text-decoration-thickness CSS property.
TextDecorationSkipInk Represents the text-decoration-skip-ink CSS property.
TextDecorationStyle Represents the text-decoration-style CSS property.
TextUnderlineOffset Represents the text-underline-offset CSS property.
TextOverlineOffset Represents the text-overline-offset CSS property.
TextLineThroughOffset Represents the text-line-through-offset CSS property.
FontStyle Represents the font-style CSS property.
Transform Represents the transform CSS property.
TextTransform Represents the text-transform CSS property.
TransformOriginX Represents the transform-origin-x CSS property.
TransformOriginY Represents the transform-origin-y CSS property.
LetterSpacing Represents the letter-spacing CSS property.
LineHeight Represents the line-height CSS property.
WordSpacing Represents the word-spacing CSS property.
WhiteSpace Represents the white-space CSS property.
ZIndex Represents the z-index CSS property.
Order Represents the order CSS property.
SoundIn Represents the sound-in CSS property.
SoundOut Represents the sound-out CSS property.
BackdropFilterBlur Represents the backdrop-filter-blur CSS property.
BackdropFilterBrightness Represents the backdrop-filter-brightness CSS property.
BackdropFilterContrast Represents the backdrop-filter-contrast CSS property.
BackdropFilterSaturate Represents the backdrop-filter-saturate CSS property.
BackdropFilterSepia Represents the backdrop-filter-sepia CSS property.
BackdropFilterInvert Represents the backdrop-filter-invert CSS property.
BackdropFilterHueRotate Represents the backdrop-filter-hue-rotate CSS property.
FilterBlur Represents the filter-blur CSS property.
FilterSaturate Represents the filter-saturate CSS property.
FilterSepia Represents the filter-sepia CSS property.
FilterBrightness Represents the filter-brightness CSS property.
FilterHueRotate Represents the filter-hue-rotate CSS property.
FilterInvert Represents the filter-invert CSS property.
FilterContrast Represents the filter-contrast CSS property.
FilterTint Represents the filter-tint CSS property.
FilterBorderWidth Represents the filter-border-width CSS property.
FilterBorderColor Represents the filter-border-color CSS property.
MaskMode Represents the mask-mode CSS property.
MaskRepeat Represents the mask-repeat CSS property.
MaskSizeX Represents the mask-size-x CSS property.
MaskSizeY Represents the mask-size-y CSS property.
MaskPositionX Represents the mask-position-x CSS property.
MaskPositionY Represents the mask-position-y CSS property.
MaskAngle Represents the mask-angle CSS property.
MaskScope Represents the mask-scope CSS property.
BackgroundSizeX Represents the background-size-x CSS property.
BackgroundSizeY Represents the background-size-y CSS property.
BackgroundPositionX Represents the background-position-x CSS property.
BackgroundPositionY Represents the background-position-y CSS property.
BackgroundRepeat Represents the background-repeat CSS property.
BorderImageWidthLeft Represents the border-image-width-left CSS property.
BorderImageWidthRight Represents the border-image-width-right CSS property.
BorderImageWidthTop Represents the border-image-width-top CSS property.
BorderImageWidthBottom Represents the border-image-width-bottom CSS property.
BorderImageFill Represents the border-image-fill CSS property.
BorderImageRepeat Represents the border-image-repeat CSS property.
BorderImageTint Represents the border-image-tint CSS property.
BackgroundBlendMode Represents the background-blend-mode CSS property.
BackgroundTint Represents the background-tint CSS property.
BackgroundAngle Represents the background-angle CSS property.
TextBackgroundAngle Represents the text-background-angle CSS property.
PerspectiveOriginX Represents the perspective-origin-x CSS property.
PerspectiveOriginY Represents the perspective-origin-y CSS property.
TextStrokeColor Represents the text-stroke-color CSS property.
TextStrokeWidth Represents the text-stroke-width CSS property.
ImageRendering Represents the image-rendering CSS property.
AnimationDelay Represents the animation-delay CSS property.
AnimationDirection Represents the animation-direction CSS property.
AnimationDuration Represents the animation-duration CSS property.
AnimationFillMode Represents the animation-fill-mode CSS property.
AnimationIterationCount Represents the animation-iteration-count CSS property.
AnimationName Represents the animation-name CSS property.
AnimationPlayState Represents the animation-play-state CSS property.
AnimationTimingFunction Represents the animation-timing-function CSS property.
FontSmooth Represents the font-smooth CSS property.
ObjectFit Represents the object-fit CSS property.
BackgroundImage Represents the background image texture.
MaskImage Represents the mask image texture.
BorderImageSource Represents the border image source texture.
HasAnimation Whether there is an active CSS animation.