7 changed files with 21 additions and 18 deletions
@ -0,0 +1,15 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace Avalonia.Metadata; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Defines the property that contains type that should be used as a type information for compiled bindings.
|
||||
|
/// </summary>
|
||||
|
/// <remarks>
|
||||
|
/// Used on DataTemplate.DataType property so it can be inherited in compiled bindings inside of the template.
|
||||
|
/// </remarks>
|
||||
|
[AttributeUsage(AttributeTargets.Property)] |
||||
|
public class DataTypeAttribute : Attribute |
||||
|
{ |
||||
|
|
||||
|
} |
||||
@ -1,12 +0,0 @@ |
|||||
using System; |
|
||||
|
|
||||
namespace Avalonia.Metadata; |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Defines the property that contains type of the data passed to the <see cref="IDataTemplate"/> implementation.
|
|
||||
/// </summary>
|
|
||||
[AttributeUsage(AttributeTargets.Property)] |
|
||||
public class TemplateDataTypeAttribute : Attribute |
|
||||
{ |
|
||||
|
|
||||
} |
|
||||
Loading…
Reference in new issue