/syncfusion-winui:syncfusion-winui-shadowfrom Syncfusion WinUI Controls
Guide for implementing the Syncfusion WinUI Shadow (SfShadow) control to add depth and elevation effects to UI elements. Use this skill when implementing shadow effects, applying shadows to buttons/images/shapes, creating visual depth and elevation, or adding drop shadows for UI layering in WinUI 3. Covers installation, basic usage, and customization options including shadow color, blur, offset, and corner radius for material design depth effects.
Ships in Syncfusion WinUI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion WinUI Shadow control (SfShadow) applies customizable shadow effects to any framework element, creating visual depth and helping users distinguish overlapping UI elements. Shadow effects enhance the user interface by adding dimension and visual hierarchy following modern design principles.
Use the Shadow control when you need to:
Trigger keywords: shadow, SfShadow, depth, elevation, drop shadow, blur effect, visual depth, layering, material design, overlapping elements
Control: SfShadow
Namespace: Syncfusion.UI.Xaml.Core
NuGet Package: Syncfusion.Core.WinUI
Platform: WinUI 3 Desktop (.NET 5+)
📄 Read: references/getting-started.md
📄 Read: references/customization.md
XAML:
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="using:Syncfusion.UI.Xaml.Core">
<Grid>
<syncfusion:SfShadow>
<Button Height="50" Width="100" Content="Click Me"/>
</syncfusion:SfShadow>
</Grid>
</Page>
C#:
using Syncfusion.UI.Xaml.Core;
// Create shadow control
SfShadow shadow = new SfShadow();
// Create button
Button button = new Button();
button.Height = 50;
button.Width = 100;
button.Content = "Click Me";
// Add button to shadow
shadow.Content = button;
<syncfusion:SfShadow
Color="DarkBlue"
BlurRadius="10"
OffsetX="5"
OffsetY="5">
<Button Height="50" Width="120" Content="Action"/>
</syncfusion:SfShadow>
<syncfusion:SfShadow
BlurRadius="15"
OffsetX="0"
OffsetY="8"
ShadowCornerRadius="8">
<Border
Background="White"
CornerRadius="8"
Padding="20">
<TextBlock Text="Card Content"/>
</Border>
</syncfusion:SfShadow>
<syncfusion:SfShadow
BlurRadius="12"
OffsetX="4"
OffsetY="4">
<Image
Height="150"
Width="150"
Source="/Assets/photo.png"/>
</syncfusion:SfShadow>
<syncfusion:SfShadow
ShadowCornerRadius="25"
BlurRadius="8"
OffsetX="3"
OffsetY="3">
<Button
Height="50"
Width="50"
CornerRadius="25"
Content="+"
FontSize="24"/>
</syncfusion:SfShadow>
<StackPanel Orientation="Horizontal">
<syncfusion:SfShadow>
<Path Data="M44.5 4L54.0608 33.4114H85L59.9696 51.5886L69.5304 81L44.5 62.8228L19.4696 81L29.0304 51.5886L4 33.4114H34.9392L44.5 4Z"
Fill="#FFD700"/>
</syncfusion:SfShadow>
<!-- Repeat for more stars -->
</StackPanel>
<syncfusion:SfShadow EnableShadow="{Binding IsElevated}">
<Button Content="Toggle Shadow"/>
</syncfusion:SfShadow>
// Toggle shadow programmatically
shadow.EnableShadow = false; // Disable shadow
shadow.EnableShadow = true; // Enable shadow
| Property | Type | Default | Description |
|---|---|---|---|
Content | object | null | The UI element to apply shadow to |
Color | Color | Black (25% alpha) | Shadow color with transparency |
BlurRadius | double | 8 | Blur intensity (higher = softer shadow) |
ShadowCornerRadius | double | 0 | Corner radius of the shadow |
OffsetX | double | 4 | Horizontal shadow offset (+ = right, - = left) |
OffsetY | double | 4 | Vertical shadow offset (+ = down, - = up) |
EnableShadow | bool | true | Show or hide shadow effect |
Color:
BlurRadius:
Offsets:
ShadowCornerRadius:
Level 1 (Resting):
<syncfusion:SfShadow OffsetX="0" OffsetY="2" BlurRadius="4">
<Button Content="Resting"/>
</syncfusion:SfShadow>
Level 2 (Raised):
<syncfusion:SfShadow OffsetX="0" OffsetY="4" BlurRadius="8">
<Button Content="Raised"/>
</syncfusion:SfShadow>
Level 3 (Elevated):
<syncfusion:SfShadow OffsetX="0" OffsetY="8" BlurRadius="16">
<Button Content="Elevated"/>
</syncfusion:SfShadow>
<Button.Style>
<Style TargetType="Button">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<syncfusion:SfShadow x:Name="ButtonShadow" OffsetY="2" BlurRadius="4">
<ContentPresenter/>
</syncfusion:SfShadow>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="ButtonShadow" Property="OffsetY" Value="8"/>
<Setter TargetName="ButtonShadow" Property="BlurRadius" Value="16"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Button.Style>
<ItemsControl ItemsSource="{Binding Photos}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<syncfusion:SfShadow
BlurRadius="10"
OffsetX="4"
OffsetY="4"
Margin="10">
<Image Source="{Binding ImagePath}" Height="150" Width="150"/>
</syncfusion:SfShadow>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
ShadowCornerRadius without matching content's CornerRadiusShadow not visible:
EnableShadow is trueShadow appears clipped:
Performance issues:
Need more details? Read the reference files linked in the Navigation Guide above for comprehensive documentation and examples.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winui39 skills in this plugin
/syncfusion-winui-ai-assistviewGuide for implementing the Syncfusion WinUI AI AssistView control for creating AI chat interfaces and conversational UI. Use this skill when implementing AI chat interfaces, AI assistants, conversational UI, or chatbots in WinUI applications. Essential for creating AI-powered chat experiences, integrating AI services, displaying AI responses, showing typing indicators, providing AI suggestions, managing conversation history with a navigation view, customizing empty states with EmptyView/EmptyViewTemplate, or setting input placeholder text in conversational interfaces with AI services in WinUI./syncfusion-winui-autocompleteGuide implementation of the Syncfusion WinUI AutoComplete control (SfAutoComplete) for creating searchable dropdowns with single or multiple selection, filtering suggestions, and customizable token display. Use this skill when implementing search-as-you-type functionality, autocomplete dropdowns with multi-select, tagging systems with token/chip display, or filtered suggestion boxes in WinUI applications./syncfusion-winui-avatar-viewGuide for implementing the Syncfusion WinUI AvatarView control to display user avatars and profile pictures. Use this when implementing user profiles, contact lists, or chat interfaces requiring visual user representation in WinUI applications. This skill covers initials display, image avatars, group avatars, and pre-defined avatar characters./syncfusion-winui-badgeGuide implementation of the Syncfusion WinUI Badge control (SfBadge) for displaying notification badges and status indicators. Use this skill when working with badge notifications, unread count badges, BadgeContainer, or notification overlays in WinUI applications. Covers shapes, colors, positioning, alignment, animations, and customization patterns./syncfusion-winui-barcodeImplement Syncfusion WinUI Barcode (SfBarcode) control to generate and display machine-readable barcodes in desktop applications. Use this when working with barcodes, QR codes, or product labeling systems. This skill covers symbology types (DataMatrix, Code39, Code128, Codabar, UPC), barcode customization, text alignment, rotation, and visual encoding for WinUI applications./syncfusion-winui-busy-indicatorGuide for implementing the Syncfusion WinUI BusyIndicator control to display loading indicators and progress status. Use this skill when implementing loading indicators, showing progress status, indicating background operations, or creating waiting screens in WinUI applications. Essential for async data loading, file operations, API calls, and any scenario requiring user notification during processing tasks.