Class RenderProperty
Render property attribute.
Inheritance
RenderProperty
Namespace: Evergine.Common.Attributes
Assembly: Evergine.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class RenderProperty : Attribute
Constructors
RenderProperty()
Initializes a new instance of the RenderProperty class.
Declaration
public RenderProperty()
RenderProperty(Type)
Initializes a new instance of the RenderProperty class.
Declaration
public RenderProperty(Type converterType)
Parameters
Type | Name | Description |
---|---|---|
Type | converterType | The converter type. |
Fields
AttachToTag
Specifies the Tag value of another property within the same class. The current property will be rendered if the conditions based on this Tag and AttachToValue are met.
Declaration
public int AttachToTag
Field Value
Type | Description |
---|---|
int |
AttachToValue
Specifies the value that the property identified by AttachToTag must have for this property to be rendered in the editor.
Declaration
public object AttachToValue
Field Value
Type | Description |
---|---|
object |
ConverterType
Converter instance.
Declaration
public Type ConverterType
Field Value
Type | Description |
---|---|
Type |
CustomPropertyName
Custom property's name.
Declaration
public string CustomPropertyName
Field Value
Type | Description |
---|---|
string |
DefaultValue
The default value is optional.
Declaration
public object DefaultValue
Field Value
Type | Description |
---|---|
object |
RenderPosition
The rendering position.
Declaration
public RenderPosition RenderPosition
Field Value
Type | Description |
---|---|
RenderPosition |
ShowConditionFunction
The property is shown if the condition is true.
Declaration
public string ShowConditionFunction
Field Value
Type | Description |
---|---|
string |
Tag
Identifier used to link this property to another property within the same class.
Declaration
public int Tag
Field Value
Type | Description |
---|---|
int |
Tooltip
Information about the property when the pointer is over it.
Declaration
public string Tooltip
Field Value
Type | Description |
---|---|
string |