AttachedShadowElementContext Class
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.
Class which maintains the context of a Windows.UI.Composition.DropShadow for a particular Windows.UI.Xaml.UIElement linked to the definition of that shadow provided by the AttachedShadowBase implementation being used.
public sealed class AttachedShadowElementContext
type AttachedShadowElementContext = class
Public NotInheritable Class AttachedShadowElementContext
- Inheritance
-
AttachedShadowElementContext
Compositor |
Gets the Windows.UI.Composition.Compositor for this instance. |
Element |
Gets the Windows.UI.Xaml.FrameworkElement this instance is attached to |
Element |
Gets the Windows.UI.Composition.Visual for the Windows.UI.Xaml.FrameworkElement this instance is attached to. |
Is |
Gets a value indicating whether or not this AttachedShadowElementContext has been initialized. |
Parent |
Gets the AttachedShadowBase that contains this AttachedShadowElementContext. |
Shadow |
Gets the Windows.UI.Composition.DropShadow that is rendered on this instance's Element |
Sprite |
Gets the SpriteVisual that contains the Windows.UI.Composition.DropShadow for this instance |
Add |
Adds a resource to this instance's resource dictionary with the specified key |
Clear |
Disposes of any resources that implement IDisposable and then clears all resources |
Create |
Force early creation of this instance's resources, otherwise they will be created automatically when Element is loaded. |
Get |
Retries a resource with the specified key and type |
Remove |
Removes an existing resource with the specified key and type, and disposes it |
Remove |
Removes an existing resource with the specified key and type |
Try |
Retrieves a resource with the specified key and type if it exists |
Producto | Versiones |
---|---|
Windows Community Toolkit | 7.1.0 |