Class TransitionContentControl
TransitionContentControl is a Windows.UI.Xaml.Controls.ContentControl that contains the implementation for the controls that needs transitions.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Controls
Assembly: Syncfusion.SfShared.UWP.dll
Syntax
[ClassReference(IsReviewed = false)]
public class TransitionContentControl : ContentControl, IDisposable
Constructors
TransitionContentControl()
Initializes a new instance of the TransitionContentControl class.
Declaration
public TransitionContentControl()
Fields
EnableAnimationProperty
Using a DependencyProperty as the backing store for EnableAnimation. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableAnimationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TransitionProperty
Using a DependencyProperty as the backing store for Transition. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TransitionProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
EnableAnimation
Gets or sets a value to animate while up/down click.
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Transition
Gets or sets the transition.
Declaration
public ContentTransition Transition { get; set; }
Property Value
Type | Description |
---|---|
ContentTransition | The default value is null. |
Methods
Dispose()
To Dispose unused objects
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnApplyTemplate()
Initializes all the child elements of TransitionContentControl control.
Declaration
protected override void OnApplyTemplate()
OnContentChanged(Object, Object)
Invoked when the content is changed
Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldContent | old content value |
System.Object | newContent | new content value |