Browse Source

LayoutState should call LayoutStateCore.

See upstream implementation at c6c8d08423/dev/Repeater/LayoutContext.cpp (L13-L18)
pull/5128/head
Steven Kirk 5 years ago
parent
commit
3a247bde2a
  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