зеркало из https://github.com/telerik/xaml-sdk.git
24 строки
400 B
C#
24 строки
400 B
C#
using System.Collections.ObjectModel;
|
|
using Telerik.Windows.Controls;
|
|
|
|
namespace ShowToolTipOnTrimmedText
|
|
{
|
|
public class MainWindowViewModel : ViewModelBase
|
|
{
|
|
private ObservableCollection<Player> players;
|
|
|
|
public ObservableCollection<Player> Players
|
|
{
|
|
get
|
|
{
|
|
if (this.players == null)
|
|
{
|
|
this.players = Player.GetPlayers();
|
|
}
|
|
|
|
return this.players;
|
|
}
|
|
}
|
|
}
|
|
}
|