2
我的視圖模型具有PointCollection屬性是這樣的:如何將點集合繪製爲單獨的圓圈?
public class ViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
private PointCollection points;
public PointCollection Points
{
get { return points; }
set
{
points = value;
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Points)));
}
}
}
這通常顯示爲一條折線:
<Polyline Points="{Binding Points}" Stroke="Black" StrokeThickness="2"/>
我將如何有效地顯示出它作爲獨立的圓的集合?
你回答在一分鐘內你自己的問題?或者在我的電腦上出現一些故障? – FCin
@FCin看到這裏:http://stackoverflow.com/help/self-answer – Clemens
好的,謝謝,我不知道:) – FCin