Click or drag to resize

RuntimeNamePropertyAttribute Class

Attribute to specify the name property of a control for serialization
Inheritance Hierarchy
SystemObject
  SystemAttribute
    EtoRuntimeNamePropertyAttribute

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class RuntimeNamePropertyAttribute : Attribute

The RuntimeNamePropertyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodRuntimeNamePropertyAttribute
Initializes a new instance of the RuntimeNamePropertyAttribute class.
Top
Properties
  NameDescription
Public propertyName
Gets the name of the property to use as the runtime name
Top
Remarks
Used by Eto.Serialization.Xaml, for example, to specify which property is used for the name property. E.g. when specifying the ID, it also specifies which name of the backing field.
See Also

Reference