Dundas Chart for Windows Forms
PageColor Property
See Also  Example Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl 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.WinControl
...

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    'specify skin style
    Chart1.BorderSkin.SkinStyle = BorderSkinStyle.FrameThin6

    'set the PageColor property to Red
    Chart1.BorderSkin.PageColor = Color.Red

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.

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

© 2009 All Rights Reserved.