コード例 #1
0
 /// <summary>
 /// Determines if the element can be moved up.
 /// </summary>
 /// <returns>
 /// Returns <see langword="true"/> if this element is not the first one in the collection.
 /// Otherwise, returns <see langword="false"/>.
 /// </returns>
 /// <param name="parameter">Not used</param>
 protected override bool InnerCanExecute(object parameter)
 {
     return(!collection.IsFirst(element));
 }