📚
Siticone Docs
HomePricing PlansSuggest a FeatureMy LicenseChangelogDownloads
  • Dear Developer!
  • Quick Start Guide
    • Install Siticone UI Library
    • Register for 1 month free trial
    • Register for Premium License
  • Net Framework | Net Core UI
    • Input Controls
      • Siticone TextBox
        • Appearance and Styling
        • Text and Placeholder Config.
        • Input, Validation and Read-Only Behavior
        • User Interaction & Shortcuts
        • System Theme Integration
        • Events and Callbacks
      • Siticone TextArea
        • Always Multiline
        • Custom Font
        • Vertical Scrollbars
        • Border-less Design
        • Dynamic Resizing
        • Margin Spacing
      • Siticone CheckBox
        • Visual Style
        • State Management
        • Interaction Effects
        • Container Layout
        • Container Style
        • Container States
        • State Colors
        • Border Configuration
        • Layout
        • Focus Appearance
        • Text Property
        • Trigger Feedback
      • Siticone RadialButton
        • Appearance
        • Behavior
        • Layout Management
        • User Assistance
        • Animation Timing
        • Events and Callbacks
      • Siticone ToggleButton
        • Toggle Functionality
        • Appearance and Text
        • Border Settings
        • Corner Radius
        • Animation Settings
        • Ripple & Interaction Effects
        • Read-only and Feedback
        • Sizing and Layout
        • Context Menu Integration
        • State Persistence
        • Accessibility
        • Events and Callback
      • Siticone ToggleSwitch
        • Core Toggle Functionality
        • Appearance and Theming
        • Logging and Diagnostics
        • Interactive Effects
        • Labels and Icons
        • Audio Feedback
        • Thumb Customization
        • Animation Settings
        • Context Menu Integration
        • Tool-tip Capabilities
        • Events and Callbacks
      • Siticone UpDown
        • Behavior and Data Config
        • Appearance Customization
        • Feedback and Animation
        • Events and Callbacks
      • Siticone PhoneNumberBox
        • Page 1
        • Phone Number Config
        • Country Flag Display
        • Shadow Effects
        • Input Validation
        • Border and Background
        • Placeholder and Animation
        • Text & Cursor Customization
        • Font and Text Style
        • Corner and Fill Config
        • System Theme (Preview)
        • Public Methods & Text
        • Events and Callbacks
      • Siticone Otp
        • Security & Input Protection
        • Interactive Feedback
        • Input Validation
        • Box Appearance & Layout
        • Data Extraction & Display
        • State Analysis
        • Events and Callbacks
        • Additional Public Methods
    • Buttons and Elements
      • Siticone Button
        • Animation Effects
        • Theme & System Integration
        • User Assist & Interaction
        • Layout & Content
        • Visual Effects & Styling
        • Badge Configuration
        • Manage State & Behavior
        • Performance and Rendering
        • Events for Control Updates
      • Siticone TileButton
        • Animation Effects
        • Color Settings
        • Visual Style
        • Icon Settings
        • Advanced Styling
        • Badge Display
        • Loading Indicator
        • State Management
        • Tool-tip Settings
        • Accessibility
        • Corner Radius
      • Siticone ImageButton
        • Content Presentation
        • Interaction and Behavior
        • Feedback and Animations
        • Visual Style and Layout
        • Badge Features
        • Theme Integration
        • Events and Callbacks
      • Siticone MenuButton
        • Appearance and Visual Style
        • Icon Customization
        • Animation Features
        • Behavior and Interaction
        • Events and Callbacks
      • Siticone CloseButton
        • Appearance Customization
        • Animation and Visual Effects
        • Behavioral Settings
        • Accessibility Features
        • Tool-tip Configuration
        • Countdown Display Config
        • Events and Callbacks
      • Siticone CopyButton
        • Appearance & Visual Effects
        • Corner and Shape Config
        • Behavior & Target Copy
        • Notification Customization
        • Context Menu Customization
        • Accessibility Features
        • Events and Callbacks
      • Siticone DashboardButton
        • Visual Effects
        • Visual Appearance
        • Notification Badge
        • Selection Indicator
        • Layout and Text
        • State Management & Colors
        • Animation Settings
        • Shape Customization
        • Accessibility
        • User Interaction Events
      • Siticone NavBackButton
        • Behavior and Feedback
        • Visual Appearance
        • Dimensions & Icon Styling
        • Animation Effects
        • Visual Style Enhancements
        • Events and Callbacks
      • Siticone NavForwardBtn
        • Behavior & Read-Only Config
        • Icon Customization
        • Colors & Visual Feedback
        • Button Dimensions & Shape
        • Animation Features
        • Visual Style and Effects
        • Events for Animation
        • Control Overrides
        • Events and Callbacks
      • Siticone NotificationBtn
        • Tool-tip Features
        • Layout & Size Customization
        • Bell Appearance & Behavior
        • Badge (Count) Features
        • Interaction and Gesture
        • Visual Effects and Animation
        • Visual Style and Shadow
        • Additional Behavior Settings
        • Events for Feedback
        • Events and Callbacks
      • Siticone PlayPauseBtn
        • Progress Indicator
        • Animation Effects
        • Visual Style
        • Shape Customization
        • Shape Customization
        • Icon Customization
        • Behavior
        • Events and Callbacks
    • Container and Layout
      • Siticone Panel
        • Border Customization
        • Corner Curvature
        • Background Appearance
        • Gradient Effects
        • Interactive Ripple Effects
        • Backdrop Effects
        • Event Notifications
      • Siticone AdvancedPanel
        • Essential Styling
        • Motion and Animation
        • Color and Gradient
        • Depth and Shadow
        • Border Enhancements
        • Interactive States
        • Background Effects
        • Content Management
        • Events and Callback
      • Siticone FlatPanel
        • Appearance and Styling
        • Performance & Rendering
        • Design-Time Integration
      • Siticone FlowPanel
        • Appearance & Visual Effects
        • Layout Customization
        • Performance Optimization
        • Interaction and Behavior
        • Theme & DPI Integration
        • Events and Callbacks
      • Siticone Container
        • Color and Gradients
        • Border Design and Styling
        • Corner and Shape Config
        • Shadow & Elevation Effects
        • Interactive and Animations
        • Badge Configuration
        • Content Management
        • Context Menu Integration
        • Dragging and Interaction
        • Security and Feedback
        • Events and Callbacks
      • Siticone SplitContainer
        • Event Handling
        • Splitter Movement & Behavior
        • Animation & Smooth Drag
        • Appearance and Styling
        • State Management
        • Accessibility & Keyboard Navigation
        • Context Menu Integration
        • System Theme Integration
        • Drag and Drop Panel Reordering
      • Siticone GroupBox
        • Theming and Aesthetics
        • Border & Edge Effects
        • Text & Title Styling
        • Layout Configuration
        • Chevron Styling
        • Badge Config & Animation
        • Collapsible Features
        • Interaction Behavior & Events
        • Status Elements
      • Siticone NativeGroupBox
        • Border Customization
        • Appearance & Layout
      • Siticone DragPanel
        • Layout Customization
        • Appearance Customization
        • Rendering Quality
        • Interactive Behavior
      • Siticone Card
        • Color and Gradients
        • Border Config & Styling
        • Corner and Shape Config
        • Shadow and Elevation
        • Interactive Effects and Animations
        • Hover Effects
        • Visual Effects
        • Badge Configuration
        • Security and Feedback Settings
        • Dynamic Content & Context Menu
        • Drag-and-Drop Interaction
        • Front-Facing Events
      • Siticone TabControl
        • General Layout and Sizing
        • Appearance and Color Customization
        • Close Button Customization
        • Pin Functionality
        • Tab Management and Navigation
        • Animation and Visual Effects
        • Context Menu Customization
        • Events and Callbacks
      • Siticone Workbook (Preview)
    • Progress and Loading
      • Siticone HProgressBar
        • Rounded Corners & Shape Customization
        • Progress Value & Range Management
        • Orientation & Layout
        • Animation & Indeterminate Mode
        • Progress State Colors & Thresholds
        • Gradient & Bar Styling
        • Label & Tooltip Customization
        • Read‑Only Mode
        • Ripple Effects
        • User Experience Enhancements
        • System Theme Tracking
        • Events and Callbacks
      • Siticone VProgressBar
        • Appearance & Styling
        • Behavior, Animation & Interaction
        • System Integration & Events
      • Siticone HBarsProgress
        • Animation Control
        • Progress Value Management
        • Appearance and Styling
        • Display and Interaction
        • Events and Callbacks
      • Siticone VBarsProgress
        • Animation Features
        • Progress and Range Settings
        • Line Configuration
        • Color and Appearance
        • Display Options
        • User Interaction
        • Events and Callbacks
      • Siticone HLineProgress
        • Range Settings
        • Animation Settings
        • Color and Gradient Design
        • Visual Effects
        • Pulse Animation Settings
        • Corner Radius Customization
        • Page
      • Siticone VLineProgress
        • Range Settings
        • Animation Settings
        • Color and Gradient Customization
        • Background and Highlight Effects
        • Pulse Animation Settings
        • Corner Radius Settings
      • Siticone CircularSpinner
        • Visual Customization
        • Geometry and Layout
        • Motion and Animation
        • Progress Indication
        • Events
      • Siticone LoadingSpinner
        • General Control Methods & Events
        • Animation Settings
        • Appearance & Visual Customization
        • Progress Display Customization
        • Size & Radius Customization
        • Ring & Spoke Customization
        • Special Effects
        • Events and Callbacks
      • Siticone RadialProgress
        • Core Configuration
        • Visual Styling
        • Interaction and Control
        • Animation and Motion
        • Advanced Effects & Readonly State
        • Color Customization
        • Indeterminate Mode
        • Events
      • Siticone SmoothCSpinner
        • Appearance Customization
        • Animation Control
        • Arc Dimension Settings
      • Siticone SmoothLProgress
        • Dual-Bar Behavior
        • Visual Appearance
        • Motion Dynamics
        • Animation Control
    • Sliders and Range
      • Siticone HSlider
        • Appearance and Layout
        • Read-Only Customization
        • Visual Effects & Animations
        • Interaction & Behavior
        • Data Binding & State Management
        • Events & Accessibility
        • Built-In Context Menu Operations
      • Siticone VSlider
        • Data & Value Management
        • Appearance Customization
        • Read-Only Mode Appearance
        • Visual Effects & Animations
        • Interaction & Feedback Settings
        • Events & Event Handling
        • State Management
        • Accessibility & Data Binding Support
      • Siticone HTrackBar
        • Data & Value Management
        • Appearance Customization
        • Animation & Interaction Effects
        • Behavior & Interaction
        • Accessibility & Data Binding
        • Events
      • Siticone VTrackBar
        • Value and Range Configuration
        • Appearance Customization
        • Animation and Interaction Customization
        • Feedback Mechanisms
        • Context Menu and Tooltip Features
        • Accessibility and Keyboard Support
        • State Management and Data Binding
        • Events
      • Siticone HRangeSlider
        • Behavior & Value Management
        • Appearance Customization
        • User Interaction
        • Events
      • Siticone HRangeTrackBar
        • Behavior Settings
        • Appearance Settings
        • Event Handling
        • Built-In Context Menu Functionality
        • Keyboard and Mouse Interaction
    • Data Display and Grid
      • Siticone DataGrid
        • Data Management & Binding
        • Theming and Appearance Customization
        • Behavior & Interaction
        • Built-In Data Import/Export and Encryption
        • Search and Filtering Capabilities
        • Text Formatting and Cell Styling (Ribbon Toolbar)
        • User Interaction Enhancements
        • Events and Callbacks
      • Siticone Label
        • Text and Content
        • Transparent Background
        • Layout & Rendering Enhancements
        • Standard Layout Properties (Inherited)
      • Siticone LinkedLabel
        • Text and Link Behavior
        • Color Properties
        • Font and Appearance
        • Events
      • Siticone ShimmerLabel
        • Shimmer Appearance
        • Shimmer Behavior
        • Shimmer Text
    • Form Design Framework
      • Siticone Form
        • Window Behavior & Layout
        • Title Bar Customization
        • Control Box (Window Buttons) Customization
        • Theme and Appearance
        • Animation & Visual Effects
        • Events and Public Methods
      • Siticone EmptyForm
        • Visual Appearance & Styling
        • Rendering and Performance Enhancements
      • Siticone DragForm
        • Drag Functionality
        • Accessibility and Keyboard Navigation
        • Performance Optimizations
        • Appearance Customization
    • Gauges and Measurement
      • Siticone GaugeClock
        • Value Hand Customization
        • Core Appearance & Theme
        • Typography & Labeling
        • Gauge Configuration & Value Range
        • 3D Effects and Metallic Appearance
        • Visual Effects and Enhancements
        • Gradient Customization
        • Display & Format Options
        • Scale and Tick Mark Configuration
        • Animation & Interaction
        • Export/Import and Context Menu Options
        • Section Management
        • Events and Callbacks
      • Siticone GaugeDigital
        • Gauge Core Settings
        • LED Display Settings
        • Visual Style and Themes
        • 3D Effects
        • Lighting Effects
        • Typography and Scale
        • Custom Gradients and Texture
        • Animation and Interactivity
        • Context Menu Operations
        • Events
      • Siticone GaugeNumeric
        • Gauge Display & Value
        • Scale and Markers
        • Typography & Text
        • Color Customization
        • 3D and Special Effects
        • Interaction & Tool-tip
        • Additional Features & Events
      • Siticone GaugeZone
        • ZonePasswordForm (Password Dialog Control)
        • Control Features
    • Chip and Group Controls
      • Siticone Chip
        • Appearance & Color Scheme
        • Corner and Shape Customization
        • Visual Effects
        • Interaction & Behavior
        • Close Button Customization
        • Selection Indicator Customization
        • Visual Content
        • Events
      • Siticone GroupChip
        • Group Management
        • Visual Effects
        • State Colors
        • Close Button Styling & Layout
        • Selection Indicator
        • Visual Elements
        • Color Scheme
        • Border Customization
        • Corner Customization
        • Interactive Features
        • Animation Settings
        • Behavior
        • Events
      • Siticone GroupChipPanel
        • Drag-and-Drop Customization
        • Chip Selection Customization
        • Chip Management API
        • Chip Events
      • Siticone GroupButton
        • Material Design Effects
        • Surface Styling
        • Screen Reader Support
        • Alert System (Badge Features)
        • Selection and Interactive States
        • Selection Markers and Indicator Customization
        • Content Layout
        • Animation and Motion
        • Corner and Shape Customization
        • Events and Callbacks
    • Media and Graphics
      • Siticone Audio
        • Basic Behavior and State
        • Appearance Customization
        • Sound Wave Animation and Style
        • Visual Effects and Animations
        • Events and Callbacks
      • Siticone PictureBox
        • Image Loading and Display
        • Layout and Sizing
        • Shape and Border Config
        • Image Quality and Effects
        • Image Transformations
        • Slideshow Functionality
        • Interaction & Behavior
        • Performance & Display
      • Signature Pad
        • Context Menu Customization
        • Template Customization
        • Animation Features
        • Stroke Aesthetics and Dynamics
        • Input Processing and Guides
        • Visual Guides
        • Rendering Quality
        • Performance
        • User Experience
        • Public Methods for Signature Handling
        • Public Events for Integration
        • Events
    • Separator Controls
      • Siticone HSeparator
        • Segment Configuration
        • Line Multiplication
        • Visual Styling
      • Siticone VSeparator
        • Segment Configuration
        • Line Multiplication
        • Visual Styling
        • Enumerations
    • Utility Controls
      • Siticone BackgroundWkr
        • Worker Initialization and Configuration
        • Custom Progress Reporting Functionality
      • Siticone SystemInfo
        • System and Service Information
        • Security and User Information
        • Performance and Memory Metrics
        • System Hardware and Operating System Details
        • Peripherals and Additional Devices
        • Hardware (Detailed)
        • Display Details
        • Network Information
        • Configuration Options
        • Methods for Data Retrieval and Export
        • Events and Callbacks
      • Siticone TaskbarBadgeS.
        • Badge Display & Formatting
        • Animation Effects
        • Notification Effects
        • Flash / Highlight Effects
        • System Theme Integration
        • Parent Form Integration
        • Events and Callbacks
      • Siticone ThemeSwitcher
        • Layout and Spacing
        • Visual Effects and Animation
        • Icon Customization
        • Border and Corner Configuration
        • Color Scheme
        • Behavior and State
        • Accessibility
      • Siticone ThemeTracker
        • Theme and Accent Information
        • Theme Application and Automation
        • Theme & Accent Events
        • Initialization
      • Siticone IdGen
        • Unique ID Customization
        • Character Set Customization
        • ID Generation Strategy and Distribution Settings
        • ID Generation and Collision Handling
    • Data Formatting and Display
      • Siticone Humanizer Date..
        • Data Management
        • Formatting Settings
        • Calculation Options
        • Custom Translations
      • Siticone HumanizerDec..
        • Input Value Configuration
        • Automatic Humanized Output
        • Customizable Humanization
      • Siticone HumanizerFloat
        • Formatting Features
        • Validation Features
        • Currency Features
        • Localization Features
        • Value and Precision Features
        • Read-Only Display Features
        • Additional Public Methods
        • Enumerations (for Customization)
      • Siticone HumanizerInt
        • Core Number Conversion
        • Text Customization and Styling Options
        • Number Scale & Localization
        • Currency Features
        • Performance and Asynchronous Processing
        • Caching Mechanism and Management
        • Settings Change Notifications
      • Siticone HumanizerLong
        • Core Number Conversion
        • Formatting and Localization Options
        • Security and Data Integrity
        • Performance and Caching
        • Events for Developer Integration
    • Special Purpose Controls
      • Siticone CardNumber
        • Appearance Customization
        • Credit Card Specific Features
        • Input and Validation
        • Read-Only Customization
        • Shadow & Animation Effects
        • Selection and Text Editing
        • Context Menu Support
        • Credit Card Events
      • Siticone CopyUrl
        • URL Display and Core Functionality
        • Icon Management
        • Copy Button Customization
        • Text Styling
        • Background & Border Styling
        • Corner Styling
        • Animation Effects
        • Interaction Behavior
        • Notification System
        • Additional Built-In Features
      • Siticone Rating
        • Rating Functionality
        • Appearance Customization
        • Layout and Sizing Customization
        • Behavior Customization
        • Animation Customization
        • Focus and Accessibility Customization
        • Right‑Click Context Menu Customization
      • Siticone RatingEmoji
        • Theme Management
        • Emoji Customization
        • Visual Enhancement
        • Selection and Rating
        • Animation and Interaction Dynamics
        • User Feedback
        • Data Persistence
Powered by GitBook
On this page
  • Overview
  • Key Points
  • Best Practices
  • Common Pitfalls
  • Usage Scenarios
  • Real Life Usage Scenarios
  • Troubleshooting Tips
  • Review
  • Summary
  • Integration Demo
  • API Reference
  1. Net Framework | Net Core UI
  2. Gauges and Measurement
  3. Siticone GaugeNumeric

3D and Special Effects

A control feature that enables advanced visual enhancements—including 3D rendering, metallic surfaces, glass overlays, shadows, reflections, and dynamic visual effects—to enhance the gauge’s realism.

Overview

The 3D and Special Effects feature provides a suite of properties and methods that allow developers to apply realistic 3D rendering and various visual enhancements to the gauge. By toggling options such as Use3DEffect, UseMetallicEffect, and UseGlassEffect, and adjusting associated parameters (e.g., MetalBaseColor, RimThickness, BevelDepth, and Glossiness), the gauge can simulate depth, reflections, and other advanced visual effects. Additional settings control shadow, reflection, inner shadow, neon glow, pulse animation, dynamic lighting, texture overlay, and blur effects to tailor the gauge's appearance for different application themes and performance requirements.


Key Points

Aspect
Description
Code Reference / Example

3D Rendering Toggle

Enables the overall 3D rendering of the gauge, activating additional visual enhancements such as metallic and bevel effects.

csharp\nmyGauge.Use3DEffect = true;

Metallic Effects

Provides a metallic surface look using properties such as MetalBaseColor, RimThickness, and UseMetallicEffect, along with bevel adjustments.

csharp\nmyGauge.MetalBaseColor = Color.FromArgb(180, 180, 180);\nmyGauge.RimThickness = 10f;\nmyGauge.UseMetallicEffect = true;\nmyGauge.BevelDepth = 2;

Glass Overlay

Adds a glass reflection effect over the gauge dial with controllable intensity using UseGlassEffect and Glossiness.

csharp\nmyGauge.UseGlassEffect = true;\nmyGauge.Glossiness = 0.7f;

Shadow and Reflection Effects

Configures external shadows with UseShadowEffect, ShadowColor, ShadowOffset, and ShadowOpacity, and reflections with UseReflection and ReflectionOpacity.

csharp\nmyGauge.UseShadowEffect = true;\nmyGauge.ShadowColor = Color.Black;\nmyGauge.ShadowOffset = 5;\nmyGauge.ShadowOpacity = 0.6f;\nmyGauge.UseReflection = true;\nmyGauge.ReflectionOpacity = 0.5f;

Additional Special Effects

Controls neon glow (UseNeonEffect, NeonIntensity), inner shadow (UseInnerShadow, InnerShadowDepth), pulse animation (UsePulseAnimation, PulseIntensity), dynamic lighting (UseDynamicLighting, AmbientLightIntensity), texture overlay (UseTexture, TextureStyle), and blur (UseBlurEffect, BlurRadius).

csharp\nmyGauge.UseNeonEffect = true;\nmyGauge.NeonIntensity = 0.5f;\nmyGauge.UseInnerShadow = true;\nmyGauge.InnerShadowDepth = 5f;\nmyGauge.UsePulseAnimation = true;\nmyGauge.PulseIntensity = 0.2f;\nmyGauge.UseDynamicLighting = true;\nmyGauge.AmbientLightIntensity = 0.5f;\nmyGauge.UseTexture = true;\nmyGauge.TextureStyle = HatchStyle.LightDownwardDiagonal;\nmyGauge.UseBlurEffect = true;\nmyGauge.BlurRadius = 5;


Best Practices

Recommendation
Details
Example / Explanation

Enable 3D Effects Selectively

Use the 3D and special effects only when the enhanced visuals are required, as excessive effects might impact performance or distract from key data.

csharp\n// Enable 3D effects only for high-end dashboards\nmyGauge.Use3DEffect = true;\nmyGauge.UseMetallicEffect = true;\nmyGauge.UseGlassEffect = true;

Balance Visual Enhancements

Adjust properties like BevelDepth, Glossiness, and RimThickness to achieve a realistic yet unobtrusive appearance that complements the overall UI.

csharp\nmyGauge.BevelDepth = 2;\nmyGauge.Glossiness = 0.6f;\nmyGauge.RimThickness = 8f;

