public RemoveInstancePropertyObject ( object sender ) : void | ||
sender | object | |
return | void |
public void RemoveInstancePropertyObject(object sender)
{
var item = sender as ContentItem;
if (item != null)
{
var stackSource = _collection.Source as List<ContentItem>;
if (stackSource != null)
{
stackSource.Remove(item);
favouriteStackContent.ItemsSource = _collection.View;
}
}
}