FlowR.Core/Tags/Controls/Select.cs
/// <summary>
///     Set Attribute selected as true or remove Attribute.
/// </summary>
/// <returns></returns>
Set Attribute selected as true or remove Attribute.
Set Attribute selected as true or remove Attribute .
public Option SetSelected(bool selected = true)
        {
            return selected
                    ? SetAttribute("selected", "true") as Option
                    : RemoveAttribute("selected") as Option
                ;
        }
public Option SetSelected ( bool selected = true ) { return selected ? SetAttribute ( " " , " " ) as Option : RemoveAttribute ( " " ) as Option ; }
Set Attribute selected as true or remove Attribute.
Set Attribute selected as true or remove Attribute .
None
selected
bool