Dundas Chart for ASP.NET
SkinStyle Property
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl Namespace > BorderSkinAttributes Class : SkinStyle Property


Gets or sets the border skin style to be used.


Skin border style.

Syntax

Visual Basic (Declaration)  
Public Property SkinStyle As BorderSkinStyle
Visual Basic (Usage) Copy Code
Dim instance As BorderSkinAttributes
Dim value As BorderSkinStyle
 
instance.SkinStyle = value
 
value = instance.SkinStyle
C#  
public BorderSkinStyle SkinStyle {get; set;}

Return Value

A BorderSkinStyle enumeration value that determines if a skin is used, and if so the style of the skin. The default is BorderSkinStyle.None.

Example

The following sample specifies a border skin that uses a thick frame in the Page_Load event. We also set the chart title, which will be displayed within the skin's frame.
Visual Basic Copy Code
Imports Dundas.Charting.WebControl<CRLF>...<CRLF><CRLF>Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<CRLF><CRLF> 'specify skin style that uses a thick frame, and a title for the chart<CRLF> Chart1.BorderSkin.SkinStyle = BorderSkinStyle.FrameTitle1<CRLF> Chart1.Title = "My Chart"<CRLF><CRLF>End Sub

Remarks

There are two types of border skin styles: those that do not use frames (e.g. BorderSkinStyle.Raised) and those that use a frame (e.g. BorderSkinStyle.FrameTitle8).

Setting FrameXXX properties for border skins that do not use frames will have no effect.

Border styles with frames will display the chart title differently. Borders with a "thin" frame (e.g. BorderSkinStyle.FrameThin1) display the chart title beneath the top-horizontal section of the frame. Thick frames (e.g. BorderSkinStyle.FrameTitle1), however, will display the chart title within the top-horizontal section of the frame (see Figure 1 below).


Figure 1: ThickFrame and Chart title.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.