Visual Basic (Declaration) | |
---|---|
Public Class ElementStyle |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ElementStyle |
C# | |
---|---|
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.
System.Object
FarPoint.Win.ElementStyle
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8