Windows.​UI.​Xaml.​Media Windows.​UI.​Xaml.​Media Windows.​UI.​Xaml.​Media Namespace

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

Prerelease. Provides basic media support, graphics primitives, and brush-drawing API.

Classes

AcrylicBrush AcrylicBrush AcrylicBrush

Prerelease. Paints an area with a semi-transparent material that uses multiple effects including blur and a noise texture.

ArcSegment ArcSegment ArcSegment

Represents an elliptical arc between two points.

BezierSegment BezierSegment BezierSegment

Represents a cubic Bezier curve drawn between two points.

BitmapCache BitmapCache BitmapCache

Represents the behavior of caching a visual element or tree of elements as bitmap surfaces.

Brush Brush Brush

Defines objects used to paint graphical objects. Classes that derive from Brush describe how the area is painted.

BrushCollection BrushCollection BrushCollection

Represents an ordered collection of Brush values.

CacheMode CacheMode CacheMode

Represents cached content modes for graphics acceleration features.

CompositeTransform CompositeTransform CompositeTransform

Applies multiple transform operations to an object.

CompositionTarget CompositionTarget CompositionTarget

Represents the composited display surface for an app. This class is mainly for Microsoft DirectX content interop scenarios.

DoubleCollection DoubleCollection DoubleCollection

Represents an ordered collection of Double values.

EllipseGeometry EllipseGeometry EllipseGeometry

Represents the geometry of a circle or ellipse.

FontFamily FontFamily FontFamily

Represents a family of related fonts.

GeneralTransform GeneralTransform GeneralTransform

Provides generalized transformation support for objects. GeneralTransform is a base class that's in the hierarchy of practical transform classes such as TranslateTransform.

Geometry Geometry Geometry

Provides a base class for objects that define geometric shapes. Geometry objects can be used for clipping regions and as geometry definitions for rendering two-dimensional graphical data as a Path.

GeometryCollection GeometryCollection GeometryCollection

Represents a collection of Geometry objects.

GeometryGroup GeometryGroup GeometryGroup

Represents a composite geometry, composed of other Geometry objects.

GradientBrush GradientBrush GradientBrush

An abstract class that describes a gradient, composed of gradient stops. Parent class for LinearGradientBrush.

GradientStop GradientStop GradientStop

Describes the location and color of a transition point in a gradient.

GradientStopCollection GradientStopCollection GradientStopCollection

Represents a collection of GradientStop objects that can be individually accessed by index.

ImageBrush ImageBrush ImageBrush

Paints an area with an image. The image source is typically obtained from file formats such as Joint Photographic Experts Group (JPEG).

ImageSource ImageSource ImageSource

Provides an object source type for the Image.Source and ImageBrush.ImageSource properties.

LinearGradientBrush LinearGradientBrush LinearGradientBrush

Paints an area with a linear gradient.

LineGeometry LineGeometry LineGeometry

Represents the geometry of a line.

LineSegment LineSegment LineSegment

Represents a line drawn between two points, which can be part of a PathFigure within Path data.

LoadedImageSourceLoadCompletedEventArgs LoadedImageSourceLoadCompletedEventArgs LoadedImageSourceLoadCompletedEventArgs

Provides event data for the LoadedImageSurface.LoadCompleted event.

LoadedImageSurface LoadedImageSurface LoadedImageSurface

Represents a composition surface that an image can be downloaded, decoded and loaded onto. You can load an image using a Uniform Resource Identifier (URI) that references an image source file, or supplying a IRandomAccessStream.

Matrix3DProjection Matrix3DProjection Matrix3DProjection

Applies a Matrix3D projection to an object.

MatrixHelper MatrixHelper MatrixHelper

Provides static helper methods for processing Matrix values. C# and Microsoft Visual Basic code should use members of Matrix instead.

MatrixTransform MatrixTransform MatrixTransform

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

MediaTransportControlsThumbnailRequestedEventArgs MediaTransportControlsThumbnailRequestedEventArgs MediaTransportControlsThumbnailRequestedEventArgs

Provides data for the MediaTransportControls.ThumbnailRequested event.

