Table of Contents

Enum SkinElementState

Namespace
VisioForge.Core.UI.Skins
Assembly
VisioForge.Core.dll

Defines the visual states that a skinned UI element can be in, determining which image or style variation to display.

public enum SkinElementState

Fields

Base = 0

The default state when the element is not being interacted with and is enabled.

Hover = 1

The state when the mouse cursor is hovering over the element but not clicking.

Pressed = 2

The state when the element is being actively pressed or clicked by the user.

Disabled = 3

The state when the element is disabled and cannot be interacted with by the user.

Remarks

These states represent the standard interaction states for UI controls and provide visual feedback to users. State transitions occur automatically based on user interaction:

  • VisioForge.Core.UI.Skins.SkinElementState.BaseVisioForge.Core.UI.Skins.SkinElementState.Hover when cursor enters the element
  • VisioForge.Core.UI.Skins.SkinElementState.HoverVisioForge.Core.UI.Skins.SkinElementState.Pressed when mouse button is pressed down
  • VisioForge.Core.UI.Skins.SkinElementState.PressedVisioForge.Core.UI.Skins.SkinElementState.Hover when mouse button is released
  • Any state → VisioForge.Core.UI.Skins.SkinElementState.Disabled when element becomes unavailable
Not all elements need to implement all states; the VisioForge.Core.UI.Skins.SkinElementState.Base state is typically required as the fallback.