diff --git a/src/Perspex.SceneGraph/Visual.cs b/src/Perspex.SceneGraph/Visual.cs index 0dc6c67589..fb4a3f28a9 100644 --- a/src/Perspex.SceneGraph/Visual.cs +++ b/src/Perspex.SceneGraph/Visual.cs @@ -47,6 +47,12 @@ namespace Perspex public static readonly StyledProperty IsVisibleProperty = PerspexProperty.Register(nameof(IsVisible), true); + /// + /// Defines the property. + /// + public static readonly DirectProperty NameProperty = + PerspexProperty.RegisterDirect(nameof(Name), o => o.Name, (o, v) => o.Name = v); + /// /// Defines the property. ///