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
Remarks
For detailed documentation on this control's features and how to use them, please see the Shared Media Animation documentation topic.
Constructors
ToggleTransitionPresenter()
Initializes an instance of the ToggleTransitionPresenter
class.
public ToggleTransitionPresenter()
Properties
AlternateContent
Gets or sets the alternate content. This is a dependency property.
public object AlternateContent { get; set; }
Property Value
- object:
The alternate content. The default value is
null
.
AlternateContentTemplate
Gets or sets the DataTemplate used to display the alternate content. This is a dependency property.
public DataTemplate AlternateContentTemplate { get; set; }
Property Value
- DataTemplate:
A DataTemplate that specifies the visualization of the alternate content. The default value is
null
.
AlternateContentTemplateSelector
Gets or sets the custom logic for choosing a template used to display the alternate content. This is a dependency property.
public DataTemplateSelector AlternateContentTemplateSelector { get; set; }
Property Value
- DataTemplateSelector:
A custom DataTemplateSelector object that provides logic and returns a DataTemplate. The default value is
null
.
IsAlternateContentVisible
Gets or sets whether the alternate content is visible. This is a dependency property.
public bool IsAlternateContentVisible { get; set; }
Property Value
- bool:
true
if the alternate content is visible; otherwisefalse
. The default value isfalse
.
Fields
AlternateContentProperty
Identifies the AlternateContent dependency property. This field is read-only.
public static readonly DependencyProperty AlternateContentProperty
AlternateContentTemplateProperty
Identifies the AlternateContentTemplate dependency property. This field is read-only.
public static readonly DependencyProperty AlternateContentTemplateProperty
AlternateContentTemplateSelectorProperty
Identifies the AlternateContentTemplateSelector dependency property. This field is read-only.
public static readonly DependencyProperty AlternateContentTemplateSelectorProperty
IsAlternateContentVisibleProperty
Identifies the IsAlternateContentVisible dependency property. This field is read-only.
public static readonly DependencyProperty IsAlternateContentVisibleProperty
Inherited Members
- TransitionPresenter.TransitionCompletedEvent
- TransitionPresenter.DefaultDirectionProperty
- TransitionPresenter.DefaultDurationProperty
- TransitionPresenter.DefaultModeProperty
- TransitionPresenter.IsFirstContentTransitionEnabledProperty
- TransitionPresenter.IsPostTransitionFocusEnabledProperty
- TransitionPresenter.IsTransitioningProperty
- TransitionPresenter.IsTransitioningEnabledProperty
- TransitionPresenter.IsTransitioningSuspendedProperty
- TransitionPresenter.TransitionProperty
- TransitionPresenter.TransitionSelectorProperty
- TransitionPresenter.ArrangeOverride(Size)
- TransitionPresenter.ChooseTemplate()
- TransitionPresenter.GetVisualChild(int)
- TransitionPresenter.MeasureOverride(Size)
- TransitionPresenter.OnTransitionCompleted(object, object)
- TransitionPresenter.DefaultDirection
- TransitionPresenter.DefaultDuration
- TransitionPresenter.DefaultMode
- TransitionPresenter.IsFirstContentTransitionEnabled
- TransitionPresenter.IsPostTransitionFocusEnabled
- TransitionPresenter.IsTransitioning
- TransitionPresenter.IsTransitioningEnabled
- TransitionPresenter.IsTransitioningSuspended
- TransitionPresenter.Transition
- TransitionPresenter.TransitionSelector
- TransitionPresenter.VisualChildrenCount
- TransitionPresenter.TransitionCompleted