using System; namespace Decal.Adapter; /// /// ControlReference AutoWireup /// [AttributeUsage(AttributeTargets.Field)] public sealed class ControlReferenceAttribute : ViewBaseAttribute { private string myControl; /// /// The Control Name /// public string Control => myControl; /// /// Construct a new ControlReference /// /// Control to reference public ControlReferenceAttribute(string control) { myControl = control; } }