[]
        
(Showing Draft Content)

FarPoint.Win.ElementWindowless.SetElementStyle

SetElementStyle Method

SetElementStyle(ElementStyle)

Sets the style for the element.

Declaration
public virtual void SetElementStyle(ElementStyle style)
Public Overridable Sub SetElementStyle(style As ElementStyle)
Parameters
Type Name Description
ElementStyle style

ElementStyle object containing the style of the element

SetElementStyle(ElementStyle, bool)

Sets the style for the element and clears unset properties.

Declaration
public virtual void SetElementStyle(ElementStyle style, bool clearUnsetProps)
Public Overridable Sub SetElementStyle(style As ElementStyle, clearUnsetProps As Boolean)
Parameters
Type Name Description
ElementStyle style

ElementStyle object that contains the element style

bool clearUnsetProps

Whether to reset properties that are not set in the element to their default settings