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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2