AttachedShadowBase.GetShadowMask(AttachedShadowElementContext) Method
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.
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
- context
- AttachedShadowElementContext
Returns
A Windows.UI.Composition.CompositionBrush representing the shape of an element.