Skip to content

LinkedSelectListItem

Plain data carrier for a single chained-dropdown option, holding the value, display text, link value (used as the option's CSS class for client-side filtering), and whether it is currently selected.

Purpose

  • Plain data carrier for a single chained-dropdown option, holding the value, display text, link value (used as the option's CSS class for client-side filtering), and whether it is currently selected.

Context

  • Namespace: SAIF.Web.Mvc.UI.Extensions
  • Assembly/package: SAIF.Framework.Web.Mvc (source-shipping NuGet package)
  • Kind: class

Public members

Member Signature Purpose
Value public string Value { get; set; } The option's value attribute.
Text public string Text { get; set; } The option's visible text.
LinkValue public string LinkValue { get; set; } Value used as the option's CSS class, matched against the parent field's selected value by client-side script.
Selected public bool Selected { get; set; } Whether the option is pre-selected.

Sources

  • src/Web.Mvc/UI/Extensions/LinkedDropdownHelper.cs