示例#1
0
        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);
 }
示例#4
0
 public void Add(HelpDataItem dataItem)
 {
     _list.Add(dataItem);
 }
示例#5
0
 public void Remove(HelpDataItem dataItem)
 {
     _list.Remove(dataItem);
 }