PartialMediaFailureDetectedEventArgs PartialMediaFailureDetectedEventArgs PartialMediaFailureDetectedEventArgs

Provides data for the PartialMediaFailureDetected event.

PathFigure PathFigure PathFigure

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

PathFigureCollection PathFigureCollection PathFigureCollection

Represents a collection of PathFigure objects that collectively make up the geometry of a PathGeometry.

PathGeometry PathGeometry PathGeometry

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

PathSegment PathSegment PathSegment

Represents a segment of a PathFigure object. Derived classes of PathFigure describe different types of segments.

PathSegmentCollection PathSegmentCollection PathSegmentCollection

Represents a collection of PathSegment objects that can be individually accessed by index.

PlaneProjection PlaneProjection PlaneProjection

Represents a perspective transform (a 3-D-like effect) on an object.

PointCollection PointCollection PointCollection

Represents a collection of Point values that can be individually accessed by index.

PolyBezierSegment PolyBezierSegment PolyBezierSegment

Represents one or more cubic Bezier curves.

PolyLineSegment PolyLineSegment PolyLineSegment

Represents a set of line segments defined by a Point collection with each Point specifying the end point of a line segment.

PolyQuadraticBezierSegment PolyQuadraticBezierSegment PolyQuadraticBezierSegment

Represents a set of quadratic Bezier segments.

Projection Projection Projection

Provides a base class for projections, which describe how to transform an object in 3-D space using perspective transforms.

QuadraticBezierSegment QuadraticBezierSegment QuadraticBezierSegment

Creates a quadratic Bezier curve between two points in a PathFigure.

RateChangedRoutedEventArgs RateChangedRoutedEventArgs RateChangedRoutedEventArgs

Provides event data for the RateChanged event.

RectangleGeometry RectangleGeometry RectangleGeometry

Describes a two-dimensional rectangular geometry.

RenderingEventArgs RenderingEventArgs RenderingEventArgs

Provides event data for the Rendering event.

RevealBackgroundBrush RevealBackgroundBrush RevealBackgroundBrush

Prerelease. Paints a control background with a reveal effect using composition brush and light effects.

RevealBorderBrush RevealBorderBrush RevealBorderBrush

Prerelease. Paints a control border with a reveal effect using composition brush and light effects.

RevealBrush RevealBrush RevealBrush

Prerelease. Base class for brushes that use composition effects and lighting to implement the reveal visual design treatment.

RevealBrushHelper RevealBrushHelper RevealBrushHelper

Prerelease. Provides a helper attached property to synchronize a reveal brush with the pointer state of an element.

RotateTransform RotateTransform RotateTransform

Rotates an object around a specified point in a two-dimensional x-y coordinate system.

ScaleTransform ScaleTransform ScaleTransform

Scales an object in the two-dimensional x-y coordinate system.

SkewTransform SkewTransform SkewTransform

Represents a two-dimensional skew.

SolidColorBrush SolidColorBrush SolidColorBrush

Paints an area with a solid color. The solid color is defined by a Color value.

TileBrush TileBrush TileBrush

Base class that describes a way to paint a region. Parent of ImageBrush.

TimelineMarker TimelineMarker TimelineMarker

Represents metadata associated with a specific point in a media file.

TimelineMarkerCollection TimelineMarkerCollection TimelineMarkerCollection

Represents a collection of TimelineMarker objects that can be individually accessed by index. A TimelineMarkerCollection is an ordered list where the order is determined by the Time value of each TimelineMarker item contained in the collection. For more info on how this affects the collection API, see Remarks.

TimelineMarkerRoutedEventArgs TimelineMarkerRoutedEventArgs TimelineMarkerRoutedEventArgs

Provides event data for the MarkerReached event.

Transform Transform Transform

Defines functionality that enables transformations in a two-dimensional plane.

TransformCollection TransformCollection TransformCollection

Represents a collection of Transform objects that can be individually accessed by index.

TransformGroup TransformGroup TransformGroup

Represents a composite Transform composed of other Transform objects.

TranslateTransform TranslateTransform TranslateTransform

Translates (moves) an object in the two-dimensional x-y coordinate system.

