Beispiel #1
0
        /// <internalonly />
        protected override void OnDataListChanged()
        {
            DataList dataList = DataList;

            if (dataList != null)
            {
                ((INotifyPropertyChanged)dataList).PropertyChanged += OnDataListPropertyChanged;
            }

            Update(/* useTransition */ true);

            _nextCommand.UpdateStatus(dataList.CanMoveNext);
            _previousCommand.UpdateStatus(dataList.CanMovePrevious);
        }