C# Class SilverlightFX.UserInterface.TemplatePanel

Inheritance: System.Windows.Controls.Control
Afficher le fichier Open project: nikhilk/silverlightfx Class Usage Examples

Méthodes publiques

Свойство Type Description
ContentNameProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetContentName ( DependencyObject o ) : string

Gets the value of the ContentName attached property.

OnApplyTemplate ( ) : void
SetContentName ( DependencyObject o, string value ) : void

Sets the value of the ContentName attached property.

TemplatePanel ( ) : System

Initializes an instance of a TemplatePanel.

Private Methods

Méthode Description
GetContainer ( DependencyObject o ) : TemplatePanel
GetPresenter ( string name ) : ContentPresenter
OnContentListCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnContentNameChanged ( DependencyObject content, string oldName, string newName ) : void
OnContentNamePropertyChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
SetContainer ( DependencyObject o, TemplatePanel value ) : void

Method Details

GetContentName() public static méthode

Gets the value of the ContentName attached property.
public static GetContentName ( DependencyObject o ) : string
o System.Windows.DependencyObject The object with the attached property.
Résultat string

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

SetContentName() public static méthode

Sets the value of the ContentName attached property.
public static SetContentName ( DependencyObject o, string value ) : void
o System.Windows.DependencyObject The object to attach a name to.
value string The name to set.
Résultat void

TemplatePanel() public méthode

Initializes an instance of a TemplatePanel.
public TemplatePanel ( ) : System
Résultat System

Property Details

ContentNameProperty public_oe static_oe property

Represents the ContentName attached property.
public static DependencyProperty,System.Windows ContentNameProperty
Résultat System.Windows.DependencyProperty