VisualTreeHelper VisualTreeHelper VisualTreeHelper

Provides utility methods that can be used to traverse object relationships (along child-object or parent-object axes) in the visual tree of your app.

XamlAmbientLight XamlAmbientLight XamlAmbientLight

Prerelease. Represents a XAML light that uses an AmbientLight to illuminate every targeted Visual equally.

XamlCompositionBrushBase XamlCompositionBrushBase XamlCompositionBrushBase

Provides a base class used to create XAML brushes that paint an area with a CompositionBrush.

XamlLight XamlLight XamlLight

Provides a base class used to create XAML lights that use a CompositionLight to apply lighting effects to XAML elements and brushes.

Structs

Matrix Matrix Matrix

Represents a 3 × 3 affine transformation matrix used for transformations in two-dimensional space.

Enums

AcrylicBackgroundSource AcrylicBackgroundSource AcrylicBackgroundSource

Prerelease. Defines values that specify whether the brush samples from the app content or from the content behind the app window.

AlignmentX AlignmentX AlignmentX

Describes how content is positioned horizontally in a container.

AlignmentY AlignmentY AlignmentY

Describes how content is positioned vertically in a container.

AudioCategory AudioCategory AudioCategory

Describes the purpose of the audio information in an audio stream. Used as a value by AudioCategory.

AudioDeviceType AudioDeviceType AudioDeviceType

Describes the primary usage of the device that is being used to play back audio. This value is used by AudioDeviceType.

BrushMappingMode BrushMappingMode BrushMappingMode

Specifies the coordinate system used by a Brush.

ColorInterpolationMode ColorInterpolationMode ColorInterpolationMode

Determines how the colors in a gradient are interpolated.

ElementCompositeMode ElementCompositeMode ElementCompositeMode

Declares alternate composition and blending modes for elements in mixed XAML / Microsoft DirectX UI.

FastPlayFallbackBehaviour FastPlayFallbackBehaviour FastPlayFallbackBehaviour

Defines constants that specify how MediaTransportControls fast-forward/backward buttons behave.

FillRule FillRule FillRule

Specifies how the intersecting areas of PathFigure objects contained in a Geometry are combined to form the area of the Geometry.

GradientSpreadMethod GradientSpreadMethod GradientSpreadMethod

Specifies how to draw the gradient outside a gradient brush's gradient vector or space.

LoadedImageSourceLoadStatus LoadedImageSourceLoadStatus LoadedImageSourceLoadStatus

Defines constants that specify whether an image loaded, or why it failed to load.

MediaCanPlayResponse MediaCanPlayResponse MediaCanPlayResponse

Describes the likelihood that the media engine can play a media source based on its file type and characteristics.

MediaElementState MediaElementState MediaElementState

Defines the potential states of a MediaElement object.

PenLineCap PenLineCap PenLineCap

Describes the shape at the end of a line or segment.

PenLineJoin PenLineJoin PenLineJoin

Describes the shape that joins two lines or segments.

RevealBrushHelperState RevealBrushHelperState RevealBrushHelperState

Prerelease. Defines constants that specify the pointer state of an element.

Stereo3DVideoPackingMode Stereo3DVideoPackingMode Stereo3DVideoPackingMode

Describes the frame-packing mode for stereo 3-D video content.

Stereo3DVideoRenderMode Stereo3DVideoRenderMode Stereo3DVideoRenderMode

Describes the stereo 3-D video render mode for the current media source.

Stretch Stretch Stretch

Describes how content is resized to fill its allocated space.

StyleSimulations StyleSimulations StyleSimulations

Describes the simulation style of a font.

SweepDirection SweepDirection SweepDirection

Specifies the direction in which an elliptical arc is drawn.

Delegates

RateChangedRoutedEventHandler RateChangedRoutedEventHandler RateChangedRoutedEventHandler

Represents the method that will handle the RateChanged event. This event fires when PlaybackRate or DefaultPlaybackRate change either via user interaction or from code.

TimelineMarkerRoutedEventHandler TimelineMarkerRoutedEventHandler TimelineMarkerRoutedEventHandler

Represents methods that will handle various routed events related to timeline markers.