Partager via


Classes for Visual Appearance and Behavior (Windows Embedded CE 6.0)

1/6/2010

This section describes the classes that you can use to define the appearance and behavior of individual elements or groups of elements in Silverlight for Windows Embedded.

This includes animations storyboards that can animate objects, colors, and x,y coordinates, brush objects that paint the interior of an element, and transformations which are used to define visual effects such as rotation, scaling, skewing, and positioning translation.

Classes for Storyboard Animations

Class Description

IXRColorAnimation

Animates a color value between two target values by using linear interpolation over a specified duration set by the inherited method IXRTimeline::SetDuration.

IXRColorAnimationUsingKeyFrames

Represents an animation that animates the value of a color along a set of key frames over a specified duration.

IXRColorKeyFrame

Provides a base class for specific animation key-frame techniques that define an animation segment with a target color value.

IXRDiscreteColorKeyFrame

Defines an animation segment that animates from the color value of the previous key frame to its own value suddenly by using discrete values.

IXRDiscreteDoubleKeyFrame

Defines an animation segment that animates from the float value of the previous key frame to its own target float value by using discrete values.

IXRDiscreteObjectKeyFrame

Animates from the IXRDependencyObject target value of the previous key frame to its own target value by using discrete values.

IXRDiscretePointKeyFrame

Defines an animation segment that animates from the x,y point of the previous key frame to its own x,y point by using discrete frames.

IXRDoubleAnimation

Animates a float value between two target values by using linear interpolation over a duration set by the inherited method IXRTimeline::SetDuration.

IXRDoubleAnimationUsingKeyFrames

Represents an animation that animates the value of a float value along a set of key frames over a specified duration.

IXRDoubleKeyFrame

Defines an animation segment that has its own target float value and interpolation method for an IXRDoubleAnimationUsingKeyFrames object.

IXRKeySpline

Defines animation progress for a spline key frame.

IXRLinearColorKeyFrame

Defines an animation segment that animates from the color value of the previous key frame to its own value by using linear interpolation.

IXRLinearDoubleKeyFrame

Defines an animation segment that animates from the float value of the previous key frame to its own float value by using linear interpolation.

IXRLinearPointKeyFrame

Defines an animation segment that animates from the x,y point of the previous key frame to its own x,y point by using linear interpolation.

IXRObjectAnimationUsingKeyFrames

Represents an animation that animates the value of an IXRDependencyObject along a set of key frames over a specified duration.

IXRObjectKeyFrame

Defines an animation segment that has its own target IXRDependencyObject value and frame-transition method for an IXRObjectAnimationUsingKeyFrames object.

IXRPointAnimation

Animates the value of an XRPoint between two target values by using linear interpolation over a duration specified by the inherited method IXRTimeline::SetDuration.

IXRPointAnimationUsingKeyFrames

Represents an animation that animates the values in an XRPoint structure along a set of key frames over a specified duration.

IXRPointKeyFrame

Defines an animation segment that has its own target x,y point and interpolation method for an IXRPointAnimationUsingKeyFrames animation.

IXRSplineColorKeyFrame

Defines an animation segment that animates from the color value of the previous key frame to its own value by using splined interpolation.

IXRSplineDoubleKeyFrame

Represents an animation segment that animates from the float value of the previous key frame to its own target float value by using splined interpolation.

IXRSplinePointKeyFrame

Defines an animation segment that animates from the x,y point of the previous key frame to its own x,y point by using splined interpolation.

IXRStoryboard

Controls the playback of animations with a timeline, and provides object-targeting and property-targeting information for its child animations.

IXRTimeline

Defines a segment of time and provides the base class for animations in Silverlight.

Classes for Drawing and Painting Graphic Elements

Class Description

IXRArcSegment

Represents an elliptical arc between two points.

IXRBezierSegment

Represents a cubic Bézier curve drawn between two points.

IXRBrush

Defines objects that are used to paint graphical objects.

IXREllipseGeometry

Represents the geometry of a circle or ellipse.

IXRGeometry

Provides a base class for objects that define geometric shapes.

IXRGeometryGroup

Represents a composite geometry composed of other IXRGeometry objects.

IXRGradientBrush

Serves as an abstract base class that describes a gradient pattern, composed of gradient stops, used to paint with.

IXRImageBrush

Paints an area with an image.

IXRLinearGradientBrush

Paints an area with a linear gradient.

IXRLineGeometry

Represents the geometry of a line.

IXRLineSegment

Represents a line drawn between two points that can be part of an IXRPathFigure within IXRPath data.

IXRPathFigure

Represents a subsection of a geometry, a single connected series of two-dimensional geometric segments.

IXRPathGeometry

Represents a complex shape that may be composed of arcs, curves, ellipses, lines, and rectangles.

IXRPathSegment

Represents a segment of an IXRPathFigure object.

IXRPolyBezierSegment

Represents one or more cubic Bézier curves.

IXRPolyLineSegment

Represents a set of line segments defined by an IXRPointCollection with each XRPoint specifying the endpoint of a line segment.

IXRPolyQuadraticBezierSegment

Represents a set of quadratic Bézier segments.

IXRQuadraticBezierSegment

Represents a quadratic Bezier curve between two points in an IXRPathFigure.

IXRRadialGradientBrush

Paints an area with a radial gradient. A focal point defines the beginning of the gradient, and a circle defines the endpoint of the gradient.

IXRRectangleGeometry

Describes a two-dimensional rectangular geometry.

IXRSolidColorBrush

Paints an area with a solid color.

Classes for Appearance-Related Templates

Class Description

IXRControlTemplate

Represents the element tree that is applied as a control template for a control.

IXRFrameworkTemplate

Represents an element tree of elements parsed from XAML.

IXRItemsPanelTemplate

Specifies the layout of the panel for items of an IXRItemsControl object.

Classes for Visual Transformation

Class Description

IXRGeneralTransform

Provides general support for applying transformations to UI elements, such as points and rectangles.

IXRMatrix

Represents a two-dimensional plane that has four flexible quadrants.

IXRMatrixTransform

Creates an arbitrary affine matrix transformation that is used to manipulate UI objects or coordinate systems in a two-dimensional plane.

IXRRotateTransform

Used to rotate an object clockwise around a specified point in a two-dimensional coordinate system.

IXRScaleTransform

Applies a size transformation to a UI object in the two-dimensional x,y coordinate system.

IXRTransform

Defines transformations in a two-dimensional plane on the graphical window.

IXRTransformGroup

Represents a composite transformation object that is composed of other IXRTransform-derived objects.

IXRTranslateTransform

Translates the location of an object in the two-dimensional x,y coordinate system.

Classes for Visual Appearance of Control States and State Transitions

Class Description

IXRVisualState

Represents the visual appearance of the control when it is in a specific state.

IXRVisualStateGroup

Contains mutually exclusive IXRVisualState objects and IXRVisualTransition objects that are applied when a user control goes from one state to another state.

IXRVisualTransition

Represents the visual behavior that occurs when the control transitions from one state to another.

Classes for Styles

Class Description

IXRSetter

Sets a property value for a style.

IXRSetterBase

Represents the base class for value-setting objects.

IXRStyle

Contains a collection of value-setting objects that can be shared between instances of a type.

Classes for Triggers

Class Description

IXRBeginStoryboard

Represents a trigger action that begins a storyboard and distributes its animations to their targeted objects and properties.

IXREventTrigger

Represents a trigger that applies a set of actions, also known as animation storyboards, in response to an event.

IXRTriggerAction

Serves as the base class for IXRBeginStoryboard.

IXRTriggerBase

Serves as the base class for IXREventTrigger.

See Also

Reference

Silverlight for Windows Embedded Classes