Export (0) Print
Expand All

Panel.ShouldSerializeChildren Method

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

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

public bool ShouldSerializeChildren()
You cannot use methods in XAML.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2015 Microsoft