Skip to main content

ImageFillStyle Class

The fill style that paints a surface using an image.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public class ImageFillStyle :
    FillStyleBase

Remarks

The following image shows this fill style in action.

ImageFillStyle-Example

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 Property Description
Chart3DControl.SeriesSource The series source of the Chart3D control.
Series3DStorage The storage of manually created series.
Series3D An individual series.
Series3DBase.View The view of the series.
SurfaceSeriesView The Surface series view.
Series3D.PointSource The source of series points.
SeriesPoint3DMatrixAdapter Generates series points from arguments and value arrays.
<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>
See Also