Export (0) Print
Expand All

TextBlock::Inlines Property

Gets an InlineCollection containing the top-level Inline elements that comprise the contents of the TextBlock.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public:
property InlineCollection^ Inlines {
	InlineCollection^ get ();
}
<object>
  <InlineCollection .../>
</object>

Property Value

Type: System.Windows.Documents::InlineCollection
An InlineCollection containing the Inline elements that comprise the contents of the TextBlock.

Use the InlineCollection returned by this property to enumerate or manipulate the contents of a TextBlock.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft