LineBreakCondition Enumeration
TOC
Collapse the table of content
Expand the table of content

LineBreakCondition Enumeration

 

Describes the breaking condition around an inline object.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

Public Enumeration LineBreakCondition

Member nameDescription
BreakAlways

Break is always allowed.

BreakDesired

Break if not prohibited by another object.

BreakPossible

Break if allowed by another object.

BreakRestrained

Break always prohibited unless the other object is set to BreakAlways.

This enumeration describes whether a break is permitted for an inline object. This break is affected by the LineBreakCondition of the inline object before it (if any). In the table below, the values across the top represent LineBreakCondition values for one inline object while the values on the left represent values of another inline object. A value of "True" or "False" is indicated depending on whether a line break is permitted between the two inline objects.

BreakDesired

BreakPossible

BreakRestrained

BreakAlways

BreakDesired

True

True

False

True

BreakPossible

True

False

False

True

BreakRestrained

False

False

False

True

BreakAlways

True

True

True

True

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft