private void Fill() { HelpDataItem dataItem = _collection.DataItem(); Index = _collection.Current() + @"/" + _collection.Count(); Title = dataItem.Title; Illustration = dataItem.Illustration; Details = dataItem.Details; // Only the first page has the About button. if (_collection.Current() == 1) { HasAbout = Visibility.Visible; } else { HasAbout = Visibility.Collapsed; } }
public void Remove(HelpDataItem dataItem) { _list.Remove(dataItem); }
public void Add(HelpDataItem dataItem) { _list.Add(dataItem); }