menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TransitionContentControl - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TransitionContentControl

    TransitionContentControl is a Windows.UI.Xaml.Controls.ContentControl that contains the implementation for the controls that needs transitions.

    Inheritance
    System.Object
    TransitionContentControl
    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

    true if [enable animation]; otherwise, false.

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved