Edit

Share via


AttachedShadowBase.GetShadowMask(AttachedShadowElementContext) Method

Definition

Get a Windows.UI.Composition.CompositionBrush in the shape of the element that is casting the shadow.

protected virtual Windows.UI.Composition.CompositionBrush GetShadowMask (Microsoft.Toolkit.Uwp.UI.AttachedShadowElementContext context);
abstract member GetShadowMask : Microsoft.Toolkit.Uwp.UI.AttachedShadowElementContext -> Windows.UI.Composition.CompositionBrush
override this.GetShadowMask : Microsoft.Toolkit.Uwp.UI.AttachedShadowElementContext -> Windows.UI.Composition.CompositionBrush
Protected Overridable Function GetShadowMask (context As AttachedShadowElementContext) As CompositionBrush

Parameters

Returns

Windows.UI.Composition.CompositionBrush

A Windows.UI.Composition.CompositionBrush representing the shape of an element.

Applies to