Class SchedulerDialogViewModel
Inherited Members
Namespace: Telerik.UI.Xaml.Controls
Assembly: Telerik.WinUI.Controls.dll
Syntax
public abstract class SchedulerDialogViewModel : ViewModelBase, INotifyPropertyChanged
Constructors
SchedulerDialogViewModel(ISchedulerDialogHost, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>)
Declaration
public SchedulerDialogViewModel(ISchedulerDialogHost dialogHost, Func<SchedulerDialogViewModel, Nullable<bool>, bool> confirmDialogClose)
Parameters
|
ISchedulerDialogHost
dialogHost
|
|
System.Func<SchedulerDialogViewModel, System.Nullable<System.Boolean>, System.Boolean>
confirmDialogClose
|
Properties
AdditionalData
Declaration
public object AdditionalData { get; set; }
Property Value
|
System.Object
|
DialogHost
Methods
Cancel()
Declaration
public void Cancel()
CanConfirm()
Declaration
protected virtual bool CanConfirm()
Returns
|
System.Boolean
|
Confirm()
Declaration
public void Confirm()
DoWithViewModel<T>(Object, Action<T>)
Declaration
protected static void DoWithViewModel<T>(object sender, Action<T> action)
where T : SchedulerDialogViewModel
Parameters
|
System.Object
sender
|
|
System.Action<T>
action
|
Type Parameters
|
T
|
OnCancelled(EventArgs)
Declaration
protected virtual void OnCancelled(EventArgs eventArgs)
Parameters
|
System.EventArgs
eventArgs
|
OnConfirmed(RadRoutedEventArgs)
Declaration
protected virtual void OnConfirmed(RadRoutedEventArgs eventArgs)
Parameters
|
RadRoutedEventArgs
eventArgs
|
RegisterCommand(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)
Declaration
protected static void RegisterCommand(ICommand command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute)
Parameters
|
System.Windows.Input.ICommand
command
|
|
ExecutedRoutedEventHandler
executed
|
|
CanExecuteRoutedEventHandler
canExecute
|
Events
Cancelled
Declaration
public event EventHandler Cancelled
Event Type
|
System.EventHandler
|
Confirmed
Declaration
public event EventHandler<RadRoutedEventArgs> Confirmed
Event Type
|
System.EventHandler<RadRoutedEventArgs>
|