C# Class FSClient.GenericEditor

Interaction logic for GenericEditor.xaml
Inheritance: System.Windows.Window
Mostrar archivo Open project: mitchcapper/FSClient Class Usage Examples

Public Methods

Method Description
GenericEditor ( ) : System
Init ( String title, IEnumerable values ) : void

Private Methods

Method Description
CreateElementValuer ( FieldValue value ) : UIElement
CreateSortableContextMenu ( System.Windows.Controls.ListBox box ) : void
GetValueFromUI ( FieldValue value, UIElement elem ) : String
IntValidator ( String str ) : String
SortableContextMenuMove ( System.Windows.Controls.ListBox box, int move_by, object sender, RoutedEventArgs e ) : void
SortableMenuOpening ( System.Windows.Controls.ListBox box, System.Windows.Controls.ContextMenu menu, object sender, System.Windows.Controls.ContextMenuEventArgs e ) : void
box_MouseDown ( object sender, System e ) : void
btnCancel_Click ( object sender, RoutedEventArgs e ) : void
btnSave_Click ( object sender, RoutedEventArgs e ) : void

Method Details

GenericEditor() public method

public GenericEditor ( ) : System
return System

Init() public method

public Init ( String title, IEnumerable values ) : void
title String
values IEnumerable
return void