C# Class Charmed.Helpers.ListViewHelper

Helper class for routing a ListView's ItemClicks to a method on the view model.
Datei anzeigen Open project: brentedwards/Charmed

Public Properties

Property Type Description
ItemClickMethodNameProperty Windows.UI.Xaml.DependencyProperty
MethodContextProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetItemClickMethodName ( DependencyObject attached ) : string
GetMethodContext ( ListViewBase element ) : object
ListViewHelper ( ListViewBase listView ) : System.Reflection
SetItemClickMethodName ( DependencyObject attached, string itemClickMethodName ) : void
SetMethodContext ( ListViewBase element, object value ) : void

Method Details

GetItemClickMethodName() public static method

public static GetItemClickMethodName ( DependencyObject attached ) : string
attached Windows.UI.Xaml.DependencyObject
return string

GetMethodContext() public static method

public static GetMethodContext ( ListViewBase element ) : object
element Windows.UI.Xaml.Controls.ListViewBase
return object

ListViewHelper() public method

public ListViewHelper ( ListViewBase listView ) : System.Reflection
listView Windows.UI.Xaml.Controls.ListViewBase
return System.Reflection

SetItemClickMethodName() public static method

public static SetItemClickMethodName ( DependencyObject attached, string itemClickMethodName ) : void
attached Windows.UI.Xaml.DependencyObject
itemClickMethodName string
return void

SetMethodContext() public static method

public static SetMethodContext ( ListViewBase element, object value ) : void
element Windows.UI.Xaml.Controls.ListViewBase
value object
return void

Property Details

ItemClickMethodNameProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml ItemClickMethodNameProperty
return Windows.UI.Xaml.DependencyProperty

MethodContextProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MethodContextProperty
return Windows.UI.Xaml.DependencyProperty