Spread Windows Forms 11.0 Product Documentation
SetElementStyle(ElementStyle) Method


FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWindowless Class > SetElementStyle Method : SetElementStyle(ElementStyle) Method
ElementStyle object containing the style of the element
Sets the style for the element.
Syntax
'Declaration
 
Public Overloads Overridable Sub SetElementStyle( _
   ByVal style As ElementStyle _
) 
'Usage
 
Dim instance As ElementWindowless
Dim style As ElementStyle
 
instance.SetElementStyle(style)
public virtual void SetElementStyle( 
   ElementStyle style
)

Parameters

style
ElementStyle object containing the style of the element
Remarks

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.

See Also

Reference

ElementWindowless Class
ElementWindowless Members
Overload List
GetElementStyle Method
ElementStyle Class