Tune Special Effects for Readability

When using neon, shadow, or blur effects, ensure that these do not obscure the gauge’s primary data by fine-tuning intensities and opacities.

csharp\nmyGauge.NeonIntensity = 0.4f;\nmyGauge.ShadowOpacity = 0.5f;\nmyGauge.BlurRadius = 3;


Common Pitfalls

Issue
Details
Resolution / Code Example

Overusing Visual Effects

Applying too many effects at once (e.g., high neon intensity with heavy blur) can clutter the display and affect performance.

Gradually enable effects and test performance; for instance, start with moderate neon intensity and adjust: csharp\nmyGauge.NeonIntensity = 0.3f; // Avoid 1.0 intensity which might be too strong

Inconsistent 3D Appearance

Setting conflicting 3D properties (such as mismatched metallic and glass settings) may lead to a disjointed look.

Ensure that related properties are coordinated; for example, if using metallic effects, choose a complementary MetalBaseColor and appropriate RimThickness: csharp\nmyGauge.MetalBaseColor = Color.Gray;\nmyGauge.RimThickness = 8f;

Performance Degradation

Extensive use of dynamic effects (e.g., dynamic lighting, blur, and pulse animations) may slow down rendering on lower-end hardware.

Profile performance and consider disabling non-critical effects on lower-performance systems by setting properties like UseDynamicLighting and UseBlurEffect to false.


