|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ICatelCommand.cs" company="Catel development team">
// Copyright (c) 2008 - 2011 Catel development team. All rights reserved.
// </copyright>
// <summary>
// Adds the <see cref="ICatelCommand.CanExecuteChanged"/> event to the <see cref="System.Windows.Input.ICommand"/>
// interface implementation.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
using System;
namespace Catel.MVVM
{
/// <summary>
/// Adds the <see cref="ICatelCommand.CanExecuteChanged"/> event to the <see cref="System.Windows.Input.ICommand"/> interface implementation.
/// </summary>
public interface ICatelCommand
{
/// <summary>
/// Occurs when changes occur that affect whether or not the command should execute.
/// </summary>
event EventHandler CanExecuteChanged;
/// <summary>
/// Raises the <see cref="CanExecuteChanged"/> event.
/// </summary>
void RaiseCanExecuteChanged();
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.