Export (0) Print
Expand All
Expand Minimize

LineBreakCondition Enumeration

Describes the breaking condition around an inline object.

Namespace: System.Windows
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public enum LineBreakCondition
public enum LineBreakCondition
public enum LineBreakCondition
<object property="EnumerationValue" .../>

 Member nameDescription
BreakAlwaysBreak is always allowed. 
BreakDesiredBreak if not prohibited by another object. 
BreakPossibleBreak if allowed by another object. 
BreakRestrainedBreak 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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft