C# Class Framework.Helpers.LongListSelectorHelper

Helper class for routing a LongListSelector's SelectionChangeds to a method on the view model.
ファイルを表示 Open project: xepher/uwp-wxbus

Public Properties

Property Type Description
MethodContextProperty System.Windows.DependencyProperty
SelectionChangedMethodNameProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetMethodContext ( LongListSelector element ) : object
GetSelectionChangedMethodName ( LongListSelector element ) : string
LongListSelectorHelper ( LongListSelector longListSelector ) : System
SetMethodContext ( LongListSelector element, object value ) : void
SetSelectionChangedMethodName ( LongListSelector element, string itemClickMethodName ) : void

Method Details

GetMethodContext() public static method

public static GetMethodContext ( LongListSelector element ) : object
element Microsoft.Phone.Controls.LongListSelector
return object

GetSelectionChangedMethodName() public static method

public static GetSelectionChangedMethodName ( LongListSelector element ) : string
element Microsoft.Phone.Controls.LongListSelector
return string

LongListSelectorHelper() public method

public LongListSelectorHelper ( LongListSelector longListSelector ) : System
longListSelector Microsoft.Phone.Controls.LongListSelector
return System

SetMethodContext() public static method

public static SetMethodContext ( LongListSelector element, object value ) : void
element Microsoft.Phone.Controls.LongListSelector
value object
return void

SetSelectionChangedMethodName() public static method

public static SetSelectionChangedMethodName ( LongListSelector element, string itemClickMethodName ) : void
element Microsoft.Phone.Controls.LongListSelector
itemClickMethodName string
return void

Property Details

MethodContextProperty public_oe static_oe property

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

SelectionChangedMethodNameProperty public_oe static_oe property

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