콘텐츠로 이동

Design.IsPreviewMode property

이 콘텐츠는 아직 번역되지 않았습니다.

Gets whether this process is running as an editor preview session; false everywhere else.

public static bool IsPreviewMode { get; }

Set by the preview session assembly before Main (module initializer), so entry-point code can guard side effects (network, database) before the UI runtime exists.