Back to Devexpress

ImageFillStyle Class

wpf-devexpress-dot-xpf-dot-charts-313bd2e6.md

latest3.1 KB
Original Source

ImageFillStyle Class

The fill style that paints a surface using an image.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public class ImageFillStyle :
    FillStyleBase
vb
Public Class ImageFillStyle
    Inherits FillStyleBase

Remarks

The following image shows this fill style in action.

Example

In this example, the manually created series will be populated with points generated from arguments and value arrays.

The following classes and properties are used in this example.

Class or PropertyDescription
Chart3DControl.SeriesSourceThe series source of the Chart3D control.
Series3DStorageThe storage of manually created series.
Series3DAn individual series.
Series3DBase.ViewThe view of the series.
SurfaceSeriesViewThe Surface series view.
Series3D.PointSourceThe source of series points.
SeriesPoint3DMatrixAdapterGenerates series points from arguments and value arrays.
xaml
<dxc:Series3D DisplayName="Height Map">
    <dxc:SeriesPoint3DMatrixAdapter XArguments="{Binding ImageData.XArguments}" 
                                    YArguments="{Binding ImageData.YArguments}" 
                                    Values="{Binding ImageData.Values}"/>
    <dxc:Series3D.View>
        <dxc:SurfaceSeriesView>
            <dxc:SurfaceSeriesView.FillStyle>
                <dxc:ImageFillStyle ImageSource="/HeightMap;component/Data/DXLogo.png"/>
            </dxc:SurfaceSeriesView.FillStyle>
        </dxc:SurfaceSeriesView>
    </dxc:Series3D.View>
</dxc:Series3D>

Inheritance

Object DispatcherObject DependencyObject Freezable Chart3DDependencyObject FillStyleBase ImageFillStyle

See Also

Colorization

ImageFillStyle Members

DevExpress.Xpf.Charts Namespace