C# Class ListsSample.ModifyItemChildWindow

This class displays a window which allows the user to modify a new or existing list item
Inheritance: System.Windows.Controls.ChildWindow
Show file Open project: rafek/SyncFx Class Usage Examples

Public Methods

Method Description
ModifyItemChildWindow ( DefaultScope item ) : System

Constructor for modifying an existing item

ModifyItemChildWindow ( ModelList list ) : System

Constructor which takes the parent list for a new item

Private Methods

Method Description
AddTagButtonClick ( object sender, RoutedEventArgs e ) : void

Button click handler for adding a tag to an item

CancelButton_Click ( object sender, RoutedEventArgs e ) : void

Closes the dialog box with a failed result

ClearEndDateButtonClick ( object sender, RoutedEventArgs e ) : void

Sets the end date to null

ClearPriorityButtonClick ( object sender, RoutedEventArgs e ) : void

Sets the priority to null

ClearStartDateButtonClick ( object sender, RoutedEventArgs e ) : void

Sets the starts date to null

ClearStatusButtonClick ( object sender, RoutedEventArgs e ) : void

Sets the status to null

ItemModifyChildWindow_Loaded ( object sender, RoutedEventArgs e ) : void

Event handler for when the window is loaded. DataBinds the window

OKButton_Click ( object sender, RoutedEventArgs e ) : void

Closes the dialog box with a successful result

RemoveTagButtonClick ( object sender, RoutedEventArgs e ) : void

Button click to handler for removing a tag from an item

Method Details

ModifyItemChildWindow() public method

Constructor for modifying an existing item
public ModifyItemChildWindow ( DefaultScope item ) : System
item DefaultScope
return System

ModifyItemChildWindow() public method

Constructor which takes the parent list for a new item
public ModifyItemChildWindow ( ModelList list ) : System
list ListsSample.Model.ModelList Parent list for an item
return System