RelativeSource::PreviousData Property
.NET Framework (current version)
Gets a static value that is used to return a RelativeSource constructed for the PreviousData mode.
Assembly: PresentationFramework (in PresentationFramework.dll)
Three of the four RelativeSourceMode values, PreviousData, Self, or TemplatedParent, can produce a RelativeSource that is wholly static, containing no unique private values. All uses of the static property can share the same object, eliminating the need to allocate separate objects for each use. Therefore, using the static property reduces memory usage.
For XAML information, see RelativeSource MarkupExtension.
.NET Framework
Available since 3.0
Available since 3.0
Show: