Windows.UI.Xaml.Media Namespace
Provides basic media support, graphics primitives, and brush-drawing API.
Classes
AcrylicBrush |
Paints an area with a semi-transparent material that uses multiple effects including blur and a noise texture. |
ArcSegment |
Represents an elliptical arc between two points. Equivalent WinUI class: Microsoft.UI.Xaml.Media.ArcSegment. |
BezierSegment |
Represents a cubic Bezier curve drawn between two points. Equivalent WinUI class: Microsoft.UI.Xaml.Media.BezierSegment. |
BitmapCache |
Represents the behavior of caching a visual element or tree of elements as bitmap surfaces. Equivalent WinUI class: Microsoft.UI.Xaml.Media.BitmapCache. |
Brush |
Defines objects used to paint graphical objects. Classes that derive from Brush describe how the area is painted. Equivalent WinUI class: Microsoft.UI.Xaml.Media.Brush. |
BrushCollection |
Represents an ordered collection of Brush values. Equivalent WinUI class: Microsoft.UI.Xaml.Media.BrushCollection. |
CacheMode |
Represents cached content modes for graphics acceleration features. Equivalent WinUI class: Microsoft.UI.Xaml.Media.CacheMode. |
CompositeTransform |
Applies multiple transform operations to an object. Equivalent WinUI class: Microsoft.UI.Xaml.Media.CompositeTransform. |
CompositionTarget |
Represents the composited display surface for an app. This class provides application-wide rendering events. Equivalent WinUI class: Microsoft.UI.Xaml.Media.CompositionTarget. |
DoubleCollection |
Represents an ordered collection of Double values. Equivalent WinUI class: Microsoft.UI.Xaml.Media.DoubleCollection. |
EllipseGeometry |
Represents the geometry of a circle or ellipse. Equivalent WinUI class: Microsoft.UI.Xaml.Media.EllipseGeometry. |
FontFamily |
Represents a family of related fonts. Equivalent WinUI class: Microsoft.UI.Xaml.Media.FontFamily. |
GeneralTransform |
Provides generalized transformation support for objects. GeneralTransform is a base class that's in the hierarchy of practical transform classes such as TranslateTransform. Equivalent WinUI class: Microsoft.UI.Xaml.Media.GeneralTransform. |
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 graphical data as a Path. Equivalent WinUI class: Microsoft.UI.Xaml.Media.Geometry. |
GeometryCollection |
Represents a collection of Geometry objects. Equivalent WinUI class: Microsoft.UI.Xaml.Media.GeometryCollection. |
GeometryGroup |
Represents a composite geometry, composed of other Geometry objects. Equivalent WinUI class: Microsoft.UI.Xaml.Media.GeometryGroup. |
GradientBrush |
An abstract class that describes a gradient, composed of gradient stops. Equivalent WinUI class: Microsoft.UI.Xaml.Media.GradientBrush. |
GradientStop |
Describes the location and color of a transition point in a gradient. Equivalent WinUI class: Microsoft.UI.Xaml.Media.GradientStop. |
GradientStopCollection |
Represents a collection of GradientStop objects that can be individually accessed by index. Equivalent WinUI class: Microsoft.UI.Xaml.Media.GradientStopCollection. |
ImageBrush |
Paints an area with an image. The image source is typically obtained from file formats such as Joint Photographic Experts Group (JPEG). Equivalent WinUI class: Microsoft.UI.Xaml.Media.ImageBrush. |
ImageSource |
Provides an object source type for the Image.Source and ImageBrush.ImageSource properties. Equivalent WinUI class: Microsoft.UI.Xaml.Media.ImageSource. |
LinearGradientBrush |
Paints an area with a linear gradient. Equivalent WinUI class: Microsoft.UI.Xaml.Media.LinearGradientBrush. |
LineGeometry |
Represents the geometry of a line. Equivalent WinUI class: Microsoft.UI.Xaml.Media.LineGeometry. |
LineSegment |
Represents a line drawn between two points, which can be part of a PathFigure within Path data. Equivalent WinUI class: Microsoft.UI.Xaml.Media.LineSegment. |
LoadedImageSourceLoadCompletedEventArgs |
Provides event data for the LoadedImageSurface.LoadCompleted event. Equivalent WinUI class: Microsoft.UI.Xaml.Media.LoadedImageSourceLoadCompletedEventArgs. |
LoadedImageSurface |
Represents a composition surface that an image can be downloaded, decoded and loaded onto. You can load an image using a Uniform Resource Identifier (URI) that references an image source file, or supplying a IRandomAccessStream. Equivalent WinUI class: Microsoft.UI.Xaml.Media.LoadedImageSurface. |
Matrix3DProjection |
Applies a Matrix3D projection to an object. Equivalent WinUI class: Microsoft.UI.Xaml.Media.Matrix3DProjection. |
MatrixHelper |
Provides static helper methods for processing Matrix values. C# and Microsoft Visual Basic code should use members of Matrix instead. Equivalent WinUI class: Microsoft.UI.Xaml.Media.MatrixHelper. |
MatrixTransform |
Creates an arbitrary affine matrix transformation that is used to manipulate objects or coordinate systems in a two-dimensional plane. Equivalent WinUI class: Microsoft.UI.Xaml.Media.MatrixTransform. |
MediaTransportControlsThumbnailRequestedEventArgs |
Provides data for the MediaTransportControls.ThumbnailRequested event. Equivalent WinUI class: Microsoft.UI.Xaml.Media.MediaTransportControlsThumbnailRequestedEventArgs. |
PartialMediaFailureDetectedEventArgs |
Provides data for the PartialMediaFailureDetected event. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PartialMediaFailureDetectedEventArgs. |
PathFigure |
Represents a subsection of a geometry, a single connected series of two-dimensional geometric segments. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PathFigure. |
PathFigureCollection |
Represents a collection of PathFigure objects that collectively make up the geometry of a PathGeometry. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PathFigureCollection. |
PathGeometry |
Represents a complex vector-based shape that may be composed of arcs, curves, ellipses, lines, and rectangles. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PathGeometry. |
PathSegment |
Represents a segment of a PathFigure object. Derived classes of PathFigure describe different types of segments. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PathSegment. |
PathSegmentCollection |
Represents a collection of PathSegment objects that can be individually accessed by index. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PathSegmentCollection. |
PlaneProjection |
Represents a perspective transform (a 3-D-like effect) on an object. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PlaneProjection. |
PointCollection |
Represents a collection of Point values that can be individually accessed by index. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PointCollection. |
PolyBezierSegment |
Represents one or more cubic Bezier curves. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PolyBezierSegment. |
PolyLineSegment |
Represents a set of line segments defined by a Point collection with each Point specifying the end point of a line segment. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PolyLineSegment. |
PolyQuadraticBezierSegment |
Represents a set of quadratic Bezier segments. Equivalent WinUI class: Microsoft.UI.Xaml.Media.PolyQuadraticBezierSegment. |
Projection |
Provides a base class for projections, which describe how to transform an object in 3-D space using perspective transforms. Equivalent WinUI class: Microsoft.UI.Xaml.Media.Projection. |
QuadraticBezierSegment |
Creates a quadratic Bezier curve between two points in a PathFigure. Equivalent WinUI class: Microsoft.UI.Xaml.Media.QuadraticBezierSegment. |
RateChangedRoutedEventArgs |
Provides event data for the RateChanged event. Equivalent WinUI class: Microsoft.UI.Xaml.Media.RateChangedRoutedEventArgs. |
RectangleGeometry |
Describes a two-dimensional rectangular geometry. Equivalent WinUI class: Microsoft.UI.Xaml.Media.RectangleGeometry. |
RenderedEventArgs |
Provides event data for the Rendered event. Equivalent WinUI class: Microsoft.UI.Xaml.Media.RenderedEventArgs. |
RenderingEventArgs |
Provides event data for the Rendering event. Equivalent WinUI class: Microsoft.UI.Xaml.Media.RenderingEventArgs. |
RevealBackgroundBrush |
Paints a control background with a reveal effect using composition brush and light effects. |
RevealBorderBrush |
Paints a control border with a reveal effect using composition brush and light effects. |
RevealBrush |
Base class for brushes that use composition effects and lighting to implement the reveal visual design treatment. |
RotateTransform |
Rotates an object around a specified point in a two-dimensional x-y coordinate system. Equivalent WinUI class: Microsoft.UI.Xaml.Media.RotateTransform. |
ScaleTransform |
Scales an object in the two-dimensional x-y coordinate system. Equivalent WinUI class: Microsoft.UI.Xaml.Media.ScaleTransform. |
Shadow |
The base class for shadow effects that can be applied to a XAML element. Equivalent WinUI class: Microsoft.UI.Xaml.Media.Shadow. |
SkewTransform |
Represents a two-dimensional skew. Equivalent WinUI class: Microsoft.UI.Xaml.Media.SkewTransform. |
SolidColorBrush |
Paints an area with a solid color. The solid color is defined by a Color value. Equivalent WinUI class: Microsoft.UI.Xaml.Media.SolidColorBrush. |
ThemeShadow |
A ThemeShadow is a preconfigured shadow effect that can be applied to any XAML element to draw shadows appropriately based on x, y, z coordinates. ThemeShadow also automatically adjusts for other environmental specifications:
Equivalent WinUI class: Microsoft.UI.Xaml.Media.ThemeShadow. |
TileBrush |
Base class that describes a way to paint a region. Parent of ImageBrush. Equivalent WinUI class: Microsoft.UI.Xaml.Media.TileBrush. |
TimelineMarker |
Represents metadata associated with a specific point in a media file. Equivalent WinUI class: Microsoft.UI.Xaml.Media.TimelineMarker. |
TimelineMarkerCollection |
Represents a collection of TimelineMarker objects that can be individually accessed by index. A TimelineMarkerCollection is an ordered list where the order is determined by the Time value of each TimelineMarker item contained in the collection. For more info on how this affects the collection API, see Remarks. Equivalent WinUI class: Microsoft.UI.Xaml.Media.TimelineMarkerCollection. |
TimelineMarkerRoutedEventArgs |
Provides event data for the MarkerReached event. Equivalent WinUI class: Microsoft.UI.Xaml.Media.TimelineMarkerRoutedEventArgs. |
Transform |
Defines functionality that enables transformations in a two-dimensional plane. Equivalent WinUI class: Microsoft.UI.Xaml.Media.Transform. |
TransformCollection |
Represents a collection of Transform objects that can be individually accessed by index. Equivalent WinUI class: Microsoft.UI.Xaml.Media.TransformCollection. |
TransformGroup |
Represents a composite Transform composed of other Transform objects. Equivalent WinUI class: Microsoft.UI.Xaml.Media.TransformGroup. |
TranslateTransform |
Translates (moves) an object in the two-dimensional x-y coordinate system. Equivalent WinUI class: Microsoft.UI.Xaml.Media.TranslateTransform. |
VisualTreeHelper |
Provides utility methods that can be used to traverse object relationships (along child-object or parent-object axes) in the visual tree of your app. Equivalent WinUI class: Microsoft.UI.Xaml.Media.VisualTreeHelper. |
XamlCompositionBrushBase |
Provides a base class used to create XAML brushes that paint an area with a CompositionBrush. Equivalent WinUI class: Microsoft.UI.Xaml.Media.XamlCompositionBrushBase. |
XamlLight |
Provides a base class used to create XAML lights that use a CompositionLight to apply lighting effects to XAML elements and brushes. Equivalent WinUI class: Microsoft.UI.Xaml.Media.XamlLight. |
Structs
Matrix |
Represents a 3 × 3 affine transformation matrix used for transformations in two-dimensional space. Equivalent WinUI struct: Matrix. |
Enums
AcrylicBackgroundSource |
Defines values that specify whether the brush samples from the app content or from the content behind the app window. |
AlignmentX |
Describes how content is positioned horizontally in a container. Equivalent WinUI enum: AlignmentX. |
AlignmentY |
Describes how content is positioned vertically in a container. Equivalent WinUI enum: AlignmentY. |
AudioCategory |
Describes the purpose of the audio information in an audio stream. Used as a value by AudioCategory. Equivalent WinUI enum: AudioCategory. |
AudioDeviceType |
Describes the primary usage of the device that is being used to play back audio. This value is used by AudioDeviceType. Equivalent WinUI enum: AudioDeviceType. |
BrushMappingMode |
Specifies the coordinate system used by a Brush. Equivalent WinUI enum: BrushMappingMode. |
ColorInterpolationMode |
Determines how the colors in a gradient are interpolated. Equivalent WinUI enum: ColorInterpolationMode. |
ElementCompositeMode |
Declares alternate composition and blending modes for elements in mixed XAML / Microsoft DirectX UI. Equivalent WinUI enum: ElementCompositeMode. |
FastPlayFallbackBehaviour |
Defines constants that specify how MediaTransportControls fast-forward/backward buttons behave. Equivalent WinUI enum: FastPlayFallbackBehaviour. |
FillRule |
Specifies how the intersecting areas of PathFigure objects contained in a Geometry are combined to form the area of the Geometry. Equivalent WinUI enum: FillRule. |
GradientSpreadMethod |
Specifies how to draw the gradient outside a gradient brush's gradient vector or space. Equivalent WinUI enum: GradientSpreadMethod. |
LoadedImageSourceLoadStatus |
Defines constants that specify whether an image loaded, or why it failed to load. Equivalent WinUI enum: Microsoft.UI.Xaml.Media.LoadedImageSourceLoadStatus. |
MediaCanPlayResponse |
Describes the likelihood that the media engine can play a media source based on its file type and characteristics. Equivalent WinUI enum: MediaCanPlayResponse. |
MediaElementState |
Defines the potential states of a MediaElement object. Equivalent WinUI enum: MediaElementState. |
PenLineCap |
Describes the shape at the end of a line or segment. Equivalent WinUI enum: PenLineCap. |
PenLineJoin |
Describes the shape that joins two lines or segments. Equivalent WinUI enum: PenLineJoin. |
RevealBrushState |
Defines constants that specify the pointer state of an element. |
Stereo3DVideoPackingMode |
Describes the frame-packing mode for stereo 3-D video content. Equivalent WinUI enum: Stereo3DVideoPackingMode. |
Stereo3DVideoRenderMode |
Describes the stereo 3-D video render mode for the current media source. Equivalent WinUI enum: Stereo3DVideoRenderMode. |
Stretch |
Describes how content is resized to fill its allocated space. Equivalent WinUI enum: Stretch. |
StyleSimulations |
Describes the simulation style of a font. Equivalent WinUI enum: StyleSimulations. |
SweepDirection |
Specifies the direction in which an elliptical arc is drawn. Equivalent WinUI enum: SweepDirection. |
Delegates
RateChangedRoutedEventHandler |
Represents the method that will handle the RateChanged event. This event fires when PlaybackRate or DefaultPlaybackRate change either via user interaction or from code. Equivalent WinUI delegate: Microsoft.UI.Xaml.Media.RateChangedRoutedEventHandler. |
TimelineMarkerRoutedEventHandler |
Represents methods that will handle various routed events related to timeline markers. Equivalent WinUI delegate: Microsoft.UI.Xaml.Media.TimelineMarkerRoutedEventHandler. |