C# Class SilverlightFX.UserInterface.ListView

Inheritance: DataboundControl
Mostra file Open project: nikhilk/silverlightfx

Public Properties

Property Type Description
ItemAddedEffectProperty System.Windows.DependencyProperty
ItemContainerStyleProperty System.Windows.DependencyProperty
ItemFilterProperty System.Windows.DependencyProperty
ItemRemovedEffectProperty System.Windows.DependencyProperty
ItemSortProperty System.Windows.DependencyProperty
ItemTemplateProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetItem ( object dataItem ) : ListViewItem

Gets the item associated with the specified data item.

ListView ( ) : System

Initializes an instance of a ListView.

OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnDataListChanged ( ) : void
OnDataListChanging ( ) : void
OnLoaded ( RoutedEventArgs e ) : void

Private Methods

Method Description
AddItem ( object dataItem, int index ) : void
CreateItem ( object dataItem, int index, System.Windows.DataTemplate itemTemplate, System.Windows.Style itemContainerStyle ) : ListViewItem
CreateItems ( ) : void
OnDataViewCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnItemContainerStylePropertyChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemFilterChanged ( IPredicate newFilter ) : void
OnItemFilterPropertyChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemRemovedAnimationStopped ( object sender, EventArgs e ) : void
OnItemSortChanged ( IComparer newSort ) : void
OnItemSortPropertyChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemTemplatePropertyChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RemoveItem ( object dataItem ) : void
ResetItems ( bool recreateItems ) : void
UpdateItem ( object oldDataItem, object newDataItem ) : void

Method Details

GetItem() public method

Gets the item associated with the specified data item.
public GetItem ( object dataItem ) : ListViewItem
dataItem object The data item to lookup.
return ListViewItem

ListView() public method

Initializes an instance of a ListView.
public ListView ( ) : System
return System

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnDataListChanged() protected method

protected OnDataListChanged ( ) : void
return void

OnDataListChanging() protected method

protected OnDataListChanging ( ) : void
return void

OnLoaded() protected method

protected OnLoaded ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
return void

Property Details

ItemAddedEffectProperty public_oe static_oe property

Represents the ItemAddedEffect property on a ListView control.
public static DependencyProperty,System.Windows ItemAddedEffectProperty
return System.Windows.DependencyProperty

ItemContainerStyleProperty public_oe static_oe property

Represents the ItemContainerStyle property on a ListView control.
public static DependencyProperty,System.Windows ItemContainerStyleProperty
return System.Windows.DependencyProperty

ItemFilterProperty public_oe static_oe property

Represents the ItemFilter property on a ListView control.
public static DependencyProperty,System.Windows ItemFilterProperty
return System.Windows.DependencyProperty

ItemRemovedEffectProperty public_oe static_oe property

Represents the ItemRemovedEffect property on a ListView control.
public static DependencyProperty,System.Windows ItemRemovedEffectProperty
return System.Windows.DependencyProperty

ItemSortProperty public_oe static_oe property

Represents the ItemSort property on a ListView control.
public static DependencyProperty,System.Windows ItemSortProperty
return System.Windows.DependencyProperty

ItemTemplateProperty public_oe static_oe property

Represents the ItemTemplate property on a ListView control.
public static DependencyProperty,System.Windows ItemTemplateProperty
return System.Windows.DependencyProperty