Show / Hide Table of Contents

Interface IStyle

Namespace: UnityEngine.Experimental.UIElements
Assembly: UnityEngine.dll
Syntax
public interface IStyle

Properties

| Improve this Doc View Source

alignContent

Declaration
StyleValue<Align> alignContent { get; set; }
Property Value
Type Description
StyleValue<Align>
| Improve this Doc View Source

alignItems

Declaration
StyleValue<Align> alignItems { get; set; }
Property Value
Type Description
StyleValue<Align>
| Improve this Doc View Source

alignSelf

Declaration
StyleValue<Align> alignSelf { get; set; }
Property Value
Type Description
StyleValue<Align>
| Improve this Doc View Source

backgroundColor

Declaration
StyleValue<Color> backgroundColor { get; set; }
Property Value
Type Description
StyleValue<Color>
| Improve this Doc View Source

backgroundImage

Declaration
StyleValue<Texture2D> backgroundImage { get; set; }
Property Value
Type Description
StyleValue<Texture2D>
| Improve this Doc View Source

backgroundScaleMode

Declaration
StyleValue<ScaleMode> backgroundScaleMode { get; set; }
Property Value
Type Description
StyleValue<ScaleMode>
| Improve this Doc View Source

backgroundSize

Declaration
[Obsolete("Use backgroundScaleMode instead")]
StyleValue<ScaleMode> backgroundSize { get; set; }
Property Value
Type Description
StyleValue<ScaleMode>
| Improve this Doc View Source

borderBottom

Declaration
[Obsolete("Use borderBottomWidth instead")]
StyleValue<float> borderBottom { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderBottomLeftRadius

Declaration
StyleValue<float> borderBottomLeftRadius { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderBottomRightRadius

Declaration
StyleValue<float> borderBottomRightRadius { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderBottomWidth

Declaration
StyleValue<float> borderBottomWidth { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderColor

Declaration
StyleValue<Color> borderColor { get; set; }
Property Value
Type Description
StyleValue<Color>
| Improve this Doc View Source

borderLeft

Declaration
[Obsolete("Use borderLeftWidth instead")]
StyleValue<float> borderLeft { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderLeftWidth

Declaration
StyleValue<float> borderLeftWidth { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderRadius

Declaration
StyleValue<float> borderRadius { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderRight

Declaration
[Obsolete("Use borderRightWidth instead")]
StyleValue<float> borderRight { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderRightWidth

Declaration
StyleValue<float> borderRightWidth { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderTop

Declaration
[Obsolete("Use borderTopWidth instead")]
StyleValue<float> borderTop { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderTopLeftRadius

Declaration
StyleValue<float> borderTopLeftRadius { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderTopRightRadius

Declaration
StyleValue<float> borderTopRightRadius { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

borderTopWidth

Declaration
StyleValue<float> borderTopWidth { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

color

Declaration
StyleValue<Color> color { get; set; }
Property Value
Type Description
StyleValue<Color>
| Improve this Doc View Source

cursor

Declaration
StyleValue<CursorStyle> cursor { get; set; }
Property Value
Type Description
StyleValue<CursorStyle>
| Improve this Doc View Source

flex

Declaration
StyleValue<Flex> flex { get; set; }
Property Value
Type Description
StyleValue<Flex>
| Improve this Doc View Source

flexBasis

Declaration
StyleValue<float> flexBasis { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

flexDirection

Declaration
StyleValue<FlexDirection> flexDirection { get; set; }
Property Value
Type Description
StyleValue<FlexDirection>
| Improve this Doc View Source

flexGrow

Declaration
StyleValue<float> flexGrow { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

flexShrink

Declaration
StyleValue<float> flexShrink { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

flexWrap

Declaration
StyleValue<Wrap> flexWrap { get; set; }
Property Value
Type Description
StyleValue<Wrap>
| Improve this Doc View Source

font

Declaration
StyleValue<Font> font { get; set; }
Property Value
Type Description
StyleValue<Font>
| Improve this Doc View Source

fontSize

Declaration
StyleValue<int> fontSize { get; set; }
Property Value
Type Description
StyleValue<Int32>
| Improve this Doc View Source

fontStyle

Declaration
[Obsolete("Use fontStyleAndWeight instead")]
StyleValue<FontStyle> fontStyle { get; set; }
Property Value
Type Description
StyleValue<FontStyle>
| Improve this Doc View Source

fontStyleAndWeight

Declaration
StyleValue<FontStyle> fontStyleAndWeight { get; set; }
Property Value
Type Description
StyleValue<FontStyle>
| Improve this Doc View Source

height

Declaration
StyleValue<float> height { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

justifyContent

Declaration
StyleValue<Justify> justifyContent { get; set; }
Property Value
Type Description
StyleValue<Justify>
| Improve this Doc View Source

marginBottom

Declaration
StyleValue<float> marginBottom { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

marginLeft

Declaration
StyleValue<float> marginLeft { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

marginRight

Declaration
StyleValue<float> marginRight { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

marginTop

Declaration
StyleValue<float> marginTop { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

maxHeight

Declaration
StyleValue<float> maxHeight { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

maxWidth

Declaration
StyleValue<float> maxWidth { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

minHeight

Declaration
StyleValue<float> minHeight { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

minWidth

Declaration
StyleValue<float> minWidth { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

opacity

Declaration
StyleValue<float> opacity { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

overflow

Declaration
StyleValue<Overflow> overflow { get; set; }
Property Value
Type Description
StyleValue<Overflow>
| Improve this Doc View Source

paddingBottom

Declaration
StyleValue<float> paddingBottom { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

paddingLeft

Declaration
StyleValue<float> paddingLeft { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

paddingRight

Declaration
StyleValue<float> paddingRight { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

paddingTop

Declaration
StyleValue<float> paddingTop { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

positionBottom

Declaration
StyleValue<float> positionBottom { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

positionLeft

Declaration
StyleValue<float> positionLeft { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

positionRight

Declaration
StyleValue<float> positionRight { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

positionTop

Declaration
StyleValue<float> positionTop { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

positionType

Declaration
StyleValue<PositionType> positionType { get; set; }
Property Value
Type Description
StyleValue<PositionType>
| Improve this Doc View Source

sliceBottom

Declaration
StyleValue<int> sliceBottom { get; set; }
Property Value
Type Description
StyleValue<Int32>
| Improve this Doc View Source

sliceLeft

Declaration
StyleValue<int> sliceLeft { get; set; }
Property Value
Type Description
StyleValue<Int32>
| Improve this Doc View Source

sliceRight

Declaration
StyleValue<int> sliceRight { get; set; }
Property Value
Type Description
StyleValue<Int32>
| Improve this Doc View Source

sliceTop

Declaration
StyleValue<int> sliceTop { get; set; }
Property Value
Type Description
StyleValue<Int32>
| Improve this Doc View Source

textAlignment

Declaration
[Obsolete("Use unityTextAlign instead")]
StyleValue<TextAnchor> textAlignment { get; set; }
Property Value
Type Description
StyleValue<TextAnchor>
| Improve this Doc View Source

textClipping

Declaration
StyleValue<TextClipping> textClipping { get; set; }
Property Value
Type Description
StyleValue<TextClipping>
| Improve this Doc View Source

textColor

Declaration
[Obsolete("Use color instead")]
StyleValue<Color> textColor { get; set; }
Property Value
Type Description
StyleValue<Color>
| Improve this Doc View Source

unityTextAlign

Declaration
StyleValue<TextAnchor> unityTextAlign { get; set; }
Property Value
Type Description
StyleValue<TextAnchor>
| Improve this Doc View Source

visibility

Declaration
StyleValue<Visibility> visibility { get; set; }
Property Value
Type Description
StyleValue<Visibility>
| Improve this Doc View Source

width

Declaration
StyleValue<float> width { get; set; }
Property Value
Type Description
StyleValue<Single>
| Improve this Doc View Source

wordWrap

Declaration
StyleValue<bool> wordWrap { get; set; }
Property Value
Type Description
StyleValue<Boolean>

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX