C# Class System.Windows.Controls.ContentControl

Inheritance: Control, System.Windows.Markup.IAddChild
Show file Open project: Clancey/XamlForIphone Class Usage Examples

Public Properties

Property Type Description
LeftProperty DependencyProperty
RightProperty DependencyProperty

Protected Methods

Method Description
OnLeftChanged ( object oldContent, object newContent ) : void

Called when the Content property changes.

OnRightChanged ( object oldContent, object newContent ) : void

Called when the Content property changes.

Private Methods

Method Description
OnLeftPropertyChanged ( IDependencyObject d, DependencyPropertyChangedEventArgs e ) : void

ContentProperty property changed handler.

OnRightPropertyChanged ( IDependencyObject d, DependencyPropertyChangedEventArgs e ) : void

ContentProperty property changed handler.

Method Details

OnLeftChanged() protected method

Called when the Content property changes.
protected OnLeftChanged ( object oldContent, object newContent ) : void
oldContent object /// The old value of the Content property. ///
newContent object /// The new value of the Content property. ///
return void

OnRightChanged() protected method

Called when the Content property changes.
protected OnRightChanged ( object oldContent, object newContent ) : void
oldContent object /// The old value of the Content property. ///
newContent object /// The new value of the Content property. ///
return void

Property Details

LeftProperty public static property

Identifies the Content dependency property.
public static DependencyProperty LeftProperty
return DependencyProperty

RightProperty public static property

public static DependencyProperty RightProperty
return DependencyProperty