RuntimeNamePropertyAttribute Class |
Attribute to specify the name property of a control for serialization
Inheritance Hierarchy
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax [AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class RuntimeNamePropertyAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Class)>
Public NotInheritable Class RuntimeNamePropertyAttribute
Inherits Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class)>]
type RuntimeNamePropertyAttribute =
class
inherit Attribute
end
The RuntimeNamePropertyAttribute type exposes the following members.
Constructors Properties
| Name | Description |
---|
| Name |
Gets the name of the property to use as the runtime name
|
TopRemarks
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