protected SelectStyleCore ( object item, |
||
item | object | |
container | ||
return |
protected override Style SelectStyleCore(object item, DependencyObject container)
{
var message = (InstantMessageViewModel) item;
return message.IsSender ? OwnMessageStyle : PeerMessageStyle;
}
}