Show / Hide Table of Contents

Class TransitionEffect

Defines a transition effect shader that transitions from one visual to another visual using an interpolated value between 0 and 1.

Inheritance
System.Object
DependencyObject
Effect
ShaderEffect
TransitionEffect
Inherited Members
ShaderEffect.PixelShaderProperty
ShaderEffect.PixelShader
ShaderEffect.PaddingBottom
ShaderEffect.PixelShaderConstantCallback(Int32)
ShaderEffect.UpdateShaderValue(DependencyProperty)
ShaderEffect.RegisterPixelShaderSamplerProperty(String, Type, Int32)
ShaderEffect.RegisterPixelShaderSamplerProperty(String, Type, Int32, SamplingMode)
Effect.ImplicitInput
Effect.EffectMapping
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Expression.Media.Effects
Assembly: OpenSilver.Expression.Interactions.dll
Syntax
public abstract class TransitionEffect : ShaderEffect, IDependencyObject

Constructors

| Improve this Doc View Source

TransitionEffect()

Updates the shader's variables to the default values.

Declaration
protected TransitionEffect()

Fields

| Improve this Doc View Source

InputProperty

Brush-valued properties that turn into sampler-properties in the shader. Represents the image present in the final state of the transition.

Declaration
public static readonly DependencyProperty InputProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

OldImageProperty

Brush-valued properties that turn into sampler-properties in the shader. Represents the image present in the initial state of the transition.

Declaration
public static readonly DependencyProperty OldImageProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ProgressProperty

A Dependency property as the backing store for Progress. Also used to represent the state of a transition from start to finish (range between 0 and 1).

Declaration
public static readonly DependencyProperty ProgressProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

Input

Gets or sets the Input variable within the shader.

Declaration
public Brush Input { get; set; }
Property Value
Type Description
Brush
| Improve this Doc View Source

OldImage

Gets or sets the OldImage variable within the shader.

Declaration
public Brush OldImage { get; set; }
Property Value
Type Description
Brush
| Improve this Doc View Source

Progress

Gets or sets the Progress variable within the shader.

Declaration
public double Progress { get; set; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

CloneCurrentValue()

Creates a modifiable clone (deep copy) of the TransitionEffect using its current values.

Declaration
public TransitionEffect CloneCurrentValue()
Returns
Type Description
TransitionEffect
| Improve this Doc View Source

DeepCopy()

Makes a deep copy of the transition effect. Implements CloneCurrentValue in Silverlight.

Declaration
protected abstract TransitionEffect DeepCopy()
Returns
Type Description
TransitionEffect

A clone of current instance of transition effect.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source