Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Windows.Media Namespace

 

Provides types that enable integration of rich media, including drawings, text, and audio/video content in Windows Presentation Foundation (WPF) applications.

ClassDescription
System_CAPS_pubclassAdornerHitTestResult

Represents data returned from calling the AdornerHitTest method.

System_CAPS_pubclassArcSegment

Represents an elliptical arc between two points.

System_CAPS_pubclassBezierSegment

Represents a cubic Bezier curve drawn between two points.

System_CAPS_pubclassBitmapCache

Creates and caches a bitmap representation of a UIElement.

System_CAPS_pubclassBitmapCacheBrush

Paints an area with cached content.

System_CAPS_pubclassBrush

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

System_CAPS_pubclassBrushConverter

Used to convert a Brush object to or from another object type.

System_CAPS_pubclassBrushes

Implements a set of predefined SolidColorBrush objects.

System_CAPS_pubclassCacheMode

Provides a base implementation for caching a UIElement.

System_CAPS_pubclassCacheModeConverter

Converts a CacheMode from one data type to another.

System_CAPS_pubclassCharacterMetrics

Represents the metrics used to lay out a character in a device font.

System_CAPS_pubclassCharacterMetricsDictionary

Represents a dictionary of CharacterMetrics objects for a device font that is indexed by Unicode scalar values.

System_CAPS_pubclassColorContext

Represents the International Color Consortium (ICC) or Image Color Management (ICM) color profile that is associated with a bitmap image.

System_CAPS_pubclassColorConverter

Converts instances of other types to and from an instance of Color.

System_CAPS_pubclassColors

Implements a set of predefined colors.

System_CAPS_pubclassCombinedGeometry

Represents a 2-D geometric shape defined by the combination of two Geometry objects.

System_CAPS_pubclassCompositionTarget

Represents the display surface of your application.

System_CAPS_pubclassContainerVisual

Manages a collection of Visual objects.

System_CAPS_pubclassDashStyle

Represents the sequence of dashes and gaps that will be applied by a Pen.

System_CAPS_pubclassDashStyles

Implements a set of predefined DashStyle objects.

System_CAPS_pubclassDisableDpiAwarenessAttribute

Allows WPF applications to disable dots per inch (dpi) awareness for all user interface elements.

System_CAPS_pubclassDoubleCollection

Represents an ordered collection of Double values.

System_CAPS_pubclassDoubleCollectionConverter

Converts instances of other types to and from a DoubleCollection.

System_CAPS_pubclassDrawing

Abstract class that describes a 2-D drawing. This class cannot be inherited by your code.

System_CAPS_pubclassDrawingBrush

Paints an area with a Drawing, which can include shapes, text, video, images, or other drawings.

System_CAPS_pubclassDrawingCollection

Represents an ordered collection of Drawing objects.

System_CAPS_pubclassDrawingContext

Describes visual content using draw, push, and pop commands.

System_CAPS_pubclassDrawingGroup

Represents a collection of drawings that can be operated upon as a single drawing.

System_CAPS_pubclassDrawingImage

An ImageSource that uses a Drawing for content.

System_CAPS_pubclassDrawingVisual

DrawingVisual is a visual object that can be used to render vector graphics on the screen. The content is persisted by the system.

System_CAPS_pubclassEllipseGeometry

Represents the geometry of a circle or ellipse.

System_CAPS_pubclassExceptionEventArgs

Provides error exception data for media events.

System_CAPS_pubclassFamilyTypeface

Specifies the details of a single typeface supported by a FontFamily.

System_CAPS_pubclassFamilyTypefaceCollection

Represents a collection of FamilyTypeface instances.

System_CAPS_pubclassFontEmbeddingManager

Provides functionality for physical and composite font embedding.

System_CAPS_pubclassFontFamily

Represents a family of related fonts.

System_CAPS_pubclassFontFamilyConverter

Converts instances of the String type to and from FontFamily instances.

System_CAPS_pubclassFontFamilyMap

Defines which FontFamily to use for a specified set of Unicode code points and a culture-specific language.

System_CAPS_pubclassFontFamilyMapCollection

Represents an ordered collection of FontFamilyMap objects.

System_CAPS_pubclassFontFamilyValueSerializer

Converts instances of String to and from instances of FontFamily.

System_CAPS_pubclassFonts

Provides enumeration support for FontFamily and Typeface objects.

System_CAPS_pubclassFormattedText

Provides low-level control for drawing text in Windows Presentation Foundation (WPF) applications.

System_CAPS_pubclassGeneralTransform

Provides generalized transformation support for objects, such as points and rectangles. This is an abstract class.

System_CAPS_pubclassGeneralTransformCollection

Represents an ordered collection of GeneralTransform objects.

System_CAPS_pubclassGeneralTransformGroup

Represents a GeneralTransform that is a composite of the transforms in its GeneralTransformCollection.

System_CAPS_pubclassGeometry

Classes that derive from this abstract base class define geometric shapes. Geometry objects can be used for clipping, hit-testing, and rendering 2-D graphic data.

System_CAPS_pubclassGeometryCollection

Represents a collection of Geometry objects.

System_CAPS_pubclassGeometryConverter

Converts instances of other types to and from instances of Geometry.

System_CAPS_pubclassGeometryDrawing

Draws a Geometry using the specified Brush and Pen.

System_CAPS_pubclassGeometryGroup

Represents a composite geometry, composed of other Geometry objects.

System_CAPS_pubclassGeometryHitTestParameters

Specifies a Geometry as the parameter to be used for hit testing a visual tree.

System_CAPS_pubclassGeometryHitTestResult

Returns the results of a hit test that uses a Geometry as a hit test parameter.

System_CAPS_pubclassGlyphRun

Represents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style.

System_CAPS_pubclassGlyphRunDrawing

Represents a Drawing object that renders a GlyphRun.

System_CAPS_pubclassGlyphTypeface

Specifies a physical font face that corresponds to a font file on the disk.

System_CAPS_pubclassGradientBrush

An abstract class that describes a gradient, composed of gradient stops. Classes that inherit from GradientBrush describe different ways of interpreting gradient stops.

System_CAPS_pubclassGradientStop

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

System_CAPS_pubclassGradientStopCollection

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

System_CAPS_pubclassGuidelineSet

Represents a collection of guide lines that can assist in adjusting rendered figures to a device pixel grid.

System_CAPS_pubclassHitTestParameters

Defines parameters for hit testing. Classes derived from this common base class that can be used for practical hit testing include PointHitTestParameters and GeometryHitTestParameters.

System_CAPS_pubclassHitTestResult

Provides the base class for several derived classes that represents the return value from a hit test.

System_CAPS_pubclassHostVisual

Represents a Visual object that can be connected anywhere to a parent visual tree.

System_CAPS_pubclassImageBrush

Paints an area with an image.

System_CAPS_pubclassImageDrawing

Draws an image within a region defined by a Rect.

System_CAPS_pubclassImageMetadata

Defines a base class for all metadata operations on imaging related APIs. This is an abstract class.

System_CAPS_pubclassImageSource

Represents an object type that has a width, height, and ImageMetadata such as a BitmapSource and a DrawingImage. This is an abstract class.

System_CAPS_pubclassImageSourceConverter

Converts a ImageSource to and from other data types.

System_CAPS_pubclassImageSourceValueSerializer

Converts instances of String to and from instances of ImageSource.

System_CAPS_pubclassInt32Collection

Represents a collection of Int32 values.

System_CAPS_pubclassInt32CollectionConverter

Converts an Int32Collection to and from other data types.

System_CAPS_pubclassInvalidWmpVersionException

The exception that is thrown when the installed Microsoft Windows Media Player version is not supported. 

System_CAPS_pubclassLanguageSpecificStringDictionary

Represents a dictionary of strings that are used to represent the name of an object in different languages.

System_CAPS_pubclassLinearGradientBrush

Paints an area with a linear gradient.

System_CAPS_pubclassLineGeometry

Represents the geometry of a line.

System_CAPS_pubclassLineSegment

Creates a line between two points in a PathFigure.

System_CAPS_pubclassMatrixConverter

Converts instances of other types to and from a Matrix.

System_CAPS_pubclassMatrixTransform

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

System_CAPS_pubclassMediaClock

Maintains the timing state for media through a MediaTimeline.

System_CAPS_pubclassMediaPlayer

Provides media playback for drawings.

System_CAPS_pubclassMediaScriptCommandEventArgs

Provides data for the ScriptCommand and ScriptCommand events.

System_CAPS_pubclassMediaTimeline

Provides a Timeline for media content.

System_CAPS_pubclassNumberSubstitution

Specifies how numbers in text are displayed in different cultures.

System_CAPS_pubclassPathFigure

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

System_CAPS_pubclassPathFigureCollection

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

System_CAPS_pubclassPathFigureCollectionConverter

Converts instances of other types to and from a PathFigureCollection.

System_CAPS_pubclassPathGeometry

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

System_CAPS_pubclassPathSegment

Represents a segment of a PathFigure object.

System_CAPS_pubclassPathSegmentCollection

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

System_CAPS_pubclassPen

Describes how a shape is outlined.

System_CAPS_pubclassPixelFormatConverter

Converts a PixelFormat to and from other data types.

System_CAPS_pubclassPixelFormats

Represents the collection of supported pixel formats.

System_CAPS_pubclassPointCollection

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

System_CAPS_pubclassPointCollectionConverter

Converts instances of other types to and from a PointCollection.

System_CAPS_pubclassPointHitTestParameters

Specifies a Point as the parameter to be used for hit testing of a visual object.

System_CAPS_pubclassPointHitTestResult

Represents the results of a hit test that uses a Point as a hit test parameter.

System_CAPS_pubclassPolyBezierSegment

Represents one or more cubic Bezier curves.

System_CAPS_pubclassPolyLineSegment

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

System_CAPS_pubclassPolyQuadraticBezierSegment

Represents a set of quadratic Bezier segments.

System_CAPS_pubclassQuadraticBezierSegment

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

System_CAPS_pubclassRadialGradientBrush

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.

System_CAPS_pubclassRectangleGeometry

Describes a two-dimensional rectangle.

System_CAPS_pubclassRenderCapability

Enables WPF applications to query for the current rendering tier for their associated Dispatcher object and to register for notification of changes.

System_CAPS_pubclassRenderingEventArgs

Required arguments for the Rendering event.

System_CAPS_pubclassRenderOptions

Provides options for controlling the rendering behavior of objects.

System_CAPS_pubclassRequestCachePolicyConverter
System_CAPS_pubclassRotateTransform

Rotates an object clockwise about a specified point in a 2-D x-y coordinate system.

System_CAPS_pubclassScaleTransform

Scales an object in the 2-D x-y coordinate system.

System_CAPS_pubclassSkewTransform

Represents a 2-D skew.

System_CAPS_pubclassSolidColorBrush

Paints an area with a solid color.

System_CAPS_pubclassStreamGeometry

Defines a geometric shape, described using a StreamGeometryContext. This geometry is light-weight alternative to PathGeometry: it does not support data binding, animation, or modification.

System_CAPS_pubclassStreamGeometryContext

Describes a geometry using drawing commands. This class is used with the StreamGeometry class to create a lightweight geometry that does not support data binding, animation, or modification.

System_CAPS_pubclassTextEffect

Represents a text effect that can be applied to text objects.

System_CAPS_pubclassTextEffectCollection

Provides collection support for a collection of TextEffect objects.

System_CAPS_pubclassTextOptions

Defines a set of attached properties that affect the way text is displayed in an element.

System_CAPS_pubclassTileBrush

Describes a way to paint a region by using one or more tiles.

System_CAPS_pubclassTransform

Defines functionality that enables transformations in a 2-D plane. Transformations include rotation (RotateTransform), scale (ScaleTransform), skew (SkewTransform), and translation (TranslateTransform). This class hierarchy differs from the Matrix structure because it is a class and it supports animation and enumeration semantics.

System_CAPS_pubclassTransformCollection

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

System_CAPS_pubclassTransformConverter

Converts a Transform object to or from another object type.

System_CAPS_pubclassTransformGroup

Represents a composite Transform composed of other Transform objects.

System_CAPS_pubclassTranslateTransform

Translates (moves) an object in the 2-D x-y coordinate system.

System_CAPS_pubclassTypeface

Represents a combination of FontFamily, FontWeight, FontStyle, and FontStretch.

System_CAPS_pubclassVectorCollection

Represents an ordered collection of Vector values.

System_CAPS_pubclassVectorCollectionConverter

Converts instances of other types to and from a VectorCollection.

System_CAPS_pubclassVideoDrawing

Plays a media file. If the media is a video file, the VideoDrawing draws it to the specified rectangle.

System_CAPS_pubclassVisual

Provides rendering support in WPF, which includes hit testing, coordinate transformation, and bounding box calculations.

System_CAPS_pubclassVisualBrush

Paints an area with a Visual.

System_CAPS_pubclassVisualCollection

Represents an ordered collection of Visual objects.

System_CAPS_pubclassVisualTarget

Provides functionality for connecting one visual tree to another visual tree across thread boundaries.

System_CAPS_pubclassVisualTreeHelper

Provides utility methods that perform common tasks involving nodes in a visual tree.

StructureDescription
System_CAPS_pubstructureColor

Describes a color in terms of alpha, red, green, and blue channels.

System_CAPS_pubstructureDoubleCollection.Enumerator

Enumerates Double items in a DoubleCollection.

System_CAPS_pubstructureDrawingCollection.Enumerator

Enumerates Drawing items in a DrawingCollection.

System_CAPS_pubstructureGeneralTransformCollection.Enumerator
System_CAPS_pubstructureGeometryCollection.Enumerator

Enumerates Geometry items in a GeometryCollection.

System_CAPS_pubstructureGradientStopCollection.Enumerator

Enumerates GradientStop items in a GradientStopCollection.

System_CAPS_pubstructureInt32Collection.Enumerator

Enumerates Int32 items in a Int32Collection.

System_CAPS_pubstructurePathFigureCollection.Enumerator

Enumerates PathFigure items in a PathFigureCollection.

System_CAPS_pubstructurePathSegmentCollection.Enumerator

Supports a simple iteration over a PathSegmentCollection.

System_CAPS_pubstructurePointCollection.Enumerator

Enumerates Point items in a PointCollection.

System_CAPS_pubstructureTextEffectCollection.Enumerator

Enumerates TextEffect items in a TextEffectCollection.

System_CAPS_pubstructureTransformCollection.Enumerator

Supports a simple iteration over a TransformCollection.

System_CAPS_pubstructureVectorCollection.Enumerator

Enumerates Vector items in a VectorCollection.

System_CAPS_pubstructureVisualCollection.Enumerator

Enumerates Visual items in a VisualCollection.

System_CAPS_pubstructureMatrix

Represents a 3x3 affine transformation matrix used for transformations in 2-D space.

System_CAPS_pubstructurePixelFormat

Defines a pixel format for images and pixel-based surfaces.

System_CAPS_pubstructurePixelFormatChannelMask

Defines the bit mask and shift for a specific pixel formats

DelegateDescription
System_CAPS_pubdelegateHitTestFilterCallback

Represents the callback method that specifies parts of the visual tree to omit from hit test processing

System_CAPS_pubdelegateHitTestResultCallback

Represents a callback that is used to customize hit testing. WPF invokes the HitTestResultCallback to report hit test intersections to the user.

EnumerationDescription
System_CAPS_pubenumAlignmentX

Describes how content is positioned horizontally in a container.

System_CAPS_pubenumAlignmentY

Describes how content is positioned vertically in a container.

System_CAPS_pubenumBitmapScalingMode

Specifies which algorithm is used to scale bitmap images.

System_CAPS_pubenumBrushMappingMode

Specifies the coordinate system used by a Brush.

System_CAPS_pubenumCachingHint

Specifies whether to cache tiled brush objects.

System_CAPS_pubenumClearTypeHint

An enumeration that specifies a hint to the rendering engine that text can be rendered with ClearType.

System_CAPS_pubenumColorInterpolationMode

Determines how the colors in a gradient are interpolated.

System_CAPS_pubenumEdgeMode

Determines how the edges of non-text drawing primitives are rendered.

System_CAPS_pubenumFillRule

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

System_CAPS_pubenumFontEmbeddingRight

Describes font embedding permissions specified in an OpenType font file.

System_CAPS_pubenumGeometryCombineMode

Specifies the different methods by which two geometries can be combined.

System_CAPS_pubenumGradientSpreadMethod

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

System_CAPS_pubenumHitTestFilterBehavior

Specifies the return behavior of a hit test in a hit test filter callback method.

System_CAPS_pubenumHitTestResultBehavior

Determines whether to continue the enumeration of any remaining visual objects during a hit test.

System_CAPS_pubenumIntersectionDetail

Provides information about the intersection between the geometries in the GeometryHitTestParameters and the visual which was hit.

System_CAPS_pubenumNumberCultureSource

Specifies how the culture for numbers in a text run is determined.

System_CAPS_pubenumNumberSubstitutionMethod

Defines an enumerator class that specifies the type of number substitution to perform on numbers in a text run.

System_CAPS_pubenumPenLineCap

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

System_CAPS_pubenumPenLineJoin

Describes the shape that joins two lines or segments.

System_CAPS_pubenumStretch

Describes how content is resized to fill its allocated space.

System_CAPS_pubenumStyleSimulations

Defines an enumerator class that describes the simulation style of a font.

System_CAPS_pubenumSweepDirection

Defines the direction an elliptical arc is drawn.

System_CAPS_pubenumTextFormattingMode

Defines the formatting methods supported by the TextFormatter class.

System_CAPS_pubenumTextHintingMode

Defines the rendering behavior of static or animated text.

System_CAPS_pubenumTextRenderingMode

Defines the supported rendering modes for text.

System_CAPS_pubenumTileMode

Describes how a TileBrush paints tiles onto an output area.

System_CAPS_pubenumToleranceType

Determines the means by which an error tolerance value is interpreted.

Return to top
Show:
© 2017 Microsoft