API ReferenceSandbox.UI

BaseStylesclass

Auto generated container class for majority of CSS properties available.

objectBaseStyles
Namespace
Sandbox.UI
Assembly
Sandbox.Engine
Declaration
public abstract class Sandbox.UI.BaseStyles

Constructors1

Showing 1 constructors

Methods15

Showing 15 methods

public virtual void Add(Sandbox.UI.BaseStyles bs)PUBLICVIRTUAL

Copy over only the styles that are set.

ParameterTypeDescription
bsBaseStyles
Returns:void

public void ApplyCascading(Sandbox.UI.BaseStyles parent)PUBLIC

ParameterTypeDescription
parentBaseStyles
Returns:void

public virtual sealed object Clone()PUBLICVIRTUAL

Perform a deep copy of this stylesheet

Returns:object

public virtual void Dirty()PUBLICVIRTUAL

Called when any CSS properties are changed.

Returns:void

public void FillDefaults()PUBLIC

Returns:void

public virtual void From(Sandbox.UI.BaseStyles bs)PUBLICVIRTUAL

Copy all styles from given style set.

ParameterTypeDescription
bsBaseStyles
Returns:void

public virtual void FromLerp(Sandbox.UI.BaseStyles from, Sandbox.UI.BaseStyles to, float delta)PUBLICVIRTUAL

Lerp every property in this stylesheet

ParameterTypeDescription
fromBaseStyles
toBaseStyles
deltafloat
Returns:void

public virtual void LerpProperty(string name, Sandbox.UI.BaseStyles from, Sandbox.UI.BaseStyles to, float delta)PUBLICVIRTUAL

Lerp a specific property by name

ParameterTypeDescription
namestring
fromBaseStyles
toBaseStyles
deltafloat
Returns:void

public virtual bool Set(string property, string value)PUBLICVIRTUAL

Copy all styles from given style set.

ParameterTypeDescription
propertystring
valuestring
Returns:bool

public void SetRect(Sandbox.Rect r, float scale = 1)PUBLIC

Set Left, Right, Width and Height based on this rect. Scale can be used to scale the rect (maybe you want to use Panel.ScaleFromScreen etc)

ParameterTypeDescription
rRect
scale = 1float
Returns:void

Properties148

Showing 148 properties

public System.Nullable`1<Sandbox.UI.Align> Sandbox.UI.BaseStyles.AlignContent { get; set; }PUBLICGETSET

Represents the `align-content` CSS property.

Returns:Nullable<Align>

public System.Nullable`1<Sandbox.UI.Align> Sandbox.UI.BaseStyles.AlignItems { get; set; }PUBLICGETSET

Represents the `align-items` CSS property.

Returns:Nullable<Align>

public System.Nullable`1<Sandbox.UI.Align> Sandbox.UI.BaseStyles.AlignSelf { get; set; }PUBLICGETSET

Represents the `align-self` CSS property.

Returns:Nullable<Align>

public System.Nullable`1<float> Sandbox.UI.BaseStyles.AnimationDelay { get; set; }PUBLICGETSET

Represents the `animation-delay` CSS property.

Returns:Nullable<float>

public string Sandbox.UI.BaseStyles.AnimationDirection { get; set; }PUBLICGETSET

Represents the `animation-direction` CSS property.

Returns:string

public System.Nullable`1<float> Sandbox.UI.BaseStyles.AnimationDuration { get; set; }PUBLICGETSET

Represents the `animation-duration` CSS property.

Returns:Nullable<float>

public string Sandbox.UI.BaseStyles.AnimationFillMode { get; set; }PUBLICGETSET

Represents the `animation-fill-mode` CSS property.

Returns:string

public System.Nullable`1<float> Sandbox.UI.BaseStyles.AnimationIterationCount { get; set; }PUBLICGETSET

Represents the `animation-iteration-count` CSS property.

Returns:Nullable<float>

public string Sandbox.UI.BaseStyles.AnimationName { get; set; }PUBLICGETSET

