Visual Effects
Visual Effects provides interactive visual feedback using a material-design inspired ripple animation when the button is clicked.
Overview
Properties Table
Property
Type
Default Value
Description
Code Examples
Basic Integration
using System;
using System.Drawing;
using System.Windows.Forms;
using SiticoneNetFrameworkUI;
public class VisualEffectsDemoForm : Form
{
public VisualEffectsDemoForm()
{
// Instantiate the SiticoneDashboardButton control
SiticoneDashboardButton dashboardButton = new SiticoneDashboardButton
{
Text = "Click Me",
Size = new Size(250, 45),
Location = new Point(50, 50),
// Enable visual effects (ripple effect is enabled by default)
EnableRippleEffect = true,
// Set a custom ripple color
RippleColor = Color.FromArgb(255, 100, 100)
};
// Add the button to the form
Controls.Add(dashboardButton);
}
[STAThread]
public static void Main()
{
Application.EnableVisualStyles();
Application.Run(new VisualEffectsDemoForm());
}
}Advanced Customization
Key Points
Aspect
Details
Best Practices
Practice
Recommendation
Common Pitfalls
Pitfall
How to Avoid
Usage Scenarios
Scenario
Example Use Case
Review
Summary
Additional Resources
Resource
Description
Link/Reference
Last updated