In This Article

ShadowChromeRenderMode Enum

Specifies the render mode to use for a ShadowChrome.

public enum ShadowChromeRenderMode

Fields

Name Description
Default

Use fast, pure WPF rendering to render the shadow without any shader effects. This option should only be used when the ShadowChrome's child is rectangular.

ShaderEffectsPreferred

Use slower, but better-looking shader effects to render the shadow. On machines without graphics hardware acceleration, the Default render mode will be used instead.

ShaderEffectsRequired

Use slower, but better-looking shader effects to render the shadow. This option should be used when the ShadowChrome's child is non-rectangular since the Default render mode will not handle that scenario. On machines without graphics hardware acceleration, no shadows will be rendered.