C# Class System.Windows.Controls.ItemsControl

Inheritance: Control, System.Windows.Markup.IAddChild, MS.Internal.Controls.IGeneratorHost
Exibir arquivo Open project: shana/moon Class Usage Examples

Public Properties

Property Type Description
DisplayMemberPathProperty DependencyProperty
ItemTemplateProperty DependencyProperty
ItemsPanelProperty DependencyProperty
ItemsSourceProperty DependencyProperty

Private Properties

Property Type Description
AddItemsToPresenter void
ClearContainerForItem void
DisplayMemberPathChanged void
GetContainerForItem DependencyObject
GetDefaultTemplate System.Windows.Controls.UIElement
IListenCollectionChanged void
InvokeItemsChanged void
IsItemItsOwnContainer bool
ItemTemplateChanged void
ItemsSourceChanged void
OnDisplayMemberPathChanged void
OnItemContainerGeneratorChanged void
OnItemTemplateChanged void
OnItemsSourceChanged void
PrepareContainerForItem void
RemoveItemsFromPresenter void
SetItemsPresenter void
SetLogicalParent void
UpdateContentTemplateOnContainer void

Public Methods

Method Description
GetItemsOwner ( DependencyObject element ) : ItemsControl
ItemsControl ( ) : Mono
ItemsControlFromItemContainer ( DependencyObject element ) : ItemsControl

Protected Methods

Method Description
ClearContainerForItemOverride ( DependencyObject element, object item ) : void
GetContainerForItemOverride ( ) : DependencyObject
IsItemItsOwnContainerOverride ( object item ) : bool
OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Private Methods

Method Description
AddItemsToPresenter ( GeneratorPosition position, int count ) : void
ClearContainerForItem ( DependencyObject element, object item ) : void
DisplayMemberPathChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void
GetContainerForItem ( ) : DependencyObject
GetDefaultTemplate ( ) : System.Windows.Controls.UIElement
IListenCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
InvokeItemsChanged ( object o, NotifyCollectionChangedEventArgs e ) : void
IsItemItsOwnContainer ( object item ) : bool
ItemTemplateChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
ItemsSourceChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void
OnDisplayMemberPathChanged ( string oldPath, string newPath ) : void
OnItemContainerGeneratorChanged ( object sender, System.Windows.Controls.ItemsChangedEventArgs e ) : void
OnItemTemplateChanged ( DataTemplate oldValue, DataTemplate newValue ) : void
OnItemsSourceChanged ( IEnumerable oldSource, IEnumerable newSource ) : void
PrepareContainerForItem ( DependencyObject element, object item ) : void
RemoveItemsFromPresenter ( GeneratorPosition position, int count ) : void
SetItemsPresenter ( ItemsPresenter presenter ) : void
SetLogicalParent ( IntPtr parent, IList items ) : void
UpdateContentTemplateOnContainer ( DependencyObject element, object item ) : void

Method Details

ClearContainerForItemOverride() protected method

protected ClearContainerForItemOverride ( DependencyObject element, object item ) : void
element DependencyObject
item object
return void

GetContainerForItemOverride() protected method

protected GetContainerForItemOverride ( ) : DependencyObject
return DependencyObject

GetItemsOwner() public static method

public static GetItemsOwner ( DependencyObject element ) : ItemsControl
element DependencyObject
return ItemsControl

IsItemItsOwnContainerOverride() protected method

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
return bool

ItemsControl() public method

public ItemsControl ( ) : Mono
return Mono

ItemsControlFromItemContainer() public static method

public static ItemsControlFromItemContainer ( DependencyObject element ) : ItemsControl
element DependencyObject
return ItemsControl

OnItemsChanged() protected method

protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e NotifyCollectionChangedEventArgs
return void

PrepareContainerForItemOverride() protected method

protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element DependencyObject
item object
return void

Property Details

DisplayMemberPathProperty public_oe static_oe property

public static DependencyProperty DisplayMemberPathProperty
return DependencyProperty

ItemTemplateProperty public_oe static_oe property

public static DependencyProperty ItemTemplateProperty
return DependencyProperty

ItemsPanelProperty public_oe static_oe property

public static DependencyProperty ItemsPanelProperty
return DependencyProperty

ItemsSourceProperty public_oe static_oe property

public static DependencyProperty ItemsSourceProperty
return DependencyProperty