XamlType.LookupIsWhitespaceSignificantCollection Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a value that indicates whether this XamlType represents a whitespace significant collection, as per the XML definition.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

protected virtual bool LookupIsWhitespaceSignificantCollection()

Return Value

Type: System.Boolean

true if this XamlType represents a white-space significant collection; otherwise, false.

This method can be invoked by calls to IsWhitespaceSignificantCollection.

The default implementation returns a value based on reading WhitespaceSignificantCollectionAttribute. It can also check the BaseType for the attribute if no attribute is found on the immediate underlying type. If a value is not available, it returns false.

Override this method if you want IsWhitespaceSignificantCollection to use different logic.

.NET Framework
Available since 4.0
Return to top