System.Windows.Media Namespace

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Provides types that enable integration of rich media, including drawings, text, and audio/video content in Windows Phone-based applications.

Classes

  Class Description
AcquireLicenseCompletedEventArgs Provides data for the AcquireLicenseCompleted event.
ArcSegment Represents an elliptical arc between two points.
AudioCaptureDevice Describes either the desired or supported formats for an audio capture device, such as a microphone.
AudioCaptureDeviceCollection Specifies a collection of AudioCaptureDevice objects.
AudioFormat Provides specific technical information about an audio format that is used by audio capture devices.
AudioSink Exposes the capture graph for audio devices. Derive from this class to receive audio information and to obtain the capture graph through AudioSink..::.CaptureSource.
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. This can yield significant performance improvements for some scenarios.
Brush Defines objects used to paint graphical objects. Classes that derive from Brush describe how the area is painted.
CacheMode Represents cached content.
CaptureDevice Provides common properties for AudioCaptureDevice and VideoCaptureDevice.
CaptureDeviceConfiguration Represents a helper class for obtaining information about available capture devices (audio or video) and requesting client user permission to access the captures from available devices.
CaptureImageCompletedEventArgs Provides event data for the CaptureImageCompleted event of the CaptureSource class.
CaptureSource Provides methods that work with specific audio or video captures from the associated capture device.
Colors Implements a set of predefined colors.
CompositeTransform This class lets you apply multiple different transforms to an object.
CompositionTarget Represents the display surface of a Windows Phone-based application.
DeepZoomImageTileSource Used to specify the source of a MultiScaleImage.
DomainAcquirer Handles Join Domain requests.
DomainOperationCompletedEventArgs Provides data for join and leave domain events.
DoubleCollection Represents an ordered collection of Double values.
DrmDomainRequiredException The exception that is thrown when the domain certificate needed to play back the content is not found.
DrmSetupDecryptorCompletedEventArgs Provides data for the DrmSetupDecryptorCompletedEventArgs.
EllipseGeometry Represents the geometry of a circle or ellipse.
FileSink Used to save the video capture on Windows Phone to a file.
FontFamily Represents a family of related fonts.
Fonts Provides enumeration support for FontFamily and Typeface objects.
GeneralTransform Provides generalized transformation support for objects, such as points and rectangles.
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 graphic data as a Path.
GeometryCollection Represents a collection of Geometry objects.
GeometryGroup Represents a composite geometry, composed of other Geometry objects.
GlyphTypeface Specifies a physical font face that corresponds to a font file on the disk.
GradientBrush An abstract class that describes a gradient, composed of gradient stops. Classes that derive from GradientBrush describe different ways of interpreting gradient stops.
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.
ImageSource Provides an object source type for Source, Source, and ImageSource.
ImageSourceConverter Converts a ImageSource to and from other data types.
ImplicitInputBrush Represents the input bitmap to a shader.
JoinDomainCompletedEventArgs Provides data for the JoinDomainCompleted event.
LeaveDomainCompletedEventArgs Provides data for the LeaveDomainCompleted event.
LicenseAcquirer This class handles acquiring PlayReady licenses for protected content.
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.
LogReadyRoutedEventArgs Provides data for the LogReady event.
Matrix3DProjection Enables you to apply a Matrix3D to an object.
MatrixTransform Creates an arbitrary affine matrix transformation that is used to manipulate objects or coordinate systems in a two-dimensional plane.
MediaStreamDescription This class describes a media stream in enough detail to initialize the MediaElement and the underlying media pipeline.
MediaStreamSample This class describes a media sample in enough detail to allow the MediaElement and underlying pipeline to render the sample.
MediaStreamSource A MediaStreamSource delivers media samples directly to the media pipeline and is most often used to enable the MediaElement to use a container format not natively supported by Windows Phone.
MultiScaleTileSource Used to specify the source of Deep Zoom images.
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 shape that may be composed of arcs, curves, ellipses, lines, and rectangles.
PathSegment Represents a segment of a PathFigure object.
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 PointCollection 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.
RadialGradientBrush Paints an area with a radial gradient. A focal point defines the beginning of the gradient, and a circle defines the end point of the gradient.
RectangleGeometry Describes a two-dimensional rectangular geometry.
RenderingEventArgs Provides event data for the Rendering event.
RotateTransform Rotates an object clockwise about 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.
TextOptions Provides options for controlling the rendering behavior of text, which can be set through an attached property usage on a wide range of Windows Phone types.
TileBrush Base class that describes a way to paint a region.
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.
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.
Typeface Represents a combination of the FontFamily, FontWeight, FontStyle, and FontStretch classes.
VideoBrush Paints an area with video content.
VideoCaptureDevice Describes desired and supported video format information a camera on the device.
VideoCaptureDeviceCollection Specifies a collection of VideoCaptureDevice objects.
VideoFormat Provides specific technical information about a video format that is used by a video capture device.
VideoSink Exposes the capture graph for video devices. Derive from this class to receive video information and to obtain the capture graph through VideoSink..::.CaptureSource.
VisualTreeHelper Provides utility methods that can used to traverse object relationships (along child object or parent object axes) in the Windows Phone visual tree.

Structures

  Structure Description
Color Describes a color in terms of alpha, red, green, and blue channels.
Matrix Represents a 3x3 affine transformation matrix used for transformations in two-dimensional space.

Delegates

  Delegate Description
LogReadyRoutedEventHandler Represents the method that will handle the LogReady event.
TimelineMarkerRoutedEventHandler Represents methods that will handle various routed events related to timeline markers.

Enumerations

  Enumeration Description
AlignmentX Describes how content is positioned horizontally in a container.
AlignmentY Describes how content is positioned vertically in a container.
BrushMappingMode Specifies the coordinate system used by a Brush.
CaptureState Describes the current operation state for device capture and a capture source.
ColorInterpolationMode Determines how the colors in a gradient are interpolated.
ContentKeyType Represents the content key type.
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.
LogSource Indicates the reason that a media log was generated.
MediaElementState Defines the potential states of a MediaElement object.
MediaSampleAttributeKeys This enumeration is used in a dictionary of attributes for media samples.
MediaSourceAttributesKeys Describes the media source.
MediaStreamAttributeKeys This enumeration is used in a dictionary of attributes for media streams.
MediaStreamSourceDiagnosticKind Describes the type of diagnostic information used by the media.
MediaStreamType Enumeration that specifies the type of stream.
PenLineCap Describes the shape at the end of a line or segment.
PenLineJoin Describes the shape that joins two lines or segments.
PixelFormatType Describes format information that reports the graphics format of individual pixels of the video format.
SampleAllocationMode Provides values for specifying how the camera video buffer is maintained on Windows Phone.
Stretch Describes how content is resized to fill its allocated space.
StyleSimulations Describes the simulation style of a font.
SweepDirection Specifies the direction an elliptical arc is drawn.
TextHintingMode Specifies whether text rendering is optimized for readability or for dynamic presentation.
WaveFormatType Reports the digital signal encoding format of an audio format.