Represents the `animation-name` CSS property.

Returns:string

public string Sandbox.UI.BaseStyles.AnimationPlayState { get; set; }PUBLICGETSET

Represents the `animation-play-state` CSS property.

Returns:string

public string Sandbox.UI.BaseStyles.AnimationTimingFunction { get; set; }PUBLICGETSET

Represents the `animation-timing-function` CSS property.

Returns:string

public System.Nullable`1<float> Sandbox.UI.BaseStyles.AspectRatio { get; set; }PUBLICGETSET

Represents the `aspect-ratio` CSS property.

Returns:Nullable<float>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterBlur { get; set; }PUBLICGETSET

Represents the `backdrop-filter-blur` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterBrightness { get; set; }PUBLICGETSET

Represents the `backdrop-filter-brightness` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterContrast { get; set; }PUBLICGETSET

Represents the `backdrop-filter-contrast` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterHueRotate { get; set; }PUBLICGETSET

Represents the `backdrop-filter-hue-rotate` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterInvert { get; set; }PUBLICGETSET

Represents the `backdrop-filter-invert` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterSaturate { get; set; }PUBLICGETSET

Represents the `backdrop-filter-saturate` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterSepia { get; set; }PUBLICGETSET

Represents the `backdrop-filter-sepia` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundAngle { get; set; }PUBLICGETSET

Represents the `background-angle` CSS property.

Returns:Nullable<Length>

public string Sandbox.UI.BaseStyles.BackgroundBlendMode { get; set; }PUBLICGETSET

Represents the `background-blend-mode` CSS property.

Returns:string

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BackgroundColor { get; set; }PUBLICGETSET

Represents the `background-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<bool> Sandbox.UI.BaseStyles.BackgroundPlaybackPaused { get; set; }PUBLICGETSET

Controls whether the background video is paused. Mirrors `animation-play-state`. Maps to the CSS property `background-playback-state: paused | running`.

Returns:Nullable<bool>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundPositionX { get; set; }PUBLICGETSET

Represents the `background-position-x` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundPositionY { get; set; }PUBLICGETSET

Represents the `background-position-y` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundSizeX { get; set; }PUBLICGETSET

Represents the `background-size-x` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundSizeY { get; set; }PUBLICGETSET

Represents the `background-size-y` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BackgroundTint { get; set; }PUBLICGETSET

Represents the `background-tint` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderBottomColor { get; set; }PUBLICGETSET

Represents the `border-bottom-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderBottomLeftRadius { get; set; }PUBLICGETSET

Represents the `border-bottom-left-radius` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderBottomRightRadius { get; set; }PUBLICGETSET

Represents the `border-bottom-right-radius` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderBottomWidth { get; set; }PUBLICGETSET

Represents the `border-bottom-width` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderImageTint { get; set; }PUBLICGETSET

Represents the `border-image-tint` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderImageWidthBottom { get; set; }PUBLICGETSET

Represents the `border-image-width-bottom` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderImageWidthLeft { get; set; }PUBLICGETSET

Represents the `border-image-width-left` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderImageWidthRight { get; set; }PUBLICGETSET

Represents the `border-image-width-right` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderImageWidthTop { get; set; }PUBLICGETSET

Represents the `border-image-width-top` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderLeftColor { get; set; }PUBLICGETSET

Represents the `border-left-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderLeftWidth { get; set; }PUBLICGETSET

Represents the `border-left-width` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderRightColor { get; set; }PUBLICGETSET

Represents the `border-right-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderRightWidth { get; set; }PUBLICGETSET

Represents the `border-right-width` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderTopColor { get; set; }PUBLICGETSET

Represents the `border-top-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderTopLeftRadius { get; set; }PUBLICGETSET

Represents the `border-top-left-radius` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderTopRightRadius { get; set; }PUBLICGETSET

Represents the `border-top-right-radius` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderTopWidth { get; set; }PUBLICGETSET

