C# Class nature_net.user_controls.custom_listbox_v2

Interaction logic for custom_listbox_v2.xaml
Inheritance: System.Windows.Controls.UserControl
Datei anzeigen Open project: naturenet/nature-net-ppi

Public Properties

Property Type Description
_list System.Windows.Controls.ListBox
collection_list bool
comment_list bool
content_name string
drag_prefix string
is_horizontal bool
item_selected ItemSelected
populator list_populator
selectable bool

Public Methods

Method Description
HitTestResult_Tap_other ( System.Windows.Media.HitTestResult result ) : HitTestResultBehavior
HitTestResult_Tap_v1 ( System.Windows.Media.HitTestResult result ) : HitTestResultBehavior
HitTestResult_Tap_v2 ( System.Windows.Media.HitTestResult result ) : HitTestResultBehavior
_list_PreviewMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
_list_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
custom_listbox_v2 ( ) : System
initialize ( bool horizontal, string prefix, ItemSelected i ) : void

Protected Methods

Method Description
OnManipulationBoundaryFeedback ( System.Windows.Input.ManipulationBoundaryFeedbackEventArgs e ) : void

Private Methods

Method Description
HitTestOverItem ( System.Windows.Input.TouchEventArgs e, bool drag, bool v2, bool v1, bool other ) : UIElement
_list_PreviewTouchDown ( object sender, System.Windows.Input.TouchEventArgs e ) : void
_list_PreviewTouchMove ( object sender, System.Windows.Input.TouchEventArgs e ) : void
_list_PreviewTouchUp ( object sender, System.Windows.Input.TouchEventArgs e ) : void
_list_select_item ( object item ) : void
_list_select_item ( object item, System.Windows.Input.TouchEventArgs e ) : void
attend_on_item ( bool select, Control i ) : void
avatar_drag ( System.Windows.Controls.ListBoxItem element, System.Windows.Input.TouchDevice touch_device ) : void
avatar_drag ( object sender, System.Windows.Input.TouchEventArgs e ) : void
start_drag ( System.Windows.Controls.ListBoxItem item, object data, System.Windows.Input.TouchDevice touch_device, ImageSource i ) : bool
start_drag ( collection_listbox_item img, System.Windows.Input.TouchDevice input ) : bool
start_drag ( item_generic_v2 item, System.Windows.Input.TouchEventArgs e ) : bool
test_thumb_feedback ( System.Windows.Input.TouchEventArgs e ) : bool

Method Details

HitTestResult_Tap_other() public method

public HitTestResult_Tap_other ( System.Windows.Media.HitTestResult result ) : HitTestResultBehavior
result System.Windows.Media.HitTestResult
return HitTestResultBehavior

HitTestResult_Tap_v1() public method

public HitTestResult_Tap_v1 ( System.Windows.Media.HitTestResult result ) : HitTestResultBehavior
result System.Windows.Media.HitTestResult
return HitTestResultBehavior

HitTestResult_Tap_v2() public method

public HitTestResult_Tap_v2 ( System.Windows.Media.HitTestResult result ) : HitTestResultBehavior
result System.Windows.Media.HitTestResult
return HitTestResultBehavior

OnManipulationBoundaryFeedback() protected method

protected OnManipulationBoundaryFeedback ( System.Windows.Input.ManipulationBoundaryFeedbackEventArgs e ) : void
e System.Windows.Input.ManipulationBoundaryFeedbackEventArgs
return void

_list_PreviewMouseLeftButtonDown() public method

public _list_PreviewMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
return void

_list_SelectionChanged() public method

public _list_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
sender object
e System.Windows.Controls.SelectionChangedEventArgs
return void

custom_listbox_v2() public method

public custom_listbox_v2 ( ) : System
return System

initialize() public method

public initialize ( bool horizontal, string prefix, ItemSelected i ) : void
horizontal bool
prefix string
i ItemSelected
return void

Property Details

_list public_oe property

public ListBox,System.Windows.Controls _list
return System.Windows.Controls.ListBox

collection_list public_oe property

public bool collection_list
return bool

comment_list public_oe property

public bool comment_list
return bool

content_name public_oe property

public string content_name
return string

drag_prefix public_oe property

public string drag_prefix
return string

is_horizontal public_oe property

public bool is_horizontal
return bool

item_selected public_oe property

public ItemSelected item_selected
return ItemSelected

populator public_oe property

public list_populator,nature_net.user_controls populator
return list_populator

selectable public_oe property

public bool selectable
return bool