LineBreakCondition Enum

Definition

Describes the breaking condition around an inline object.

public enum LineBreakCondition
Inheritance
LineBreakCondition

Fields

Name Value Description
BreakDesired 0

Break if not prohibited by another object.

BreakPossible 1

Break if allowed by another object.

BreakRestrained 2

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

BreakAlways 3

Break is always allowed.

Remarks

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

Applies to

Produkt Wersje
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9