Usage Scenarios

Scenario
Description
Sample Code

High-End Dashboard

Use comprehensive 3D and special effects to create a visually rich gauge for premium applications where performance is less of a concern.

csharp\n// Configure gauge with full 3D and special effects for a high-end dashboard\nmyGauge.Use3DEffect = true;\nmyGauge.UseMetallicEffect = true;\nmyGauge.MetalBaseColor = Color.Silver;\nmyGauge.RimThickness = 10f;\nmyGauge.BevelDepth = 2;\nmyGauge.UseGlassEffect = true;\nmyGauge.Glossiness = 0.7f;\nmyGauge.UseShadowEffect = true;\nmyGauge.ShadowOpacity = 0.6f;\nmyGauge.UseReflection = true;\nmyGauge.ReflectionOpacity = 0.5f;\nmyGauge.UseNeonEffect = true;\nmyGauge.NeonIntensity = 0.5f;

Performance-Critical Application

For applications where performance is key, enable only essential 3D effects and disable dynamic effects such as blur or pulse animations.

csharp\n// Minimal 3D effects for performance-sensitive applications\nmyGauge.Use3DEffect = true;\nmyGauge.UseMetallicEffect = true;\nmyGauge.BevelDepth = 1;\nmyGauge.UseGlassEffect = false;\nmyGauge.UseShadowEffect = true;\nmyGauge.ShadowOpacity = 0.4f;\nmyGauge.UseNeonEffect = false;\nmyGauge.UseDynamicLighting = false;\nmyGauge.UseBlurEffect = false;

Thematic Customization

Adjust the 3D and special effects to match a specific theme (e.g., futuristic, industrial, or classic) by carefully selecting color and effect intensities.

csharp\n// Futuristic theme settings\nmyGauge.Use3DEffect = true;\nmyGauge.UseMetallicEffect = true;\nmyGauge.MetalBaseColor = Color.LightSteelBlue;\nmyGauge.RimThickness = 8f;\nmyGauge.BevelDepth = 2;\nmyGauge.UseGlassEffect = true;\nmyGauge.Glossiness = 0.8f;\nmyGauge.UseNeonEffect = true;\nmyGauge.NeonIntensity = 0.7f;


Real Life Usage Scenarios

Scenario
Description
Sample Integration Code

Premium Financial Dashboard

In a high-end financial dashboard, applying metallic and glass effects can give the gauge a polished, professional look while displaying performance metrics.

csharp\n// Premium dashboard configuration with full 3D effects\nmyGauge.Use3DEffect = true;\nmyGauge.UseMetallicEffect = true;\nmyGauge.MetalBaseColor = Color.Silver;\nmyGauge.RimThickness = 10f;\nmyGauge.BevelDepth = 2;\nmyGauge.UseGlassEffect = true;\nmyGauge.Glossiness = 0.7f;\nmyGauge.UseShadowEffect = true;\nmyGauge.ShadowOpacity = 0.6f;

Industrial Control Panel

For an industrial application, subtle 3D effects and clear shadows help in reading critical data under various lighting conditions without compromising performance.

csharp\n// Industrial control panel settings\nmyGauge.Use3DEffect = true;\nmyGauge.UseMetallicEffect = true;\nmyGauge.MetalBaseColor = Color.DarkGray;\nmyGauge.RimThickness = 8f;\nmyGauge.BevelDepth = 1;\nmyGauge.UseGlassEffect = false;\nmyGauge.UseShadowEffect = true;\nmyGauge.ShadowColor = Color.Black;\nmyGauge.ShadowOffset = 3;\nmyGauge.ShadowOpacity = 0.5f;

Modern Healthcare Display

In a healthcare device, using a combination of subtle glass overlays and soft shadows can create an easy-to-read, modern gauge without distracting neon effects.

csharp\n// Healthcare gauge configuration\nmyGauge.Use3DEffect = true;\nmyGauge.UseMetallicEffect = false;\nmyGauge.UseGlassEffect = true;\nmyGauge.Glossiness = 0.65f;\nmyGauge.UseShadowEffect = true;\nmyGauge.ShadowOpacity = 0.4f;\nmyGauge.UseNeonEffect = false;


Troubleshooting Tips

Tip
Explanation
Action

Confirm Property Dependencies

Some 3D effects rely on others (e.g., metallic effect depends on Use3DEffect being true); ensure that all necessary toggles are enabled.

Verify that related properties are set together, e.g., if enabling UseMetallicEffect, also set Use3DEffect to true:csharp\nmyGauge.Use3DEffect = true;\nmyGauge.UseMetallicEffect = true;

Balance Special Effects Intensities

Overly high values for properties like NeonIntensity or Glossiness can overwhelm the display; moderate these values for best results.

Experiment with lower intensity values:csharp\nmyGauge.NeonIntensity = 0.4f;\nmyGauge.Glossiness = 0.6f;

Check Performance Impact

Extensive use of effects such as blur or dynamic lighting may slow down rendering; test on target hardware and disable non-critical effects if needed.

Use performance profiling tools and consider disabling effects such as UseBlurEffect or UseDynamicLighting on lower-end systems:csharp\nmyGauge.UseBlurEffect = false;


Review

Aspect
Comments
Suggestions

Visual Enhancement

Provides a wide range of customizable visual enhancements to create realistic and engaging gauges.

Developers should balance the number and intensity of effects to prevent visual clutter and performance issues.

Flexibility and Customization

The feature offers granular control over various 3D and special effects, making it adaptable for multiple themes and performance requirements.

Consider creating theme presets that group related properties (e.g., a “futuristic” theme preset) for quick configuration.

Integration Complexity

While powerful, the numerous properties may require careful tuning to ensure a coherent look without overwhelming the gauge’s primary data.

Refer to the provided integration samples and best practices to achieve a harmonious visual appearance.


Summary

Summary Point
Description

Feature Overview

Provides advanced 3D rendering and special visual effects, including metallic surfaces, glass overlays, shadows, reflections, and dynamic enhancements.

Core Properties

Key properties include Use3DEffect, MetalBaseColor, RimThickness, UseMetallicEffect, BevelDepth, UseGlassEffect, Glossiness, and others.

Integration and Customization

Enables detailed customization through straightforward property assignments to achieve the desired look while balancing performance and clarity.

Best Practices and Troubleshooting

Adjust related properties in tandem, moderate intensity values, and test on target hardware to ensure optimal visual performance and appearance.


Integration Demo

Below is a complete sample code snippet to demonstrate how to integrate and customize the 3D and Special Effects feature into a WinForms application:

using System;
using System.Drawing;
using System.Windows.Forms;
using SiticoneNetFrameworkUI; // Use the namespace from your provided code

public class ThreeDEffectsDemoForm : Form
{
    private SiticoneGaugeNumeric myGauge;
    private Button toggleEffectsButton;
    
    public ThreeDEffectsDemoForm()
    {
        // Initialize the gauge with 3D and special effects settings
        myGauge = new SiticoneGaugeNumeric
        {
            MinValue = 0f,
            MaxValue = 100f,
            Value = 50f,
            AnimationSpeed = 5f,
            ShowAnimation = true,
            Size = new Size(300, 300),
            Location = new Point(50, 30),
            
            // Enable 3D effects and set metallic appearance
            Use3DEffect = true,
            UseMetallicEffect = true,
            MetalBaseColor = Color.Silver,
            RimThickness = 10f,
            BevelDepth = 2,
            
            // Enable glass overlay effect
            UseGlassEffect = true,
            Glossiness = 0.7f,
            
            // Configure shadow and reflection effects
            UseShadowEffect = true,
            ShadowColor = Color.Black,
            ShadowOffset = 5,
            ShadowOpacity = 0.6f,
            UseReflection = true,
            ReflectionOpacity = 0.5f,
            
            // Enable additional special effects
            UseNeonEffect = true,
            NeonIntensity = 0.5f,
            UsePulseAnimation = true,
            PulseIntensity = 0.2f,
            UseDynamicLighting = true,
            AmbientLightIntensity = 0.5f,
            UseTexture = true,
            TextureStyle = System.Drawing.Drawing2D.HatchStyle.LightDownwardDiagonal,
            UseBlurEffect = true,
            BlurRadius = 5
        };
        
        // Initialize a button to toggle some 3D effect properties for demonstration
        toggleEffectsButton = new Button
        {
            Text = "Toggle Effects",
            Location = new Point(50, 350),
            Width = 150
        };
        toggleEffectsButton.Click += ToggleEffectsButton_Click;
        
        // Add controls to the form
        Controls.Add(myGauge);
        Controls.Add(toggleEffectsButton);
    }
    
    private void ToggleEffectsButton_Click(object sender, EventArgs e)
    {
        // Example: Toggle the neon effect on and off
        myGauge.UseNeonEffect = !myGauge.UseNeonEffect;
        myGauge.Invalidate();  // Force the gauge to redraw with updated effects
    }
    
    [STAThread]
    static void Main()
    {
        Application.EnableVisualStyles();
        Application.Run(new ThreeDEffectsDemoForm());
    }
}

API Reference

Member
Type
Description

Use3DEffect

bool

Enables or disables 3D rendering effects on the gauge.

MetalBaseColor

Color

Gets or sets the base color for metallic effects on the gauge.

RimThickness

float

Determines the thickness of the 3D rim effect.

UseMetallicEffect

bool

Enables or disables the metallic surface effect.

BevelDepth

int

Sets the depth of the bevel effect around the gauge dial.

UseGlassEffect

bool

Enables or disables the glass overlay effect on the gauge.

Glossiness

float

Controls the intensity of the glass reflection effect (0.0 to 1.0).

UseShadowEffect

bool

Enables or disables the drop shadow effect.

ShadowColor

Color

Gets or sets the color of the shadow effect.

ShadowOffset

int

Determines the offset of the shadow effect in pixels.

ShadowOpacity

float

Sets the opacity of the shadow effect (0.0 to 1.0).

UseReflection

bool

Enables or disables the reflection effect.

ReflectionOpacity

float

Controls the opacity of the reflection effect (0.0 to 1.0).

InnerShadowDepth

float

Sets the depth of the inner shadow effect.

UseNeonEffect

bool

Enables or disables the neon glow effect.

NeonIntensity

float

Controls the intensity of the neon effect (0.0 to 1.0).

UsePulseAnimation

bool

Enables or disables the pulse animation effect.

PulseIntensity

float

Controls the intensity of the pulse animation (0.0 to 1.0).

UseDynamicLighting

bool

Enables or disables dynamic lighting effects.

AmbientLightIntensity

float

Sets the intensity of the ambient lighting effect (0.0 to 1.0).

UseTexture

bool

Enables or disables the texture overlay effect.

TextureStyle

HatchStyle

Specifies the hatch style for the texture overlay.

UseBlurEffect

bool

Enables or disables the blur effect.

BlurRadius

int

Sets the radius of the blur effect in pixels.

LightSource

Point

Defines the position of the light source for dynamic lighting effects.


This documentation provides a thorough guide for integrating and customizing the 3D and Special Effects feature in your WinForms applications. Use the provided code examples, tables, and best practices to fine-tune the visual enhancements for a realistic and engaging gauge display.

PreviousColor CustomizationNextInteraction & Tool-tip

Last updated 4 months ago