Skip to content

Commit

Permalink
Preview8
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkatz6 committed May 16, 2023
1 parent e1a1d91 commit de95058
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/Avalonia.Labs.Controls/Avalonia.Labs.Controls.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Avalonia" Version="11.0.0-preview7" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview7" />
<PackageReference Include="Avalonia" Version="11.0.0-preview8" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview8" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Avalonia.Labs.Controls/FlipView/FlipView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ static FlipView()
ItemsPanelProperty.OverrideDefaultValue<FlipView>(DefaultPanel);
}

protected override Control CreateContainerForItemOverride() => new FlipViewItem();
protected override bool IsItemItsOwnContainerOverride(Control item) => item is FlipViewItem;
protected override Control CreateContainerForItemOverride(object? item, int index, object? recycleKey) => new FlipViewItem();
protected override bool NeedsContainerOverride(object? item, int index, out object? recycleKey) => NeedsContainer<FlipViewItem>(item, out recycleKey);

protected override void PrepareContainerForItemOverride(Control element, object? item, int index)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Avalonia.Labs.Controls/TabLayout/TabControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ public ITemplate<Panel?> HeaderPanel
internal Border? BorderPart { get; private set; }
internal ScrollViewer? ScrollViewerPart { get; private set; }

protected override Control CreateContainerForItemOverride() => new TabItem();
protected override bool IsItemItsOwnContainerOverride(Control item) => item is TabItem;
protected override Control CreateContainerForItemOverride(object? item, int index, object? recycleKey) => new TabItem();
protected override bool NeedsContainerOverride(object? item, int index, out object? recycleKey) => NeedsContainer<TabItem>(item, out recycleKey);

protected override void PrepareContainerForItemOverride(Control element, object? item, int index)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Avalonia.Labs.Controls/TabLayout/TabHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ static TabHeader()
FocusableProperty.OverrideDefaultValue(typeof(TabHeader), false);
}

protected override Control CreateContainerForItemOverride() => new TabHeaderItem();
protected override bool IsItemItsOwnContainerOverride(Control item) => item is TabHeaderItem;
protected override Control CreateContainerForItemOverride(object? item, int index, object? recycleKey) => new TabHeaderItem();
protected override bool NeedsContainerOverride(object? item, int index, out object? recycleKey) => NeedsContainer<TabHeaderItem>(item, out recycleKey);
protected override void PrepareContainerForItemOverride(Control element, object? item, int index)
{
if (element is TabHeaderItem pivotHeaderItem)
Expand Down

0 comments on commit de95058

Please sign in to comment.