Browse Source
So that non-`IStyledElement`s can take part in binding. Apply the interface to `Application`.pull/3288/head
5 changed files with 39 additions and 10 deletions
@ -0,0 +1,13 @@ |
|||
namespace Avalonia |
|||
{ |
|||
/// <summary>
|
|||
/// Defines an element with a data context that can be used for binding.
|
|||
/// </summary>
|
|||
public interface IDataContextProvider : IAvaloniaObject |
|||
{ |
|||
/// <summary>
|
|||
/// Gets or sets the element's data context.
|
|||
/// </summary>
|
|||
object DataContext { get; set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue