Class TransitionContentControl
TransitionContentControl is a Windows.UI.Xaml.Controls.ContentControl that contains the implementation for the controls that needs transitions.
Inheritance
Namespace: Syncfusion.Windows.Controls
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class TransitionContentControl : ContentControl
Constructors
TransitionContentControl()
Initializes a new instance of the Syncfusion.UI.Xaml.Controls.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 |
---|
System.Windows.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 |
---|
System.Windows.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 Syncfusion.UI.Xaml.Controls.TransitionContentControl control.
Declaration
public 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 |
OnRenderSizeChanged(SizeChangedInfo)
Invoked when the Size is changed
Declaration
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.SizeChangedInfo | sizeInfo |