RuntimeNamePropertyAttribute

AttributeReferences
Attribute to specify the name property of a control for serialization
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.

Constructors

RuntimeNamePropertyAttribute

#
public RuntimeNamePropertyAttribute(string name)
Initializes a new instance of the RuntimeNamePropertyAttribute class.

Properties

Name

#
public string Name { get; }
Gets the name of the property to use as the runtime name