Collapse the table of content
Expand the table of content

Windows.UI.Xaml.Media namespace

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


The Windows.UI.Xaml.Media namespace has these types of members:


ArcSegment Represents an elliptical arc between two points.
BezierSegment Represents a cubic Bezier curve drawn between two points.
BitmapCache Represents the behavior of caching a visual element or tree of elements as bitmap surfaces.
Brush Defines objects used to paint graphical objects. Classes that derive from Brush describe how the area is painted.
CacheMode Represents cached content modes for graphics acceleration features.
CompositeTransform Applies multiple transform operations to an object.
CompositionTarget Represents the composited display surface for an app. This class is mainly for Microsoft DirectX content interop scenarios.
DoubleCollection Represents an ordered collection of Double values.
EllipseGeometry Represents the geometry of a circle or ellipse.
FontFamily Represents a family of related fonts.
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 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 Represents a collection of Geometry objects.
GeometryGroup Represents a composite geometry, composed of other Geometry objects.
GradientBrush An abstract class that describes a gradient, composed of gradient stops. Parent class for LinearGradientBrush.
GradientStop Describes the location and color of a transition point in a gradient.
GradientStopCollection Represents a collection of GradientStop objects that can be individually accessed by index.
ImageBrush Paints an area with an image. The image source is typically obtained from file formats such as Joint Photographic Experts Group (JPEG).
ImageSource Provides an object source type for the Image.Source and ImageBrush.ImageSource properties.
LinearGradientBrush Paints an area with a linear gradient.
LineGeometry Represents the geometry of a line.
LineSegment Represents a line drawn between two points, which can be part of a PathFigure within Path data.
Matrix3DProjection Applies a Matrix3D projection to an object.
MatrixHelper Provides static helper methods for processing Matrix values. C# and Microsoft Visual Basic code should use members of Matrix instead.
MatrixTransform Creates an arbitrary affine matrix transformation that is used to manipulate objects or coordinate systems in a two-dimensional plane.
PartialMediaFailureDetectedEventArgs Provides data for the PartialMediaFailureDetected event.
PathFigure Represents a subsection of a geometry, a single connected series of two-dimensional geometric segments.
PathFigureCollection Represents a collection of PathFigure objects that collectively make up the geometry of a PathGeometry.
PathGeometry Represents a complex vector-based shape that may be composed of arcs, curves, ellipses, lines, and rectangles.
PathSegment Represents a segment of a PathFigure object. Derived classes of PathFigure describe different types of segments.
PathSegmentCollection Represents a collection of PathSegment objects that can be individually accessed by index.
PlaneProjection Represents a perspective transform (a 3-D-like effect) on an object.
PointCollection Represents a collection of Point values that can be individually accessed by index.
PolyBezierSegment Represents one or more cubic Bezier curves.
PolyLineSegment Represents a set of line segments defined by a Point collection with each Point specifying the end point of a line segment.
PolyQuadraticBezierSegment Represents a set of quadratic Bezier segments.
Projection Provides a base class for projections, which describe how to transform an object in 3-D space using perspective transforms.
QuadraticBezierSegment Creates a quadratic Bezier curve between two points in a PathFigure.
RateChangedRoutedEventArgs Provides event data for the RateChanged event.
RectangleGeometry Describes a two-dimensional rectangular geometry.
RenderingEventArgs Provides event data for the Rendering event.
RotateTransform Rotates an object around a specified point in a two-dimensional x-y coordinate system.
ScaleTransform Scales an object in the two-dimensional x-y coordinate system.
SkewTransform Represents a two-dimensional skew.
SolidColorBrush Paints an area with a solid color. The solid color is defined by a Color value.
TileBrush Base class that describes a way to paint a region. Parent of ImageBrush.
TimelineMarker Represents metadata associated with a specific point in a media file.
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.
TimelineMarkerRoutedEventArgs Provides event data for the MarkerReached event.
Transform Defines functionality that enables transformations in a two-dimensional plane.
TransformCollection Represents a collection of Transform objects that can be individually accessed by index.
TransformGroup Represents a composite Transform composed of other Transform objects.
TranslateTransform Translates (moves) an object in the two-dimensional x-y coordinate system.
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.



The Windows.UI.Xaml.Media namespace has these delegates.

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 Represents methods that will handle various routed events related to timeline markers.



The Windows.UI.Xaml.Media namespace has these enumerations.

AlignmentX Describes how content is positioned horizontally in a container.
AlignmentY Describes how content is positioned vertically in a container.
AudioCategory Describes the purpose of the audio information in an audio stream. Used as a value by AudioCategory.
AudioDeviceType Describes the primary usage of the device that is being used to play back audio. This value is used by AudioDeviceType.
BrushMappingMode Specifies the coordinate system used by a Brush.
ColorInterpolationMode Determines how the colors in a gradient are interpolated.
ElementCompositeMode Declares alternate composition and blending modes for elements in mixed XAML / Microsoft DirectX UI.
FillRule Specifies how the intersecting areas of PathFigure objects contained in a Geometry are combined to form the area of the Geometry.
GradientSpreadMethod Specifies how to draw the gradient outside a gradient brush's gradient vector or space.
MediaCanPlayResponse Describes the likelihood that the media engine can play a media source based on its file type and characteristics.
MediaElementState Defines the potential states of a MediaElement object.
PenLineCap Describes the shape at the end of a line or segment.
PenLineJoin Describes the shape that joins two lines or segments.
Stereo3DVideoPackingMode Describes the frame-packing mode for stereo 3-D video content.
Stereo3DVideoRenderMode Describes the stereo 3-D video render mode for the current media source.
Stretch Describes how content is resized to fill its allocated space.
StyleSimulations Describes the simulation style of a font.
SweepDirection Specifies the direction in which an elliptical arc is drawn.



The Windows.UI.Xaml.Media namespace has these structures.

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




© 2016 Microsoft