Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    DefaultThicknessValueAttribute Class

    Namespace: Stride.UI.Attributes
    Assembly: Stride.UI.dll
    System.Object → System.Attribute → System.ComponentModel.DefaultValueAttribute → DefaultThicknessValueAttribute
    Derived from DefaultThicknessValueAttribute:

    public class DefaultThicknessValueAttribute : DefaultValueAttribute
    Name Description
    Constructors
    DefaultThicknessValueAttribute(Single, Single, Single, Single)
    DefaultThicknessValueAttribute(Single, Single, Single, Single, Single, Single)

    Initializes a new instance of the Thickness structure that has specific lengths applied to each side of the cuboid.

    Fields
    Bottom

    The bottom side of the bounding rectangle or cuboid.

    Properties
    Back

    The Back side of the bounding cuboid.

    Front

    The front side of the bounding cuboid.

    Left

    The left side of the bounding rectangle or cuboid.

    Right

    The right side of the bounding rectangle or cuboid.

    Top

    The upper side of the bounding rectangle or cuboid.

    Value
    | Improve this Doc View Source

    Constructors


    DefaultThicknessValueAttribute(Single, Single, Single, Single)

    public DefaultThicknessValueAttribute(float left, float top, float right, float bottom)
    Parameters
    Type Name Description
    System.Single left
    System.Single top
    System.Single right
    System.Single bottom

    DefaultThicknessValueAttribute(Single, Single, Single, Single, Single, Single)

    Initializes a new instance of the Thickness structure that has specific lengths applied to each side of the cuboid.

    public DefaultThicknessValueAttribute(float left, float top, float back, float right, float bottom, float front)
    Parameters
    Type Name Description
    System.Single left

    The thickness for the left side of the cuboid.

    System.Single top

    The thickness for the upper side of the cuboid.

    System.Single back

    The thickness for the Back side of the cuboid.

    System.Single right

    The thickness for the right side of the cuboid

    System.Single bottom

    The thickness for the lower side of the cuboid.

    System.Single front

    The thickness for the front side of the cuboid.

    | Improve this Doc View Source

    Fields


    Bottom

    The bottom side of the bounding rectangle or cuboid.

    public float Bottom
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Properties


    Back

    The Back side of the bounding cuboid.

    public float Back { get; }
    Property Value
    Type Description
    System.Single

    Front

    The front side of the bounding cuboid.

    public float Front { get; }
    Property Value
    Type Description
    System.Single

    Left

    The left side of the bounding rectangle or cuboid.

    public float Left { get; }
    Property Value
    Type Description
    System.Single

    Right

    The right side of the bounding rectangle or cuboid.

    public float Right { get; }
    Property Value
    Type Description
    System.Single

    Top

    The upper side of the bounding rectangle or cuboid.

    public float Top { get; }
    Property Value
    Type Description
    System.Single

    Value

    public override object Value { get; }
    Property Value
    Type Description
    System.Object
    Overrides
    System.ComponentModel.DefaultValueAttribute.Value

    Inherited Members

    System.ComponentModel.DefaultValueAttribute.Equals(System.Object)
    System.ComponentModel.DefaultValueAttribute.GetHashCode()
    System.ComponentModel.DefaultValueAttribute.SetValue(System.Object)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.IsDefaultAttribute()
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.Match(System.Object)
    System.Attribute.TypeId

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation