FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWindowless Class : SetElementStyle Method |
Overload | Description |
---|---|
SetElementStyle(ElementStyle) | Sets the style for the element. |
SetElementStyle(ElementStyle,Boolean) | Sets the style for the element and clears unset properties. |
Use this method to specify an ElementStyle object that contains the settings for the element. The ElementStyle object provides settings for appearance, including colors, alignment, and margins.
For more information, see the ElementStyle class.
To return the ElementStyle object for an element, use the GetElementStyle method.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10