Expand Minimize

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
Public classAdornerHitTestResultRepresents data returned from calling the AdornerHitTest method.
Public classArcSegment Represents an elliptical arc between two points.
Public classBezierSegmentRepresents a cubic Bezier curve drawn between two points.
Public classBrushDefines objects used to paint graphical objects. Classes that derive from Brush describe how the area is painted.
Public classBrushConverter Used to convert a Brush object to or from another object type.
Public classBrushesImplements a set of predefined SolidColorBrush objects.
Public classCharacterMetricsRepresents the metrics used to lay out a character in a device font.
Public classCharacterMetricsDictionaryRepresents a dictionary of CharacterMetrics objects for a device font that is indexed by Unicode scalar values.
Public classColorContextRepresents the International Color Consortium (ICC) or Image Color Management (ICM) color profile that is associated with a bitmap image.
Public classColorConverter Converts instances of other types to and from an instance of Color.
Public classColorsImplements a set of predefined colors.
Public classCombinedGeometryRepresents a 2-D geometric shape defined by the combination of two Geometry objects.
Public classCompositionTargetRepresents the display surface of your application.
Public classContainerVisualManages a collection of Visual objects.
Public classDashStyleRepresents the sequence of dashes and gaps that will be applied by a Pen.
Public classDashStylesImplements a set of predefined DashStyle objects.
Public classDisableDpiAwarenessAttributeAllows WPF applications to disable dots per inch (dpi) awareness for all user interface elements.
Public classDoubleCollection Represents an ordered collection of Double values.
Public classDoubleCollectionConverterConverts instances of other types to and from a DoubleCollection.
Public classDrawingAbstract class that describes a 2-D drawing. This class cannot be inherited by your code.
Public classDrawingBrushPaints an area with a Drawing, which can include shapes, text, video, images, or other drawings.
Public classDrawingCollectionRepresents an ordered collection of Drawing objects.
Public classDrawingContextDescribes visual content using draw, push, and pop commands.
Public classDrawingGroupRepresents a collection of drawings that can be operated upon as a single drawing.
Public classDrawingImage An ImageSource that uses a Drawing for content.
Public classDrawingVisualDrawingVisual is a visual object that can be used to render vector graphics on the screen. The content is persisted by the system.
Public classEllipseGeometryRepresents the geometry of a circle or ellipse.
Public classExceptionEventArgsProvides error exception data for media events.
Public classFamilyTypefaceSpecifies the details of a single typeface supported by a FontFamily.
Public classFamilyTypefaceCollectionRepresents a collection of FamilyTypeface instances.
Public classFontEmbeddingManagerProvides functionality for physical and composite font embedding.
Public classFontFamilyRepresents a family of related fonts.
Public classFontFamilyConverterConverts instances of the String type to and from FontFamily instances.
Public classFontFamilyMapDefines which FontFamily to use for a specified set of Unicode code points and a culture-specific language.
Public classFontFamilyMapCollectionRepresents an ordered collection of FontFamilyMap objects.
Public classFontFamilyValueSerializerConverts instances of String to and from instances of FontFamily.
Public classFontsProvides enumeration support for FontFamily and Typeface objects.
Public classFormattedTextProvides low-level control for drawing text in Windows Presentation Foundation (WPF) applications.
Public classGeneralTransformProvides generalized transformation support for objects, such as points and rectangles. This is an abstract class.
Public classGeneralTransformCollectionRepresents an ordered collection of GeneralTransform objects.
Public classGeneralTransformGroupRepresents a GeneralTransform that is a composite of the transforms in its GeneralTransformCollection.
Public classGeometryClasses 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.
Public classGeometryCollection Represents a collection of Geometry objects.
Public classGeometryConverterConverts instances of other types to and from instances of Geometry.
Public classGeometryDrawingDraws a Geometry using the specified Brush and Pen.
Public classGeometryGroupRepresents a composite geometry, composed of other Geometry objects.
Public classGeometryHitTestParametersSpecifies a Geometry as the parameter to be used for hit testing a visual tree.
Public classGeometryHitTestResultReturns the results of a hit test that uses a Geometry as a hit test parameter.
Public classGlyphRunRepresents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style.
Public classGlyphRunDrawingRepresents a Drawing object that renders a GlyphRun.
Public classGlyphTypefaceSpecifies a physical font face that corresponds to a font file on the disk.
Public classGradientBrush An abstract class that describes a gradient, composed of gradient stops. Classes that inherit from GradientBrush describe different ways of interpreting gradient stops.
Public classGradientStop Describes the location and color of a transition point in a gradient.
Public classGradientStopCollectionRepresents a collection of GradientStop objects that can be individually accessed by index.
Public classGuidelineSetRepresents a collection of guide lines that can assist in adjusting rendered figures to a device pixel grid.
Public classHitTestParametersDefines parameters for hit testing. Classes derived from this common base class that can be used for practical hit testing include PointHitTestParameters and GeometryHitTestParameters.
Public classHitTestResultProvides the base class for several derived classes that represents the return value from a hit test.
Public classHostVisualRepresents a Visual object that can be connected anywhere to a parent visual tree.
Public classImageBrushPaints an area with an image.
Public classImageDrawing Draws an image within a region defined by a Rect.
Public classImageMetadataDefines a base class for all metadata operations on imaging related APIs. This is an abstract class.
Public classImageSourceRepresents a object type that has a width, height, and ImageMetadata such as a BitmapSource and a DrawingImage. This is an abstract class.
Public classImageSourceConverterConverts a ImageSource to and from other data types.
Public classImageSourceValueSerializerConverts instances of String to and from instances of ImageSource.
Public classInt32CollectionRepresents a collection of Int32 values.
Public classInt32CollectionConverterConverts an Int32Collection to and from other data types.
Public classInvalidWmpVersionExceptionThe exception that is thrown when the installed Microsoft Windows Media Player version is not supported. 
Public classLanguageSpecificStringDictionaryRepresents a dictionary of strings that are used to represent the name of an object in different languages.
Public classLinearGradientBrushPaints an area with a linear gradient.
Public classLineGeometryRepresents the geometry of a line.
Public classLineSegmentCreates a line between two points in a PathFigure.
Public classMatrixConverterConverts instances of other types to and from a Matrix.
Public classMatrixTransformCreates an arbitrary affine matrix transformation that is used to manipulate objects or coordinate systems in a 2-D plane. 
Public classMediaClockMaintains the timing state for media through a MediaTimeline.
Public classMediaPlayerProvides media playback for drawings.
Public classMediaScriptCommandEventArgsProvides data for the ScriptCommand and ScriptCommand events.
Public classMediaTimelineProvides a Timeline for media content.
Public classNumberSubstitutionSpecifies how numbers in text are displayed in different cultures.
Public classPathFigureRepresents a subsection of a geometry, a single connected series of two-dimensional geometric segments.
Public classPathFigureCollection Represents a collection of PathFigure objects that collectively make up the geometry of a PathGeometry.
Public classPathFigureCollectionConverterConverts instances of other types to and from a PathFigureCollection.
Public classPathGeometryRepresents a complex shape that may be composed of arcs, curves, ellipses, lines, and rectangles.
Public classPathSegmentRepresents a segment of a PathFigure object.
Public classPathSegmentCollectionRepresents a collection of PathSegment objects that can be individually accessed by index.
Public classPen Describes how a shape is outlined.
Public classPixelFormatConverterConverts a PixelFormat to and from other data types.
Public classPixelFormatsRepresents the collection of supported pixel formats.
Public classPointCollection Represents a collection of Point values that can be individually accessed by index.
Public classPointCollectionConverterConverts instances of other types to and from a PointCollection.
Public classPointHitTestParametersSpecifies a Point as the parameter to be used for hit testing of a visual object.
Public classPointHitTestResultRepresents the results of a hit test that uses a Point as a hit test parameter.
Public classPolyBezierSegmentRepresents one or more cubic Bezier curves.
Public classPolyLineSegment Represents a set of line segments defined by a PointCollection with each Point specifying the end point of a line segment.
Public classPolyQuadraticBezierSegment Represents a set of quadratic Bezier segments.
Public classQuadraticBezierSegmentCreates a quadratic Bezier curve between two points in a PathFigure.
Public classRadialGradientBrushPaints 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.
Public classRectangleGeometry Describes a two-dimensional rectangle.
Public classRenderCapabilityEnables WPF applications to query for the current rendering tier for their associated Dispatcher object and to register for notification of changes.
Public classRenderingEventArgsRequired arguments for the Rendering event.
Public classRenderOptionsProvides options for controlling the rendering behavior of objects.
Public classRequestCachePolicyConverterParses a RequestCachePolicy.
Public classRotateTransformRotates an object clockwise about a specified point in a 2-D x-y coordinate system.
Public classScaleTransformScales an object in the 2-D x-y coordinate system.
Public classSkewTransformRepresents a 2-D skew.
Public classSolidColorBrush Paints an area with a solid color.
Public classStreamGeometryDefines a geometric shape, described using a StreamGeometryContext. This geometry is light-weight alternative to PathGeometry: it does not support data binding, animation, or modification.
Public classStreamGeometryContextDescribes 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.
Public classTextEffectRepresents a text effect that can be applied to text objects.
Public classTextEffectCollectionProvides collection support for a collection of TextEffect objects.
Public classTileBrushDescribes a way to paint a region by using one or more tiles.
Public classTransformDefines 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.
Public classTransformCollection Represents a collection of Transform objects that can be individually accessed by index.
Public classTransformConverterConverts a Transform object to or from another object type.
Public classTransformGroupRepresents a composite Transform composed of other Transform objects.
Public classTranslateTransformTranslates (moves) an object in the 2-D x-y coordinate system.
Public classTypefaceRepresents a combination of FontFamily, FontWeight, FontStyle, and FontStretch.
Public classVectorCollectionRepresents an ordered collection of Vector values.
Public classVectorCollectionConverterConverts instances of other types to and from a VectorCollection.
Public classVideoDrawingPlays a media file. If the media is a video file, the VideoDrawing draws it to the specified rectangle.
Public classVisualProvides rendering support in WPF, which includes hit testing, coordinate transformation, and bounding box calculations.
Public classVisualBrushPaints an area with a Visual.
Public classVisualCollectionRepresents an ordered collection of Visual objects.
Public classVisualTargetProvides functionality for connecting one visual tree to another visual tree across thread boundaries.
Public classVisualTreeHelperProvides utility methods that perform common tasks involving nodes in a visual tree.

  StructureDescription
Public structureColorDescribes a color in terms of alpha, red, green, and blue channels.
Public structureDoubleCollection.EnumeratorEnumerates Double items in a DoubleCollection.
Public structureDrawingCollection.EnumeratorEnumerates Drawing items in a DrawingCollection.
Public structureGeneralTransformCollection.EnumeratorEnumerates GeneralTransform items in a GeneralTransformCollection.
Public structureGeometryCollection.EnumeratorEnumerates Geometry items in a GeometryCollection.
Public structureGradientStopCollection.EnumeratorEnumerates GradientStop items in a GradientStopCollection.
Public structureInt32Collection.EnumeratorEnumerates Int32 items in a Int32Collection.
Public structureMatrix Represents a 3x3 affine transformation matrix used for transformations in 2-D space.
Public structurePathFigureCollection.EnumeratorEnumerates PathFigure items in a PathFigureCollection.
Public structurePathSegmentCollection.EnumeratorSupports a simple iteration over a PathSegmentCollection.
Public structurePixelFormatDefines a pixel format for images and pixel-based surfaces.
Public structurePixelFormatChannelMaskDefines the bit mask and shift for a specific pixel formats
Public structurePointCollection.EnumeratorEnumerates Point items in a PointCollection.
Public structureTextEffectCollection.EnumeratorEnumerates TextEffect items in a TextEffectCollection.
Public structureTransformCollection.EnumeratorSupports a simple iteration over a TransformCollection.
Public structureVectorCollection.EnumeratorEnumerates Vector items in a VectorCollection.
Public structureVisualCollection.EnumeratorEnumerates Visual items in a VisualCollection.

  DelegateDescription
