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


Gets or sets the color of the part of the web page that is exposed due to the border skin's shape.


Border skin page color.

Syntax

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

Return Value

A Color structure that represents the color of the page area that is exposed by their rounded skin border. The default is Color.White.

Example

The following sample specifies a border skin that uses a frame in the Page_Load event. We also set the exposed part of the web page to Color.Red.
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<CRLF> Chart1.BorderSkin.SkinStyle = BorderSkinStyle.FrameThin6<CRLF> <CRLF> 'set the PageColor property to Red<CRLF> Chart1.BorderSkin.PageColor = Color.Red<CRLF><CRLF>End Sub

Remarks

This property sets the color of that portion of a web page that is exposed due to the shape of a border skin. For example, in the sample below the page area that is not covered by the border skin is set to the color blue:


 Figure 1: PageColor set to Color.Blue.

Setting this property to be transparent (e.g. Color.Transparent) will result in the color Black to be displayed. In addition, when specifying an ARGB value the Alpha component is ignored unless zero is specified (100% transparency), in which case a black color will be displayed.

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.