コード例 #1
0
        /// <summary>
        /// Default handler for deleting the view delegating the action to the view model.
        /// </summary>
        protected virtual void Delete(object sender, EventArgs e)
        {
            DetailsViewModel dvm = Model as DetailsViewModel;

            if (dvm != null)
            {
                dvm.Delete(sender, e);
            }
        }