Legend.BorderWidth 属性

定义

获取或设置图例的边框宽度。Gets or sets the border width of a legend.

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

属性值

Int32

一个 integer 值,该值确定图例边框的宽度(以像素为单位)。An integer value that determines the border width, in pixels, of the legend.

属性

注解

请注意, BorderWidth 属性还可以将此类元素中的线条宽度设置为折线图、以 "line" 样式显示的自定义图例项等。Note that BorderWidth property can also set the width of lines in such elements as line charts, custom legend items displayed with a "line" style, and so forth.

适用于