Panel.ShouldSerializeChildren Method ()


Determines whether the Children collection of a panel should be serialized.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Function ShouldSerializeChildren As Boolean

Return Value

Type: System.Boolean

true if the Children collection should be serialized; otherwise, false. The Children collection is only serialized if it is not empty and not null.

.NET Framework
Available since 3.0
Return to top