Interaction logic for AddModifyChoiceDialog.xaml
Definition
Namespace:Telerik.Windows.Controls.RichTextBoxUI.Dialogs
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
public class AddModifyChoiceDialog : RadWindow, INotifyLayoutChange, IDragAware, IComponentConnector
Inheritance: objectWindowBaseRadWindowAddModifyChoiceDialog
Implements:
Inherited Members
Constructors
C#
public AddModifyChoiceDialog()
Properties
Gets or sets the Item property.
C#
public ListItemViewModel Item { get; set; }
Methods
InitializeComponent
C#
public void InitializeComponent()
Called before the event occurs.
C#
protected override void OnKeyDown(KeyEventArgs e)
The data for the event.
Overrides:
Shows the dialog.
C#
public void Show(ListItemViewModel item, Action<ListItemViewModel> confirm, Action<ListItemViewModel> cancel)
The list item to shown inside the dialog.
confirmAction<ListItemViewModel>Callback for the confirm action.
cancelAction<ListItemViewModel>Callback for the cancle action.