Replies: 1 comment
-
Hi 🖐, Here my code : MainWindow.xaml.cs public partial class MainWindow : Window
{
public List<string> MyList { get; set; }
public MainWindow()
{
InitializeComponent();
DataContext = this;
MyList = new List<string>() {"Test","Test", "Test", "Test", "Test", "Test", "Test", };
}
} MainWindow.xaml <ItemsControl ItemsSource="{Binding MyList}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<hc:WaterfallPanel Groups="8"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
异常内容:
我是在ItemsControl里面使用WaterfallPanel的
这个问题我在网上搜过几遍,没有找到解决办法,有大佬可以解决吗?
Beta Was this translation helpful? Give feedback.
All reactions