未验证 提交 96537ad5 编写于 作者: M Martin Zikmund 提交者: GitHub

Merge pull request #11932 from unoplatform/dev/mazi/wrapgrid-throw

docs: Make it clearer that `VirtualizingPanelLayout` is not supported
#pragma warning disable 108 // new keyword hiding using System;
namespace Windows.UI.Xaml.Controls.Primitives
namespace Windows.UI.Xaml.Controls.Primitives;
[global::Uno.NotImplemented]
public partial class OrientedVirtualizingPanel
{ {
[global::Uno.NotImplemented] public OrientedVirtualizingPanel()
public partial class OrientedVirtualizingPanel
{ {
public OrientedVirtualizingPanel() }
{
} private protected override VirtualizingPanelLayout GetLayouterCore()
{
throw new NotSupportedException(
$"{GetType().Name} is not supported in Uno Platform yet. " +
"Use a non-virtualized panel (e.g. ItemsStackPanel) instead.");
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册