Skip to content

Commit

Permalink
Make ItemContainerInfo.Index setter public.
Browse files Browse the repository at this point in the history
It's needed to implement custom `ItemContainerGenerator`s.
  • Loading branch information
grokys committed Nov 27, 2020
1 parent 2b47ba0 commit aa8e065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Avalonia.Controls/Generators/ItemContainerInfo.cs
Expand Up @@ -37,6 +37,6 @@ public ItemContainerInfo(IControl container, object item, int index)
/// <summary>
/// Gets the index of the item in the <see cref="ItemsControl.Items"/> collection.
/// </summary>
public int Index { get; internal set; }
public int Index { get; set; }
}
}
}

0 comments on commit aa8e065

Please sign in to comment.