C# Class System.Windows.Controls.ItemsControl

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

Méthodes publiques

Свойство Type Description
DisplayMemberPathProperty DependencyProperty
ItemTemplateProperty DependencyProperty
ItemsPanelProperty DependencyProperty
ItemsSourceProperty DependencyProperty

Private Properties

Свойство 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

Méthodes publiques

Méthode Description
GetItemsOwner ( DependencyObject element ) : ItemsControl
ItemsControl ( ) : Mono
ItemsControlFromItemContainer ( DependencyObject element ) : ItemsControl

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected ClearContainerForItemOverride ( DependencyObject element, object item ) : void
element DependencyObject
item object
Résultat void

GetContainerForItemOverride() protected méthode

protected GetContainerForItemOverride ( ) : DependencyObject
Résultat DependencyObject

GetItemsOwner() public static méthode

public static GetItemsOwner ( DependencyObject element ) : ItemsControl
element DependencyObject
Résultat ItemsControl

IsItemItsOwnContainerOverride() protected méthode

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
Résultat bool

ItemsControl() public méthode

public ItemsControl ( ) : Mono
Résultat Mono

ItemsControlFromItemContainer() public static méthode

public static ItemsControlFromItemContainer ( DependencyObject element ) : ItemsControl
element DependencyObject
Résultat ItemsControl

OnItemsChanged() protected méthode

protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e NotifyCollectionChangedEventArgs
Résultat void

PrepareContainerForItemOverride() protected méthode

protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element DependencyObject
item object
Résultat void

Property Details

DisplayMemberPathProperty public_oe static_oe property

public static DependencyProperty DisplayMemberPathProperty
Résultat DependencyProperty

ItemTemplateProperty public_oe static_oe property

public static DependencyProperty ItemTemplateProperty
Résultat DependencyProperty

ItemsPanelProperty public_oe static_oe property

public static DependencyProperty ItemsPanelProperty
Résultat DependencyProperty

ItemsSourceProperty public_oe static_oe property

public static DependencyProperty ItemsSourceProperty
Résultat DependencyProperty