te
This commit is contained in:
parent
01151e679b
commit
57b2f0400e
265 changed files with 22828 additions and 6 deletions
26
Unused/Decal.Adapter/ControlReferenceAttribute.cs
Normal file
26
Unused/Decal.Adapter/ControlReferenceAttribute.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
|
||||
namespace Decal.Adapter;
|
||||
|
||||
/// <summary>
|
||||
/// ControlReference AutoWireup
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public sealed class ControlReferenceAttribute : ViewBaseAttribute
|
||||
{
|
||||
private string myControl;
|
||||
|
||||
/// <summary>
|
||||
/// The Control Name
|
||||
/// </summary>
|
||||
public string Control => myControl;
|
||||
|
||||
/// <summary>
|
||||
/// Construct a new ControlReference
|
||||
/// </summary>
|
||||
/// <param name="control">Control to reference</param>
|
||||
public ControlReferenceAttribute(string control)
|
||||
{
|
||||
myControl = control;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue