In This Article

ToggleTransitionPresenter Class

Represents an element that can display various transitions between two elements.

public class ToggleTransitionPresenter : TransitionPresenter
Inheritance:
object Visual UIElement FrameworkElement ContentPresenter TransitionPresenter object

Constructors

ToggleTransitionPresenter()

Initializes an instance of the class.

public ToggleTransitionPresenter()

Properties

AlternateContent

The alternate content.

public object? AlternateContent { get; set; }

Property Value

object:

The default value is null.

AlternateContentTemplate

The DataTemplate used to display the alternate content.

public DataTemplate? AlternateContentTemplate { get; set; }

Property Value

DataTemplate:

The default value is null.

AlternateContentTemplateSelector

The custom logic for choosing a template used to display the alternate content.

public DataTemplateSelector? AlternateContentTemplateSelector { get; set; }

Property Value

DataTemplateSelector:

The default value is null.

IsAlternateContentVisible

Indicates whether the alternate content is visible.

public bool IsAlternateContentVisible { get; set; }

Property Value

bool:

true if the alternate content is visible; otherwise false. The default value is false.

Fields

AlternateContentProperty

Defines the AlternateContent property.

public static readonly DependencyProperty AlternateContentProperty

AlternateContentTemplateProperty

Defines the AlternateContentTemplate property.

public static readonly DependencyProperty AlternateContentTemplateProperty

AlternateContentTemplateSelectorProperty

Defines the AlternateContentTemplateSelector property.

public static readonly DependencyProperty AlternateContentTemplateSelectorProperty

IsAlternateContentVisibleProperty

Defines the IsAlternateContentVisible property.

public static readonly DependencyProperty IsAlternateContentVisibleProperty

Inherited Members

Extension Methods