C# Class Octgn.Scripting.Controls.SelectMultiCardsDlg

Exibir arquivo Open project: octgn/OCTGN

Public Properties

Property Type Description
AllowSelectProperty System.Windows.DependencyProperty
SliderHeightProperty System.Windows.DependencyProperty
SliderWidthProperty System.Windows.DependencyProperty
allCards List
allCards2 List

Public Methods

Method Description
IsInFirstHalf ( FrameworkElement container, Point clickedPoint ) : bool
SelectMultiCardsDlg ( List cardList, List cardList2, string prompt, string title, int minValue, int maxValue, string boxLabel, string boxLabel2 ) : System

Private Methods

Method Description
CardSelected ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
CreateInsertionAdorner ( ) : void
DecideDropTarget ( System.Windows.DragEventArgs e ) : void
DragDropDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
DragDropDrop ( object sender, System.Windows.DragEventArgs e ) : void
DragDropEnter ( object sender, System.Windows.DragEventArgs e ) : void
DragDropLeave ( object sender, System.Windows.DragEventArgs e ) : void
DragDropMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
DragDropOver ( object sender, System.Windows.DragEventArgs e ) : void
DragDropUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
FilterChanged ( object sender, EventArgs e ) : void
IsDropDataTypeAllowed ( object draggedItem ) : bool
OnWindowClosed ( object sender, EventArgs e ) : void
PreviewFilterKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
RemoveAdorner ( ) : void
RemoveInsertionAdorner ( ) : void
SelectClicked ( object sender, RoutedEventArgs e ) : void
SetPicture ( object sender, RoutedEventArgs e ) : void
ShowAdorner ( System.Windows.DragEventArgs e ) : void
SliderChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
TopWindow_DragEnter ( object sender, System.Windows.DragEventArgs e ) : void
TopWindow_DragLeave ( object sender, System.Windows.DragEventArgs e ) : void
TopWindow_DragOver ( object sender, System.Windows.DragEventArgs e ) : void
UpdateInsertionAdornerPosition ( ) : void
getCards ( bool secondBox ) : List
getFilterText ( bool secondBox ) : string
getList ( bool secondBox ) : System.Windows.Controls.ListBox
setFilterText ( string text, bool secondBox ) : void

Method Details

IsInFirstHalf() public static method

public static IsInFirstHalf ( FrameworkElement container, Point clickedPoint ) : bool
container System.Windows.FrameworkElement
clickedPoint Point
return bool

SelectMultiCardsDlg() public method

public SelectMultiCardsDlg ( List cardList, List cardList2, string prompt, string title, int minValue, int maxValue, string boxLabel, string boxLabel2 ) : System
cardList List
cardList2 List
prompt string
title string
minValue int
maxValue int
boxLabel string
boxLabel2 string
return System

Property Details

AllowSelectProperty public_oe static_oe property

public static DependencyProperty,System.Windows AllowSelectProperty
return System.Windows.DependencyProperty

SliderHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows SliderHeightProperty
return System.Windows.DependencyProperty

SliderWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows SliderWidthProperty
return System.Windows.DependencyProperty

allCards public_oe property

public List allCards
return List

allCards2 public_oe property

public List allCards2
return List