-
Notifications
You must be signed in to change notification settings - Fork 743
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
709ce20
commit 493ede4
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
|
||
namespace Microsoft.UI.Xaml.Controls; | ||
|
||
/// <summary> | ||
/// Represents an attribute that indicates which property of a type is the XAML input property. | ||
/// A XAML processor uses this information when processing XAML child elements of XAML representations of the attributed type. | ||
/// </summary> | ||
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] | ||
public partial class InputPropertyAttribute : Attribute | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the InputPropertyAttribute class. | ||
/// </summary> | ||
public InputPropertyAttribute() : base() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// The property name. | ||
/// </summary> | ||
public string Name; | ||
} |