Class EntranceAnimationContentControlEx
Inheritance
System.Object
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
Windows.UI.Xaml.Controls.Control
Windows.UI.Xaml.Controls.ContentControl
EntranceAnimationContentControlEx
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Assembly: pdftron.PDF.Tools.dll
Syntax
public class EntranceAnimationContentControlEx : ContentControl, IDependencyObject, IDependencyObject2, IUIElement, IUIElement2, IUIElement3, IUIElement4, IUIElement5, IUIElement7, IUIElement8, IUIElement9, IUIElement10, IUIElementOverrides, IUIElementOverrides7, IUIElementOverrides8, IUIElementOverrides9, IAnimationObject, IVisualElement, IFrameworkElement, IFrameworkElement2, IFrameworkElement3, IFrameworkElement4, IFrameworkElement6, IFrameworkElement7, IFrameworkElementProtected7, IFrameworkElementOverrides, IFrameworkElementOverrides2, IControl, IControl2, IControl3, IControl4, IControl5, IControl7, IControlProtected, IControlOverrides, IControlOverrides6, IContentControl, IContentControl2, IContentControlOverrides
Constructors
EntranceAnimationContentControlEx()
Declaration
public EntranceAnimationContentControlEx()
Fields
CollapseWhenExitedProperty
This value determines whether or not the visibility of the EntranceAnimationContentControl will be collapsed when
the animation is finished. Defaults to true.
Declaration
public static readonly DependencyProperty CollapseWhenExitedProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
DisableAnimationProperty
Bind this boolean to a property in your view model that indicates when this control and it's content should be shown.
Declaration
public static readonly DependencyProperty DisableAnimationProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
EntranceAnimationProperty
You can give this control an animation to play when the content is to be shown. You can bind to an element in
your XAML, by using EntranceAnimation="{Binding ElementName=[A named StoryBoard], Mode=TwoWay}"
Declaration
public static readonly DependencyProperty EntranceAnimationProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
ExitAnimationProperty
You can give this control an animation to play when the content is to be hidden. You can bind to an element in
your XAML, by using ExitAnimation="{Binding ElementName=[A named StoryBoard], Mode=TwoWay}"
Declaration
public static readonly DependencyProperty ExitAnimationProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
IsOpenProperty
Bind this boolean to a property in your view model that indicates when this control and it's content should be shown.
Declaration
public static readonly DependencyProperty IsOpenProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
Properties
CollapseWhenExited
This value determines whether or not the visibility of the EntranceAnimationContentControl will be collapsed when
the animation is finished. Defaults to true.
Declaration
public bool CollapseWhenExited { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
DisableAnimation
Gets or sets whether to disable animations.
Declaration
public bool DisableAnimation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EntranceAnimation
You can give this control an animation to play when the content is to be shown. You can bind to an element in
your XAML, by using EntranceAnimation="{Binding ElementName=[A named StoryBoard], Mode=TwoWay}"
Declaration
public Storyboard EntranceAnimation { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Media.Animation.Storyboard |
|
ExitAnimation
Declaration
public Storyboard ExitAnimation { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Media.Animation.Storyboard |
|
IsOpen
Bind this boolean to a property in your view model that indicates when this control and it's content should be shown.
Declaration
public bool IsOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Close()
Declaration
Open()
Declaration
Events
ContentIsAvailable
Declaration
public event EntranceAnimationContentControlEx.ContentIsAvailableHandler ContentIsAvailable
Event Type
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Extension Methods