Argentini.Halide.H3Controls.IsSelected C# (CSharp) Method

IsSelected() public static method

Determine by value if a specific ListControl ListItem is selected. Evaluations are case-insensitive. using Argentini.Halide; ... if (H3Controls.IsSelected(CheckBoxList1, "red")) { ... }
public static IsSelected ( ListControl listObject, String itemValue ) : System.Boolean
listObject System.Web.UI.WebControls.ListControl List Control (like a CheckBoxList).
itemValue String ListItem value which should be evaluated to determine if it is selected or not.
return System.Boolean
        public static Boolean IsSelected(ListControl listObject, String itemValue)
        {
            return IsSelected(listObject, itemValue, true);
        }

Same methods

H3Controls::IsSelected ( ListControl listObject, String itemValue, System.Boolean ignoreCase ) : System.Boolean