[]
        
(Showing Draft Content)

C1.Framework.Html.HtmlDiv.BreakBefore

BreakBefore Method

BreakBefore(Element, int, int)

Gets a value that determines whether a line break should be inserted before a given element.

Declaration
protected override bool BreakBefore(Element e, int lineEnd, int width)
Parameters
Type Name Description
Element e

Element to test for a line break.

int lineEnd

Position of the line end if no breaks are added.

int width

Width available for rendering the paragraph.

Returns
Type Description
bool

True if a line break should be inserted before the given element.

Overrides