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

A container of content which is collapsible.
Inheritance: System.Windows.Controls.ContentControl
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Свойство Type Description
AnimateOnLoadProperty System.Windows.DependencyProperty
AnimationDurationProperty System.Windows.DependencyProperty
EasingProperty System.Windows.DependencyProperty
IsOpenProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
AnimateIsOpenChanged void
AnimateToChildHeight void
GetToHeight double
RefreshChildDesiredSize void
UpdateContainerHeight void
UpdateVisibility void

Méthodes publiques

Méthode 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

Méthode Description
AnimateIsOpenChanged ( ) : void
AnimateToChildHeight ( double fromHeight ) : void
GetToHeight ( ) : double
RefreshChildDesiredSize ( ) : void
UpdateContainerHeight ( ) : void
UpdateVisibility ( ) : void

Method Details

CollapsingContent() public méthode

public CollapsingContent ( ) : System
Résultat System

Handle_Child_Loaded() public méthode

public Handle_Child_Loaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Résultat void

Handle_Child_SizeChanged() public méthode

public Handle_Child_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
sender object
e System.Windows.SizeChangedEventArgs
Résultat void

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat System.Windows.DependencyProperty