Class ChartWatermarkElement
Renders the chart watermark.
Inheritance
Implements
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartWatermarkElement : FrameworkElement, IDisposable
Constructors
ChartWatermarkElement()
Declaration
public ChartWatermarkElement()
Fields
WatermarkProperty
Using a DependencyProperty as the backing store for watermark. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty WatermarkProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
XAxisProperty
Using a DependencyProperty as the backing store for XAxis. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty XAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
YAxisProperty
Using a DependencyProperty as the backing store for YAxis. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty YAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Watermark
Gets or sets the watermark.
Declaration
public Brush Watermark { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The Watermark. |
XAxis
Gets or sets the X axis.
Declaration
public ChartAxis XAxis { get; set; }
Property Value
Type | Description |
---|---|
ChartAxis | The X axis. |
YAxis
Gets or sets the Y axis.
Declaration
public ChartAxis YAxis { get; set; }
Property Value
Type | Description |
---|---|
ChartAxis | The Y axis. |
Methods
Dispose()
Declaration
public void Dispose()
OnRender(DrawingContext)
When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.
Declaration
protected override void OnRender(DrawingContext drawingContext)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.DrawingContext | drawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |