C# Class Open.Core.UI.Silverlight.Controls.CollapsingContent

A container of content which is collapsible.
Inheritance: System.Windows.Controls.ContentControl
ファイルを表示 Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Public Properties

Property Type Description
AnimateOnLoadProperty System.Windows.DependencyProperty
AnimationDurationProperty System.Windows.DependencyProperty
EasingProperty System.Windows.DependencyProperty
IsOpenProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
AnimateIsOpenChanged void
AnimateToChildHeight void
GetToHeight double
RefreshChildDesiredSize void
UpdateContainerHeight void
UpdateVisibility void

Public Methods

Method Description
CollapsingContent ( ) : System
Handle_Child_Loaded ( object sender, RoutedEventArgs e ) : void
Handle_Child_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnApplyTemplate ( ) : void

Private Methods

Method Description
AnimateIsOpenChanged ( ) : void
AnimateToChildHeight ( double fromHeight ) : void
GetToHeight ( ) : double
RefreshChildDesiredSize ( ) : void
UpdateContainerHeight ( ) : void
UpdateVisibility ( ) : void

Method Details

CollapsingContent() public method

public CollapsingContent ( ) : System
return System

Handle_Child_Loaded() public method

public Handle_Child_Loaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

Handle_Child_SizeChanged() public method

public Handle_Child_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
sender object
e System.Windows.SizeChangedEventArgs
return void

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

Property Details

AnimateOnLoadProperty public_oe static_oe property

Gets or sets whether the container animates it's size upon loading a new child.
public static DependencyProperty,System.Windows AnimateOnLoadProperty
return System.Windows.DependencyProperty

AnimationDurationProperty public_oe static_oe property

Gets or sets the duration (in seconds) of the open/close animation.
public static DependencyProperty,System.Windows AnimationDurationProperty
return System.Windows.DependencyProperty

EasingProperty public_oe static_oe property

Gets or sets the easing function to apply to the animation.
public static DependencyProperty,System.Windows EasingProperty
return System.Windows.DependencyProperty

IsOpenProperty public_oe static_oe property

Gets or sets whether the container is open or closed.
public static DependencyProperty,System.Windows IsOpenProperty
return System.Windows.DependencyProperty