Browse Source

Merge pull request #5128 from AvaloniaUI/fixes/layoutcontext-layoutstate

Fix LayoutContext.LayoutState
pull/5129/head
Jumar Macato 5 years ago
committed by GitHub
parent
commit
6b68d18663
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/Avalonia.Layout/LayoutContext.cs

6
src/Avalonia.Layout/LayoutContext.cs

@ -14,7 +14,11 @@ namespace Avalonia.Layout
/// <summary>
/// Gets or sets an object that represents the state of a layout.
/// </summary>
public object LayoutState { get; set; }
public object LayoutState
{
get => LayoutStateCore;
set => LayoutStateCore = value;
}
/// <summary>
/// Implements the behavior of <see cref="LayoutState"/> in a derived or custom LayoutContext.

Loading…
Cancel
Save