Represents the `border-top-width` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Bottom { get; set; }PUBLICGETSET

Represents the `bottom` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.CaretColor { get; set; }PUBLICGETSET

Represents the `caret-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.ColumnGap { get; set; }PUBLICGETSET

Represents the `column-gap` CSS property.

Returns:Nullable<Length>

public string Sandbox.UI.BaseStyles.Content { get; set; }PUBLICGETSET

Represents the `content` CSS property.

Returns:string

public string Sandbox.UI.BaseStyles.Cursor { get; set; }PUBLICGETSET

Represents the `cursor` CSS property.

Returns:string

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterBlur { get; set; }PUBLICGETSET

Represents the `filter-blur` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.FilterBorderColor { get; set; }PUBLICGETSET

Represents the `filter-border-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterBorderWidth { get; set; }PUBLICGETSET

Represents the `filter-border-width` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterBrightness { get; set; }PUBLICGETSET

Represents the `filter-brightness` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterContrast { get; set; }PUBLICGETSET

Represents the `filter-contrast` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterHueRotate { get; set; }PUBLICGETSET

Represents the `filter-hue-rotate` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterInvert { get; set; }PUBLICGETSET

Represents the `filter-invert` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterSaturate { get; set; }PUBLICGETSET

Represents the `filter-saturate` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterSepia { get; set; }PUBLICGETSET

Represents the `filter-sepia` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.FilterTint { get; set; }PUBLICGETSET

Represents the `filter-tint` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FlexBasis { get; set; }PUBLICGETSET

Represents the `flex-basis` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<float> Sandbox.UI.BaseStyles.FlexGrow { get; set; }PUBLICGETSET

Represents the `flex-grow` CSS property.

Returns:Nullable<float>

public System.Nullable`1<float> Sandbox.UI.BaseStyles.FlexShrink { get; set; }PUBLICGETSET

Represents the `flex-shrink` CSS property.

Returns:Nullable<float>

public System.Nullable`1<Sandbox.UI.Wrap> Sandbox.UI.BaseStyles.FlexWrap { get; set; }PUBLICGETSET

Represents the `flex-wrap` CSS property.

Returns:Nullable<Wrap>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.FontColor { get; set; }PUBLICGETSET

Represents the `font-color` CSS property.

Returns:Nullable<Color>

public string Sandbox.UI.BaseStyles.FontFamily { get; set; }PUBLICGETSET

Represents the `font-family` CSS property.

Returns:string

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FontSize { get; set; }PUBLICGETSET

Represents the `font-size` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<int> Sandbox.UI.BaseStyles.FontWeight { get; set; }PUBLICGETSET

Represents the `font-weight` CSS property.

Returns:Nullable<int>

public bool Sandbox.UI.BaseStyles.HasAnimation { get; set; }PUBLICGETSET

Whether there is an active CSS animation.

Returns:bool

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Height { get; set; }PUBLICGETSET

Represents the `height` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Justify> Sandbox.UI.BaseStyles.JustifyContent { get; set; }PUBLICGETSET

Represents the `justify-content` CSS property.

Returns:Nullable<Justify>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Left { get; set; }PUBLICGETSET

Represents the `left` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.LetterSpacing { get; set; }PUBLICGETSET

Represents the `letter-spacing` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.LineHeight { get; set; }PUBLICGETSET

Represents the `line-height` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MarginBottom { get; set; }PUBLICGETSET

Represents the `margin-bottom` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MarginLeft { get; set; }PUBLICGETSET

Represents the `margin-left` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MarginRight { get; set; }PUBLICGETSET

Represents the `margin-right` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MarginTop { get; set; }PUBLICGETSET

Represents the `margin-top` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskAngle { get; set; }PUBLICGETSET

Represents the `mask-angle` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskPositionX { get; set; }PUBLICGETSET

Represents the `mask-position-x` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskPositionY { get; set; }PUBLICGETSET

Represents the `mask-position-y` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskSizeX { get; set; }PUBLICGETSET

Represents the `mask-size-x` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskSizeY { get; set; }PUBLICGETSET

Represents the `mask-size-y` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaxHeight { get; set; }PUBLICGETSET

Represents the `max-height` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaxWidth { get; set; }PUBLICGETSET

Represents the `max-width` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MinHeight { get; set; }PUBLICGETSET

Represents the `min-height` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MinWidth { get; set; }PUBLICGETSET

Represents the `min-width` CSS property.

Returns:Nullable<Length>

public string Sandbox.UI.BaseStyles.MixBlendMode { get; set; }PUBLICGETSET

Represents the `mix-blend-mode` CSS property.

Returns:string

public System.Nullable`1<float> Sandbox.UI.BaseStyles.Opacity { get; set; }PUBLICGETSET

Represents the `opacity` CSS property.

Returns:Nullable<float>

public System.Nullable`1<int> Sandbox.UI.BaseStyles.Order { get; set; }PUBLICGETSET

Represents the `order` CSS property.

Returns:Nullable<int>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.OutlineColor { get; set; }PUBLICGETSET

Represents the `outline-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.OutlineOffset { get; set; }PUBLICGETSET

Represents the `outline-offset` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.OutlineWidth { get; set; }PUBLICGETSET

Represents the `outline-width` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PaddingBottom { get; set; }PUBLICGETSET

Represents the `padding-bottom` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PaddingLeft { get; set; }PUBLICGETSET

Represents the `padding-left` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PaddingRight { get; set; }PUBLICGETSET

Represents the `padding-right` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PaddingTop { get; set; }PUBLICGETSET

Represents the `padding-top` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PerspectiveOriginX { get; set; }PUBLICGETSET

Represents the `perspective-origin-x` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PerspectiveOriginY { get; set; }PUBLICGETSET

Represents the `perspective-origin-y` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.PositionMode> Sandbox.UI.BaseStyles.Position { get; set; }PUBLICGETSET

Represents the `position` CSS property.

Returns:Nullable<PositionMode>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Right { get; set; }PUBLICGETSET

Represents the `right` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.RowGap { get; set; }PUBLICGETSET

Represents the `row-gap` CSS property.

Returns:Nullable<Length>

public string Sandbox.UI.BaseStyles.SoundIn { get; set; }PUBLICGETSET

Represents the `sound-in` CSS property.

Returns:string

public string Sandbox.UI.BaseStyles.SoundOut { get; set; }PUBLICGETSET

Represents the `sound-out` CSS property.

Returns:string

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextBackgroundAngle { get; set; }PUBLICGETSET

Represents the `text-background-angle` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.TextDecorationColor { get; set; }PUBLICGETSET

Represents the `text-decoration-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.TextSkipInk> Sandbox.UI.BaseStyles.TextDecorationSkipInk { get; set; }PUBLICGETSET

Represents the `text-decoration-skip-ink` CSS property.

Returns:Nullable<TextSkipInk>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextDecorationThickness { get; set; }PUBLICGETSET

Represents the `text-decoration-thickness` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.Rendering.FilterMode> Sandbox.UI.BaseStyles.TextFilter { get; set; }PUBLICGETSET

Represents the `text-filter` CSS property.

Returns:Nullable<FilterMode>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextLineThroughOffset { get; set; }PUBLICGETSET

Represents the `text-line-through-offset` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextOverlineOffset { get; set; }PUBLICGETSET

Represents the `text-overline-offset` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Color> Sandbox.UI.BaseStyles.TextStrokeColor { get; set; }PUBLICGETSET

Represents the `text-stroke-color` CSS property.

Returns:Nullable<Color>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextStrokeWidth { get; set; }PUBLICGETSET

Represents the `text-stroke-width` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextUnderlineOffset { get; set; }PUBLICGETSET

Represents the `text-underline-offset` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Top { get; set; }PUBLICGETSET

