Edit

Share via


LegendItem.ShadowOffset Property

Definition

Gets or sets the shadow offset, in pixels, of a legend item.

public:
 property int ShadowOffset { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public int ShadowOffset { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.ShadowOffset : int with get, set
Public Property ShadowOffset As Integer

Property Value

An integer value that represents the shadow offset, in pixels, of the relevant chart element.

Attributes

Remarks

To implement shadowing, use a value other than zero (0). A positive value will result in a shadow that shifts down and to the right. A negative value will result in a shadow that shifts up and to the left.

Note This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Applies to