編輯

共用方式為


LegendItem.BorderWidth Property

Definition

Gets or sets the border width of a legend item.

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

Property Value

An integer value that determines the width, in pixels, of the legend item border.

Attributes

Remarks

The BorderWidth property can also be used to set the width of lines when, for example, custom legend items are displayed with a Line style.

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

Applies to