Cliquez pour évaluer et commenter
MSDN
MSDN Library
Développement .NET
Versions précédentes
.NET Framework 3.0
Bibliothèque de classes
System.Windows.Media
This page is specific to
.NET Framework 3.0

Other versions are also available for the following:
System.Windows.Media, espace de noms
Defines objects that enable integration of rich media, including drawings, text, and audio/video content within Windows Presentation Foundation (WPF) applications.
 ClasseDescription
Classe publiqueAdornerHitTestResultRepresents data returned from calling the AdornerHitTest method.
Classe publiqueArcSegment Represents an elliptical arc between two points.
Classe publiqueBezierSegmentRepresents a cubic Bezier curve drawn between two points.
Classe publiqueBrushDefines objects used to paint graphical objects. Classes that derive from Brush describe how the area is painted.
Classe publiqueBrushConverter Used to convert a Brush object to or from another object type.
Classe publiqueBrushesImplements a set of predefined SolidColorBrush objects.
Classe publiqueCharacterMetricsRepresents the metrics used to lay out a character in a device font.
Classe publiqueCharacterMetricsDictionaryRepresents a dictionary of CharacterMetrics objects for a device font that is indexed by Unicode scalar values.
Classe publiqueColorContextRepresents the International Color Consortium (ICC) or Image Color Management (ICM) color profile that is associated with a bitmap image.
Classe publiqueColorConverter Converts instances of other types to and from an instance of Color.
Classe publiqueColorsImplements a set of predefined colors.
Classe publiqueCombinedGeometryRepresents a 2-D geometric shape defined by the combination of two Geometry objects.
Classe publiqueCompositionTargetRepresents the display surface of your application.
Classe publiqueContainerVisualManages a collection of Visual objects.
Classe publiqueDashStyle Represents the sequence of dashes and gaps that will be applied by a Pen.
Classe publiqueDashStylesImplements a set of predefined DashStyle objects.
Classe publiqueDisableDpiAwarenessAttributeAllows WPF applications to disable dots per inch (dpi) awareness for all user interface elements.
Classe publiqueDoubleCollection Represents an ordered collection of Double values.
Classe publiqueDoubleCollectionConverterConverts instances of other types to and from a DoubleCollection.
Classe publiqueDrawingAbstract class that describes a 2-D drawing. This class cannot be inherited by your code.
Classe publiqueDrawingBrushPaints an area with a Drawing, which can include shapes, text, video, images, or other drawings.
Classe publiqueDrawingCollectionRepresents an ordered collection of Drawing objects.
Classe publiqueDrawingContextDescribes visual content using draw, push, and pop commands.
Classe publiqueDrawingGroupRepresents a collection of drawings that can be operated upon as a single drawing.
Classe publiqueDrawingImage An ImageSource that uses a Drawing for content.
Classe publiqueDrawingVisualDrawingVisual is a visual object that can be used to render vector graphics on the screen. The content is persisted by the system.
Classe publiqueEllipseGeometryRepresents the geometry of a circle or ellipse.
Classe publiqueExceptionEventArgsProvides error exception data for media events.
Classe publiqueFamilyTypefaceSpecifies the details of a single typeface supported by a FontFamily.
Classe publiqueFamilyTypefaceCollectionRepresents a collection of FamilyTypeface instances.
Classe publiqueFontEmbeddingManagerProvides functionality for physical and composite font embedding.
Classe publiqueFontFamilyRepresents a family of related fonts.
Classe publiqueFontFamilyConverterConverts instances of the String type to and from FontFamily instances.
Classe publiqueFontFamilyMapDefines which FontFamily to use for a specified set of Unicode code points and a culture-specific language.
Classe publiqueFontFamilyMapCollectionRepresents an ordered collection of FontFamilyMap objects.
Classe publiqueFontFamilyValueSerializerConverts instances of String to and from instances of FontFamily.
Classe publiqueFontsProvides enumeration support for FontFamily and TypeFace objects.
Classe publiqueFormattedTextThe FormattedText object provides low-level control for drawing text in Windows Presentation Foundation (WPF) applications.
Classe publiqueGeneralTransformProvides generalized transformation support for objects, such as points and rectangles. This is an abstract class.
Classe publiqueGeneralTransformCollectionRepresents an ordered collection of GeneralTransform objects.
Classe publiqueGeneralTransformGroupRepresents a GeneralTransform that is a composite of the transforms in its GeneralTransformCollection.
Classe publiqueGeometryClasses 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.
Classe publiqueGeometryCollection Represents a collection of Geometry objects. This class cannot be inherited.
Classe publiqueGeometryConverterConverts instances of other types to and from instances of Geometry.
Classe publiqueGeometryDrawingDraws a Geometry using the specified Brush and Pen.
Classe publiqueGeometryGroupRepresents a composite geometry, composed of other Geometry objects.
Classe publiqueGeometryHitTestParametersSpecifies a Geometry as the parameter to be used for hit testing a visual tree.
Classe publiqueGeometryHitTestResultReturns the results of a hit test that uses a Geometry as a hit test parameter.
Classe publiqueGlyphRunRepresents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style.
Classe publiqueGlyphRunDrawingRepresents a Drawing object that renders a GlyphRun. This class cannot be inherited.
Classe publiqueGlyphTypefaceSpecifies a physical font face that corresponds to a font file on the disk.
Classe publiqueGradientBrush An abstract class that describes a gradient, composed of gradient stops. Classes that inherit from GradientBrush describe different ways of interpreting gradient stops.
Classe publiqueGradientStop Describes the location and color of a transition point in a gradient.
Classe publiqueGradientStopCollectionRepresents a collection of GradientStop objects that can be individually accessed by index.
Classe publiqueGuidelineSetRepresents a collection of guide lines that can assist in adjusting rendered figures to a device pixel grid.
Classe publiqueHitTestParametersAn abstract class for defining parameters for a hit test.
Classe publiqueHitTestResultA base class that represents the Visual that is returned from a hit test.
Classe publiqueHostVisualRepresents a Visual object that can be connected anywhere to a parent visual tree.
Classe publiqueImageBrushPaints an area with an image.
Classe publiqueImageDrawing Draws an image within a region defined by a Rect.
Classe publiqueImageMetadataDefines a base class for all metadata operations on imaging related APIs. This is an abstract class.
Classe publiqueImageSourceRepresents a object type that has a width, height, and ImageMetadata such as a BitmapSource and a DrawingImage. This is an abstract class.
Classe publiqueImageSourceConverterConverts a ImageSource to and from other data types.
Classe publiqueImageSourceValueSerializerConverts instances of String to and from instances of ImageSource.
Classe publiqueInt32CollectionRepresents a collection of Int32 values.
Classe publiqueInt32CollectionConverterConverts an Int32Collection to and from other data types.
Classe publiqueInvalidWmpVersionExceptionThe exception that is thrown when the installed Microsoft Windows Media Player version is not supported.
Classe publiqueLanguageSpecificStringDictionaryRepresents a dictionary of strings that are used to represent the name of an object in different languages.
Classe publiqueLinearGradientBrushPaints an area with a linear gradient. This class cannot be inherited.
Classe publiqueLineGeometryRepresents the geometry of a line. This class cannot be inherited.
Classe publiqueLineSegmentDraws a line between two points in a PathFigure.
Classe publiqueMatrixConverterConverts instances of other types to and from a Matrix.
Classe publiqueMatrixTransformCreates an arbitrary affine matrix transformation that is used to manipulate objects or coordinate systems in a 2-D plane.
Classe publiqueMediaClockMaintains the timing state for media through a MediaTimeline.
Classe publiqueMediaPlayerProvides media playback for drawings.
Classe publiqueMediaScriptCommandEventArgsProvides data for the ScriptCommand and ScriptCommand events.
Classe publiqueMediaTimelineProvides a Timeline for media content.
Classe publiqueNumberSubstitutionSpecifies how numbers in text are displayed in different cultures.
Classe publiquePathFigureRepresents a subsection of a geometry, a single connected series of two-dimensional geometric segments.
Classe publiquePathFigureCollection Represents a collection of PathFigure objects that collectively make up the geometry of a PathGeometry.
Classe publiquePathFigureCollectionConverterConverts instances of other types to and from a PathFigureCollection.
Classe publiquePathGeometryRepresents a complex shape that may be composed of arcs, curves, ellipses, lines, and rectangles.
Classe publiquePathSegmentRepresents a segment of a PathFigure object.
Classe publiquePathSegmentCollectionRepresents a collection of PathSegment objects that can be individually accessed by index.
Classe publiquePen Describes how a shape is outlined.
Classe publiquePixelFormatConverterConverts a PixelFormat to and from other data types.
Classe publiquePixelFormatsRepresents the collection of supported pixel formats.
Classe publiquePointCollection Represents a collection of Point values that can be individually accessed by index.
Classe publiquePointCollectionConverterConverts instances of other types to and from a PointCollection.
Classe publiquePointHitTestParametersSpecifies a Point as the parameter to be used for hit testing of a visual object.
Classe publiquePointHitTestResultReturns the results of a hit test that uses a Point as a hit test parameter.
Classe publiquePolyBezierSegmentRepresents one or more cubic Bezier curves.
Classe publiquePolyLineSegment Represents a set of line segments defined by a PointCollection with each Point specifying the end point of a line segment.
Classe publiquePolyQuadraticBezierSegment Represents a set of quadratic Bezier segments.
Classe publiqueQuadraticBezierSegment Represents a quadratic Bezier curve drawn between two points.
Classe publiqueRadialGradientBrush 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.
Classe publiqueRectangleGeometry Describes a two-dimensional rectangle.
Classe publiqueRenderCapabilityEnables WPF applications to query for the current rendering tier for their associated Dispatcher object and to register for notification of changes. This is an abstract class.
Classe publiqueRenderingEventArgsRequired arguments for the Rendering event.
Classe publiqueRenderOptionsProvides options for controlling the rendering behavior of objects. This class cannot be inherited.
Classe publiqueRotateTransformRotates an object clockwise about a specified point in a 2-D x-y coordinate system.
Classe publiqueScaleTransformScales an object in the 2-D x-y coordinate system.
Classe publiqueSkewTransformRepresents a 2-Dskew.
Classe publiqueSolidColorBrush Paints an area with a solid color.
Classe publiqueStreamGeometryDefines a geometric shape, described using a StreamGeometryContext. This geometry is light-weight alternative to PathGeometry: it does not support data binding, animation, or modification.
Classe publiqueStreamGeometryContextDescribes 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.
Classe publiqueTextEffectRepresents a text effect that can be applied to text objects.
Classe publiqueTextEffectCollectionA collection of TextEffect objects. This class cannot be inherited.
Classe publiqueTileBrushDescribes a way to paint a region by using one or more tiles.
Classe publiqueTransformDefines 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.
Classe publiqueTransformCollection Represents a collection of Transform objects that can be individually accessed by index.
Classe publiqueTransformConverterConverts a Transform object to or from another object type.
Classe publiqueTransformGroupRepresents a composite Transform composed of other Transform objects.
Classe publiqueTranslateTransformTranslates (moves) an object in the 2-D x-y coordinate system.
Classe publiqueTypefaceRepresents a combination of FontFamily, FontWeight, FontStyle, and FontStretch.
Classe publiqueVectorCollection Represents an ordered collection of Vector values.
Classe publiqueVectorCollectionConverterConverts instances of other types to and from a VectorCollection.
Classe publiqueVideoDrawingPlays a media file. If the media is a video file, the VideoDrawing draws it to the specified rectangle.
Classe publiqueVisualProvides rendering support in WPF, which includes hit testing, coordinate transformation, and bounding box calculations.
Classe publiqueVisualBrush Paints an area with a Visual.
Classe publiqueVisualCollectionAn ordered collection of Visual objects. This class cannot be inherited.
Classe publiqueVisualTargetProvides functionality for connecting one visual tree to another visual tree across thread boundaries.
Classe publiqueVisualTreeHelperContains static methods that are useful for performing common tasks with nodes in a visual tree. This class cannot be inherited.
 StructureDescription
Structure publiqueColor Describes a color in terms of alpha, red, green, and blue channels.
Structure publiqueDoubleCollection.EnumeratorEnumerates Double items in a DoubleCollection.
Structure publiqueDrawingCollection.EnumeratorEnumerates Drawing items in a DrawingCollection.
Structure publiqueGeneralTransformCollection.EnumeratorEnumerates GeneralTransform items in a GeneralTransformCollection.
Structure publiqueGeometryCollection.EnumeratorEnumerates Geometry items in a GeometryCollection.
Structure publiqueGradientStopCollection.EnumeratorEnumerates GradientStop items in a GradientStopCollection.
Structure publiqueInt32Collection.EnumeratorEnumerates Int32 items in a Int32Collection.
Structure publiqueMatrix Represents a 3x3 affine transformation matrix used for transformations in 2-D space.
Structure publiquePathFigureCollection.EnumeratorEnumerates PathFigure items in a PathFigureCollection.
Structure publiquePathSegmentCollection.Enumerator 
Structure publiquePixelFormatDefines a pixel format for images and pixel-based surfaces.
Structure publiquePixelFormatChannelMaskDefines the bit mask and shift for a specific pixel formats
Structure publiquePointCollection.EnumeratorEnumerates Point items in a PointCollection.
Structure publiqueTextEffectCollection.EnumeratorEnumerates TextEffect items in a TextEffectCollection.
Structure publiqueTransformCollection.EnumeratorSupports a simple iteration over a TransformCollection.
Structure publiqueVectorCollection.EnumeratorEnumerates Vector items in a VectorCollection.
Structure publiqueVisualCollection.EnumeratorEnumerates Visual items in a VisualCollection.
 DéléguéDescription
Délégué publicHitTestFilterCallbackThe delegate that is used in hit testing that allows you to ignore parts of the visual tree that you are not interested in processing in your hit test results.
Délégué publicHitTestResultCallbackWPF invokes the HitTestResultCallbac