XamlLanguage.SynchronousMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a XamlDirective that enables loading XAML asynchronously if the XAML processor supports such a mode.
public:
static property System::Xaml::XamlDirective ^ SynchronousMode { System::Xaml::XamlDirective ^ get(); };
public static System.Xaml.XamlDirective SynchronousMode { get; }
static member SynchronousMode : System.Xaml.XamlDirective
Public Shared ReadOnly Property SynchronousMode As XamlDirective
Property Value
A XamlDirective that enables loading XAML asynchronously.
Remarks
A SynchronousMode
directive (when set to Async
) is used to specify that when a XAML file is loaded, the root node is processed first. The resulting object can be inserted even though its content is still processing. In this mode you can bypass the default XAML processing behavior of working from deepest node to the root. In the default processing logic for XAML, any caller that is waiting for the root object is blocked until the full parse is complete. SynchronousMode
is not specified in [MS-XAML] but is part of the x
namespace-defined behavior for XAML in WPF beginning in .NET Framework version 3.5 with SP1 (or any subsequent service pack).
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기