Table of Contents

Class FloatRangeAttribute

Namespace
OmegaEngine.Foundation.Design
Assembly
OmegaEngine.Foundation.dll

Stores the minimum and maximum values allowed for a float field or property. Controls the behaviour of AngleEditor.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class FloatRangeAttribute : Attribute, _Attribute
Inheritance
object
FloatRangeAttribute
Implements
Inherited Members

Constructors

FloatRangeAttribute(double, double)

Creates a new float range attribute.

public FloatRangeAttribute(double minimum, double maximum)

Parameters

minimum double

The minimum value the field or property may have.

maximum double

The maximum value the field or property may have.

Properties

Maximum

The maximum value the field or property may have.

public double Maximum { get; }

Property Value

double

Minimum

The minimum value the field or property may have.

public double Minimum { get; }

Property Value

double