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.
| Class | Description | |
|---|---|---|
![]() | AdornerHitTestResult | Represents data returned from calling the AdornerHitTest method. |
![]() | ArcSegment | Represents an elliptical arc between two points. |
![]() | BezierSegment | Represents a cubic Bezier curve drawn between two points. |
![]() | BitmapCache | Creates and caches a bitmap representation of a UIElement. |
![]() | BitmapCacheBrush | Paints an area with cached content. |
![]() | Brush | Defines objects used to paint graphical objects. Classes that derive from Brush describe how the area is painted. |
![]() | BrushConverter | Used to convert a Brush object to or from another object type. |
![]() | Brushes | Implements a set of predefined SolidColorBrush objects. |
![]() | CacheMode | Provides a base implementation for caching a UIElement. |
![]() | CacheModeConverter | Converts a CacheMode from one data type to another. |
![]() | CharacterMetrics | Represents the metrics used to lay out a character in a device font. |
![]() | CharacterMetricsDictionary | Represents a dictionary of CharacterMetrics objects for a device font that is indexed by Unicode scalar values. |
![]() | ColorContext | Represents the International Color Consortium (ICC) or Image Color Management (ICM) color profile that is associated with a bitmap image. |
![]() | ColorConverter | Converts instances of other types to and from an instance of Color. |
![]() | Colors | Implements a set of predefined colors. |
![]() | CombinedGeometry | Represents a 2-D geometric shape defined by the combination of two Geometry objects. |
![]() | CompositionTarget | Represents the display surface of your application. |
![]() | ContainerVisual | Manages a collection of Visual objects. |
![]() | DashStyle | Represents the sequence of dashes and gaps that will be applied by a Pen. |
![]() | DashStyles | Implements a set of predefined DashStyle objects. |
![]() | DisableDpiAwarenessAttribute | Allows WPF applications to disable dots per inch (dpi) awareness for all user interface elements. |
![]() | DoubleCollection | Represents an ordered collection of Double values. |
![]() | DoubleCollectionConverter | Converts instances of other types to and from a DoubleCollection. |
![]() | Drawing | Abstract class that describes a 2-D drawing. This class cannot be inherited by your code. |
![]() | DrawingBrush | Paints an area with a Drawing, which can include shapes, text, video, images, or other drawings. |
![]() | DrawingCollection | Represents an ordered collection of Drawing objects. |
![]() | DrawingContext | Describes visual content using draw, push, and pop commands. |
![]() | DrawingGroup | Represents a collection of drawings that can be operated upon as a single drawing. |
![]() | DrawingImage | An ImageSource that uses a Drawing for content. |
![]() | DrawingVisual | DrawingVisual is a visual object that can be used to render vector graphics on the screen. The content is persisted by the system. |
![]() | EllipseGeometry | Represents the geometry of a circle or ellipse. |
![]() | ExceptionEventArgs | Provides error exception data for media events. |
![]() | FamilyTypeface | Specifies the details of a single typeface supported by a FontFamily. |
![]() | FamilyTypefaceCollection | Represents a collection of FamilyTypeface instances. |
![]() | FontEmbeddingManager | Provides functionality for physical and composite font embedding. |
![]() | FontFamily | Represents a family of related fonts. |
![]() | FontFamilyConverter | Converts instances of the String type to and from FontFamily instances. |
![]() | FontFamilyMap | Defines which FontFamily to use for a specified set of Unicode code points and a culture-specific language. |
![]() | FontFamilyMapCollection | Represents an ordered collection of FontFamilyMap objects. |
![]() | FontFamilyValueSerializer | Converts instances of String to and from instances of FontFamily. |
![]() | Fonts | Provides enumeration support for FontFamily and Typeface objects. |
![]() | FormattedText | Provides low-level control for drawing text in Windows Presentation Foundation (WPF) applications. |
![]() | GeneralTransform | Provides generalized transformation support for objects, such as points and rectangles. This is an abstract class. |
![]() | GeneralTransformCollection | Represents an ordered collection of GeneralTransform objects. |
![]() | GeneralTransformGroup | Represents a GeneralTransform that is a composite of the transforms in its GeneralTransformCollection. |
![]() | Geometry | 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. |
![]() | GeometryCollection | Represents a collection of Geometry objects. |
![]() | GeometryConverter | Converts instances of other types to and from instances of Geometry. |
![]() | GeometryDrawing | |
![]() | GeometryGroup | Represents a composite geometry, composed of other Geometry objects. |
![]() | GeometryHitTestParameters | Specifies a Geometry as the parameter to be used for hit testing a visual tree. |
![]() | GeometryHitTestResult | Returns the results of a hit test that uses a Geometry as a hit test parameter. |
![]() | GlyphRun | Represents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style. |
![]() | GlyphRunDrawing | |
![]() | 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 inherit 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. |
![]() | GuidelineSet | Represents a collection of guide lines that can assist in adjusting rendered figures to a device pixel grid. |
![]() | HitTestParameters | Defines parameters for hit testing. Classes derived from this common base class that can be used for practical hit testing include PointHitTestParameters and GeometryHitTestParameters. |
![]() | HitTestResult | Provides the base class for several derived classes that represents the return value from a hit test. |
![]() | HostVisual | Represents a Visual object that can be connected anywhere to a parent visual tree. |
![]() | ImageBrush | Paints an area with an image. |
![]() | ImageDrawing | Draws an image within a region defined by a Rect. |
![]() | ImageMetadata | Defines a base class for all metadata operations on imaging related APIs. This is an abstract class. |
![]() | ImageSource | Represents an object type that has a width, height, and ImageMetadata such as a BitmapSource and a DrawingImage. This is an abstract class. |
![]() | ImageSourceConverter | Converts a ImageSource to and from other data types. |
![]() | ImageSourceValueSerializer | Converts instances of String to and from instances of ImageSource. |
![]() | Int32Collection | Represents a collection of Int32 values. |
![]() | Int32CollectionConverter | Converts an Int32Collection to and from other data types. |
![]() | InvalidWmpVersionException | The exception that is thrown when the installed Microsoft Windows Media Player version is not supported. |
![]() | LanguageSpecificStringDictionary | Represents a dictionary of strings that are used to represent the name of an object in different languages. |
![]() | LinearGradientBrush | Paints an area with a linear gradient. |
![]() | LineGeometry | Represents the geometry of a line. |
![]() | LineSegment | Creates a line between two points in a PathFigure. |
![]() | MatrixConverter | Converts instances of other types to and from a Matrix. |
![]() | MatrixTransform | Creates an arbitrary affine matrix transformation that is used to manipulate objects or coordinate systems in a 2-D plane. |
![]() | MediaClock | Maintains the timing state for media through a MediaTimeline. |
![]() | MediaPlayer | Provides media playback for drawings. |
![]() | MediaScriptCommandEventArgs | Provides data for the ScriptCommand and ScriptCommand events. |
![]() | MediaTimeline | Provides a Timeline for media content. |
![]() | NumberSubstitution | Specifies how numbers in text are displayed in different cultures. |
![]() | 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. |
![]() | PathFigureCollectionConverter | Converts instances of other types to and from a PathFigureCollection. |
![]() | 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. |
![]() | Pen | Describes how a shape is outlined. |
![]() | PixelFormatConverter | Converts a PixelFormat to and from other data types. |
![]() | PixelFormats | Represents the collection of supported pixel formats. |
![]() | PointCollection | Represents a collection of Point values that can be individually accessed by index. |
![]() | PointCollectionConverter | Converts instances of other types to and from a PointCollection. |
![]() | PointHitTestParameters | Specifies a Point as the parameter to be used for hit testing of a visual object. |
![]() | PointHitTestResult | Represents the results of a hit test that uses a Point as a hit test parameter. |
![]() | 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. |
![]() | 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 rectangle. |
![]() | RenderCapability | Enables WPF applications to query for the current rendering tier for their associated Dispatcher object and to register for notification of changes. |
![]() | RenderingEventArgs | Required arguments for the Rendering event. |
![]() | RenderOptions | Provides options for controlling the rendering behavior of objects. |
![]() | RequestCachePolicyConverter | Parses a RequestCachePolicy. |
![]() | RotateTransform | Rotates an object clockwise about a specified point in a 2-D x-y coordinate system. |
![]() | ScaleTransform | Scales an object in the 2-D x-y coordinate system. |
![]() | SkewTransform | Represents a 2-D skew. |
![]() | SolidColorBrush | Paints an area with a solid color. |
![]() | StreamGeometry | 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. |
![]() | StreamGeometryContext | 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. |
![]() | TextEffect | Represents a text effect that can be applied to text objects. |
![]() | TextEffectCollection | Provides collection support for a collection of TextEffect objects. |
![]() | TextOptions | Defines a set of attached properties that affect the way text is displayed in an element. |
![]() | TileBrush | Describes a way to paint a region by using one or more tiles. |
![]() | Transform | 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. |
![]() | TransformCollection | Represents a collection of Transform objects that can be individually accessed by index. |
![]() | TransformConverter | Converts a Transform object to or from another object type. |
![]() | TransformGroup | |
![]() | TranslateTransform | Translates (moves) an object in the 2-D x-y coordinate system. |
![]() | Typeface | Represents a combination of FontFamily, FontWeight, FontStyle, and FontStretch. |
![]() | VectorCollection | Represents an ordered collection of Vector values. |
![]() | VectorCollectionConverter | Converts instances of other types to and from a VectorCollection. |
![]() | VideoDrawing | Plays a media file. If the media is a video file, the VideoDrawing draws it to the specified rectangle. |
![]() | Visual | Provides rendering support in WPF, which includes hit testing, coordinate transformation, and bounding box calculations. |
![]() | VisualBrush | Paints an area with a Visual. |
![]() | VisualCollection | Represents an ordered collection of Visual objects. |
![]() | VisualTarget | Provides functionality for connecting one visual tree to another visual tree across thread boundaries. |
![]() | VisualTreeHelper | Provides utility methods that perform common tasks involving nodes in a visual tree. |
| Delegate | Description | |
|---|---|---|
![]() | HitTestFilterCallback | Represents the callback method that specifies parts of the visual tree to omit from hit test processing |
![]() | HitTestResultCallback | Represents a callback that is used to customize hit testing. WPF invokes the HitTestResultCallback to report hit test intersections to the user. |
| Enumeration | Description | |
|---|---|---|
![]() | AlignmentX | Describes how content is positioned horizontally in a container. |
![]() | AlignmentY | Describes how content is positioned vertically in a container. |
![]() | BitmapScalingMode | Specifies which algorithm is used to scale bitmap images. |
![]() | BrushMappingMode | Specifies the coordinate system used by a Brush. |
![]() | CachingHint | Specifies whether to cache tiled brush objects. |
![]() | ClearTypeHint | An enumeration that specifies a hint to the rendering engine that text can be rendered with ClearType. |
![]() | ColorInterpolationMode | Determines how the colors in a gradient are interpolated. |
![]() | EdgeMode | Determines how the edges of non-text drawing primitives are rendered. |
![]() | FillRule | Specifies how the intersecting areas of PathFigure objects contained in a Geometry are combined to form the area of the Geometry. |
![]() | FontEmbeddingRight | Describes font embedding permissions specified in an OpenType font file. |
![]() | GeometryCombineMode | Specifies the different methods by which two geometries can be combined. |
![]() | GradientSpreadMethod | Specifies how to draw the gradient outside a gradient brush's gradient vector or space. |
![]() | HitTestFilterBehavior | Specifies the return behavior of a hit test in a hit test filter callback method. |
![]() | HitTestResultBehavior | Determines whether to continue the enumeration of any remaining visual objects during a hit test. |
![]() | IntersectionDetail | Provides information about the intersection between the geometries in the GeometryHitTestParameters and the visual which was hit. |
![]() | NumberCultureSource | Specifies how the culture for numbers in a text run is determined. |
![]() | NumberSubstitutionMethod | Defines an enumerator class that specifies the type of number substitution to perform on numbers in a text run. |
![]() | PenLineCap | Describes the shape at the end of a line or segment. |
![]() | PenLineJoin | Describes the shape that joins two lines or segments. |
![]() | Stretch | Describes how content is resized to fill its allocated space. |
![]() | StyleSimulations | Defines an enumerator class that describes the simulation style of a font. |
![]() | SweepDirection | Defines the direction an elliptical arc is drawn. |
![]() | TextFormattingMode | Defines the formatting methods supported by the TextFormatter class. |
![]() | TextHintingMode | Defines the rendering behavior of static or animated text. |
![]() | TextRenderingMode | Defines the supported rendering modes for text. |
![]() | TileMode | Describes how a TileBrush paints tiles onto an output area. |
![]() | ToleranceType | Determines the means by which an error tolerance value is interpreted. |