Represents the `top` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TransformOriginX { get; set; }PUBLICGETSET

Represents the `transform-origin-x` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TransformOriginY { get; set; }PUBLICGETSET

Represents the `transform-origin-y` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Width { get; set; }PUBLICGETSET

Represents the `width` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.WordSpacing { get; set; }PUBLICGETSET

Represents the `word-spacing` CSS property.

Returns:Nullable<Length>

public System.Nullable`1<int> Sandbox.UI.BaseStyles.ZIndex { get; set; }PUBLICGETSET

Represents the `z-index` CSS property.

Returns:Nullable<int>

On this page

Constructorsprotected BaseStyles()Methodspublic virtual System.Void Add(Sandbox.UI.BaseStyles bs)public System.Void ApplyCascading(Sandbox.UI.BaseStyles parent)public virtual sealed System.Object Clone()public virtual System.Void Dirty()public System.Void FillDefaults()public virtual System.Void From(Sandbox.UI.BaseStyles bs)public virtual System.Void FromLerp(Sandbox.UI.BaseStyles from, Sandbox.UI.BaseStyles to, System.Single delta)protected System.Void Lerp(System.Nullable`1<Color> o, System.Nullable`1<Color> a, System.Nullable`1<Color> b, System.Nullable`1<Color> defaultValue, System.Single delta)protected System.Void Lerp(System.Nullable`1<Sandbox.UI.Length> o, System.Nullable`1<Sandbox.UI.Length> a, System.Nullable`1<Sandbox.UI.Length> b, System.Nullable`1<Sandbox.UI.Length> defaultValue, System.Single delta)protected System.Void Lerp(System.Nullable`1<Sandbox.UI.PanelTransform> o, System.Nullable`1<Sandbox.UI.PanelTransform> a, System.Nullable`1<Sandbox.UI.PanelTransform> b, System.Nullable`1<Sandbox.UI.PanelTransform> defaultValue, System.Single delta)protected System.Void Lerp(System.Nullable`1<System.Int32> o, System.Nullable`1<System.Int32> a, System.Nullable`1<System.Int32> b, System.Nullable`1<System.Int32> defaultValue, System.Single delta)protected System.Void Lerp(System.Nullable`1<System.Single> o, System.Nullable`1<System.Single> a, System.Nullable`1<System.Single> b, System.Nullable`1<System.Single> defaultValue, System.Single delta)public virtual System.Void LerpProperty(System.String name, Sandbox.UI.BaseStyles from, Sandbox.UI.BaseStyles to, System.Single delta)public virtual System.Boolean Set(System.String property, System.String value)public System.Void SetRect(Sandbox.Rect r, System.Single scale = 1)Propertiespublic System.Nullable`1<Sandbox.UI.Align> Sandbox.UI.BaseStyles.AlignContent { get; set; }public System.Nullable`1<Sandbox.UI.Align> Sandbox.UI.BaseStyles.AlignItems { get; set; }public System.Nullable`1<Sandbox.UI.Align> Sandbox.UI.BaseStyles.AlignSelf { get; set; }public System.Nullable`1<System.Single> Sandbox.UI.BaseStyles.AnimationDelay { get; set; }public System.String Sandbox.UI.BaseStyles.AnimationDirection { get; set; }public System.Nullable`1<System.Single> Sandbox.UI.BaseStyles.AnimationDuration { get; set; }public System.String Sandbox.UI.BaseStyles.AnimationFillMode { get; set; }public System.Nullable`1<System.Single> Sandbox.UI.BaseStyles.AnimationIterationCount { get; set; }public System.String Sandbox.UI.BaseStyles.AnimationName { get; set; }public System.String Sandbox.UI.BaseStyles.AnimationPlayState { get; set; }public System.String Sandbox.UI.BaseStyles.AnimationTimingFunction { get; set; }public System.Nullable`1<System.Single> Sandbox.UI.BaseStyles.AspectRatio { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterBlur { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterBrightness { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterContrast { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterHueRotate { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterInvert { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterSaturate { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackdropFilterSepia { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundAngle { get; set; }public System.String Sandbox.UI.BaseStyles.BackgroundBlendMode { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BackgroundColor { get; set; }public Sandbox.Texture Sandbox.UI.BaseStyles.BackgroundImage { get; set; }public System.Nullable`1<System.Boolean> Sandbox.UI.BaseStyles.BackgroundPlaybackPaused { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundPositionX { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundPositionY { get; set; }public System.Nullable`1<Sandbox.UI.BackgroundRepeat> Sandbox.UI.BaseStyles.BackgroundRepeat { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundSizeX { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BackgroundSizeY { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BackgroundTint { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderBottomColor { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderBottomLeftRadius { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderBottomRightRadius { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderBottomWidth { get; set; }public System.Nullable`1<Sandbox.UI.BorderImageFill> Sandbox.UI.BaseStyles.BorderImageFill { get; set; }public System.Nullable`1<Sandbox.UI.BorderImageRepeat> Sandbox.UI.BaseStyles.BorderImageRepeat { get; set; }public Sandbox.Texture Sandbox.UI.BaseStyles.BorderImageSource { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderImageTint { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderImageWidthBottom { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderImageWidthLeft { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderImageWidthRight { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderImageWidthTop { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderLeftColor { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderLeftWidth { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderRightColor { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderRightWidth { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.BorderTopColor { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderTopLeftRadius { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderTopRightRadius { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.BorderTopWidth { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Bottom { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.CaretColor { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.ColumnGap { get; set; }public System.String Sandbox.UI.BaseStyles.Content { get; set; }public System.String Sandbox.UI.BaseStyles.Cursor { get; set; }public System.Nullable`1<Sandbox.UI.DisplayMode> Sandbox.UI.BaseStyles.Display { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterBlur { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.FilterBorderColor { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterBorderWidth { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterBrightness { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterContrast { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterHueRotate { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterInvert { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterSaturate { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FilterSepia { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.FilterTint { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FlexBasis { get; set; }public System.Nullable`1<Sandbox.UI.FlexDirection> Sandbox.UI.BaseStyles.FlexDirection { get; set; }public System.Nullable`1<System.Single> Sandbox.UI.BaseStyles.FlexGrow { get; set; }public System.Nullable`1<System.Single> Sandbox.UI.BaseStyles.FlexShrink { get; set; }public System.Nullable`1<Sandbox.UI.Wrap> Sandbox.UI.BaseStyles.FlexWrap { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.FontColor { get; set; }public System.String Sandbox.UI.BaseStyles.FontFamily { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.FontSize { get; set; }public System.Nullable`1<Sandbox.UI.FontSmooth> Sandbox.UI.BaseStyles.FontSmooth { get; set; }public System.Nullable`1<Sandbox.UI.FontStyle> Sandbox.UI.BaseStyles.FontStyle { get; set; }public System.Nullable`1<Sandbox.UI.FontVariantNumeric> Sandbox.UI.BaseStyles.FontVariantNumeric { get; set; }public System.Nullable`1<System.Int32> Sandbox.UI.BaseStyles.FontWeight { get; set; }public System.Boolean Sandbox.UI.BaseStyles.HasAnimation { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Height { get; set; }public System.Nullable`1<Sandbox.UI.ImageRendering> Sandbox.UI.BaseStyles.ImageRendering { get; set; }public System.Nullable`1<Sandbox.UI.Justify> Sandbox.UI.BaseStyles.JustifyContent { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Left { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.LetterSpacing { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.LineHeight { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MarginBottom { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MarginLeft { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MarginRight { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MarginTop { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskAngle { get; set; }public Sandbox.Texture Sandbox.UI.BaseStyles.MaskImage { get; set; }public System.Nullable`1<Sandbox.UI.MaskMode> Sandbox.UI.BaseStyles.MaskMode { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskPositionX { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskPositionY { get; set; }public System.Nullable`1<Sandbox.UI.BackgroundRepeat> Sandbox.UI.BaseStyles.MaskRepeat { get; set; }public System.Nullable`1<Sandbox.UI.MaskScope> Sandbox.UI.BaseStyles.MaskScope { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskSizeX { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaskSizeY { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaxHeight { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MaxWidth { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MinHeight { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.MinWidth { get; set; }public System.String Sandbox.UI.BaseStyles.MixBlendMode { get; set; }public System.Nullable`1<Sandbox.UI.ObjectFit> Sandbox.UI.BaseStyles.ObjectFit { get; set; }public System.Nullable`1<System.Single> Sandbox.UI.BaseStyles.Opacity { get; set; }public System.Nullable`1<System.Int32> Sandbox.UI.BaseStyles.Order { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.OutlineColor { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.OutlineOffset { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.OutlineWidth { get; set; }public System.Nullable`1<Sandbox.UI.OverflowMode> Sandbox.UI.BaseStyles.Overflow { get; set; }public System.Nullable`1<Sandbox.UI.OverflowMode> Sandbox.UI.BaseStyles.OverflowX { get; set; }public System.Nullable`1<Sandbox.UI.OverflowMode> Sandbox.UI.BaseStyles.OverflowY { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PaddingBottom { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PaddingLeft { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PaddingRight { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PaddingTop { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PerspectiveOriginX { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.PerspectiveOriginY { get; set; }public System.Nullable`1<Sandbox.UI.PointerEvents> Sandbox.UI.BaseStyles.PointerEvents { get; set; }public System.Nullable`1<Sandbox.UI.PositionMode> Sandbox.UI.BaseStyles.Position { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Right { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.RowGap { get; set; }public System.String Sandbox.UI.BaseStyles.SoundIn { get; set; }public System.String Sandbox.UI.BaseStyles.SoundOut { get; set; }public System.Nullable`1<Sandbox.UI.TextAlign> Sandbox.UI.BaseStyles.TextAlign { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextBackgroundAngle { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.TextDecorationColor { get; set; }public System.Nullable`1<Sandbox.UI.TextDecoration> Sandbox.UI.BaseStyles.TextDecorationLine { get; set; }public System.Nullable`1<Sandbox.UI.TextSkipInk> Sandbox.UI.BaseStyles.TextDecorationSkipInk { get; set; }public System.Nullable`1<Sandbox.UI.TextDecorationStyle> Sandbox.UI.BaseStyles.TextDecorationStyle { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextDecorationThickness { get; set; }public System.Nullable`1<Sandbox.Rendering.FilterMode> Sandbox.UI.BaseStyles.TextFilter { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextLineThroughOffset { get; set; }public System.Nullable`1<Sandbox.UI.TextOverflow> Sandbox.UI.BaseStyles.TextOverflow { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextOverlineOffset { get; set; }public System.Nullable`1<Color> Sandbox.UI.BaseStyles.TextStrokeColor { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextStrokeWidth { get; set; }public System.Nullable`1<Sandbox.UI.TextTransform> Sandbox.UI.BaseStyles.TextTransform { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TextUnderlineOffset { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Top { get; set; }public System.Nullable`1<Sandbox.UI.PanelTransform> Sandbox.UI.BaseStyles.Transform { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TransformOriginX { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.TransformOriginY { get; set; }public System.Nullable`1<Sandbox.UI.WhiteSpace> Sandbox.UI.BaseStyles.WhiteSpace { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.Width { get; set; }public System.Nullable`1<Sandbox.UI.WordBreak> Sandbox.UI.BaseStyles.WordBreak { get; set; }public System.Nullable`1<Sandbox.UI.Length> Sandbox.UI.BaseStyles.WordSpacing { get; set; }public System.Nullable`1<System.Int32> Sandbox.UI.BaseStyles.ZIndex { get; set; }Metadata