Spread Windows Forms 7.0 Product Documentation
ElementStyle Class
Members  See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace : ElementStyle Class

Glossary Item Box

Represents the element style object.

Object Model

ElementStyle ClassPicture ClassIBorder InterfacePicture Class


Visual Basic (Declaration) 
Public Class ElementStyle 
Visual Basic (Usage)Copy Code
Dim instance As ElementStyle
public class ElementStyle 


Styles let you set several properties for an element. You can save styles and name them, then use them for other controls.

Any properties that are not set for a style are not applied to a control. For example, if you do not set the BackColor property for a style, when you apply the style to a control, the control retains its original background color.

Conversely, properties that are set are applied to a control and override its property settings. If you set the BackColor property for a control and a style, then apply the style to the control, the control displays the style's background color setting.

Inheritance Hierarchy



Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.