Version

ShouldSerializeProperty Method

Determines if the value of the specified property should be serialized.
Syntax
'Declaration
 
Protected Overrides Function ShouldSerializeProperty( _
   ByVal dp As DependencyProperty _
) As Boolean
protected override bool ShouldSerializeProperty( 
   DependencyProperty dp
)

Parameters

dp
The dependency property being evaluated.

Return Value

Return false for the IsSelectedProperty and the value from the base implementation for all other properties.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also