Order of Property and Event Processing in WPF
At run-time, event handlers are always attached before any properties are set for an object declared in XAML (excluding the Name property, which is set immediately after object construction). This enables appropriate events to be raised in response to properties being set, without worrying about the order of attributes used in XAML.
Recent Comments