C# Class SilverlightFX.UserInterface.TemplatePanel

Inheritance: System.Windows.Controls.Control
ファイルを表示 Open project: nikhilk/silverlightfx Class Usage Examples

Public Properties

Property Type Description
ContentNameProperty System.Windows.DependencyProperty

Public Methods

Method 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

Method 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 method

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

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

SetContentName() public static method

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.
return void

TemplatePanel() public method

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

Property Details

ContentNameProperty public_oe static_oe property

Represents the ContentName attached property.
public static DependencyProperty,System.Windows ContentNameProperty
return System.Windows.DependencyProperty