Panel.ShouldSerializeChildren Method ()


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

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

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

public bool ShouldSerializeChildren()

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