Public delegateHitTestFilterCallbackRepresents the callback method that specifies parts of the visual tree to omit from hit test processing
Public delegateHitTestResultCallbackRepresents a callback that is used to customize hit testing. WPF invokes the HitTestResultCallback to report hit test intersections to the user.

  EnumerationDescription
Public enumerationAlignmentXDescribes how content is positioned horizontally in a container.
Public enumerationAlignmentYDescribes how content is positioned vertically in a container.
Public enumerationBitmapScalingModeSpecifies which algorithm is used to scale bitmap images.
Public enumerationBrushMappingModeSpecifies the coordinate system used by a Brush.
Public enumerationCachingHintSpecifies whether to cache tiled brush objects.
Public enumerationColorInterpolationModeDetermines how the colors in a gradient are interpolated.
Public enumerationEdgeModeDetermines how the edges of non-text drawing primitives are rendered.
Public enumerationFillRule Specifies how the intersecting areas of PathFigure objects contained in a Geometry are combined to form the area of the Geometry.
Public enumerationFontEmbeddingRightDescribes font embedding permissions specified in an OpenType font file.
Public enumerationGeometryCombineModeSpecifies the different methods by which two geometries can be combined.
Public enumerationGradientSpreadMethodSpecifies how to draw the gradient outside a gradient brush's gradient vector or space.
Public enumerationHitTestFilterBehaviorSpecifies the return behavior of a hit test in a hit test filter callback method.
Public enumerationHitTestResultBehaviorDetermines whether to continue the enumeration of any remaining visual objects during a hit test.
Public enumerationIntersectionDetailProvides information about the intersection between the geometries in the GeometryHitTestParameters and the visual which was hit.
Public enumerationNumberCultureSourceSpecifies how the culture for numbers in a text run is determined.
Public enumerationNumberSubstitutionMethodDefines an enumerator class that specifies the type of number substitution to perform on numbers in a text run.
Public enumerationPenLineCapDescribes the shape at the end of a line or segment.
Public enumerationPenLineJoinDescribes the shape that joins two lines or segments.
Public enumerationStretchDescribes how content is resized to fill its allocated space.
Public enumerationStyleSimulationsDefines an enumerator class that describes the simulation style of a font.
Public enumerationSweepDirectionDefines the direction an elliptical arc is drawn.
Public enumerationTileModeDescribes how a TileBrush paints tiles onto an output area.
Public enumerationToleranceTypeDetermines the means by which an error tolerance value is interpreted.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft