Effect Effect Class

Definition

A collection of styles and properties that can be added to an element at run time.

public abstract class Effect
type Effect = class
Inheritance
EffectEffect
Derived

Remarks

Effects are suitable when the developer needs to use platform-specific features to achieve the desired effect. Developers should consider using Behavior if they do not need platform-specific implentations to achieve their desired result.

Properties

Element Element

Gets the element to which the style is attached.

IsAttached IsAttached

Gets a value that tells whether the effect is attached to an element.

ResolveId ResolveId

Gets the ID that is used to resolve this effect at runtime.

Methods

OnAttached() OnAttached()

Method that is called after the effect is attached and made valid.

OnDetached() OnDetached()

Method that is called after the effect is detached and invalidated.

Resolve(String) Resolve(String)

Returns an Effect for the specified name, which is of the form ResolutionGroupName.ExportEffect.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to