C# Class PassFruit.Ui.Wp.Views.Controls.HeaderedContentControl

Inheritance: System.Windows.Controls.ContentControl
Mostra file Open project: bettiolo/PassFruit Class Usage Examples

Public Properties

Property Type Description
HeaderProperty System.Windows.DependencyProperty
HeaderTemplateProperty System.Windows.DependencyProperty

Public Methods

Method Description
HeaderedContentControl ( ) : System.Diagnostics.CodeAnalysis

Initializes a new instance of the T:System.Windows.Controls.HeaderedContentControl class.

Protected Methods

Method Description
OnHeaderChanged ( object oldHeader, object newHeader ) : void

Called when the value of the P:System.Windows.Controls.HeaderedContentControl.Header property changes.

OnHeaderTemplateChanged ( System.Windows.DataTemplate oldHeaderTemplate, System.Windows.DataTemplate newHeaderTemplate ) : void

Called when the value of the P:System.Windows.Controls.HeaderedContentControl.HeaderTemplate property changes.

Private Methods

Method Description
OnHeaderPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

HeaderProperty property changed handler.

OnHeaderTemplatePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

HeaderTemplateProperty property changed handler.

Method Details

HeaderedContentControl() public method

Initializes a new instance of the T:System.Windows.Controls.HeaderedContentControl class.
public HeaderedContentControl ( ) : System.Diagnostics.CodeAnalysis
return System.Diagnostics.CodeAnalysis

OnHeaderChanged() protected method

Called when the value of the P:System.Windows.Controls.HeaderedContentControl.Header property changes.
protected OnHeaderChanged ( object oldHeader, object newHeader ) : void
oldHeader object /// The old value of the /// /// property. ///
newHeader object /// The new value of the /// /// property. ///
return void

OnHeaderTemplateChanged() protected method

Called when the value of the P:System.Windows.Controls.HeaderedContentControl.HeaderTemplate property changes.
protected OnHeaderTemplateChanged ( System.Windows.DataTemplate oldHeaderTemplate, System.Windows.DataTemplate newHeaderTemplate ) : void
oldHeaderTemplate System.Windows.DataTemplate /// The old value of the /// /// property. ///
newHeaderTemplate System.Windows.DataTemplate /// The new value of the /// /// property. ///
return void

Property Details

HeaderProperty public_oe static_oe property

Identifies the P:System.Windows.Controls.HeaderedContentControl.Header dependency property.
public static DependencyProperty,System.Windows HeaderProperty
return System.Windows.DependencyProperty

HeaderTemplateProperty public_oe static_oe property

Identifies the P:System.Windows.Controls.HeaderedContentControl.HeaderTemplate dependency property.
public static DependencyProperty,System.Windows HeaderTemplateProperty
return System.Windows.DependencyProperty