Skip to main content
PanelShouldSerializeChildren Method

Determines whether the collection of a panel should be serialized.

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

public bool ShouldSerializeChildren()
bool ShouldSerializeChildren()
member ShouldSerializeChildren : unit -> bool
Public Function ShouldSerializeChildren As Boolean

Return Value


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

Version Information
.NET Framework
Available since 3.0
Return to top