- case null:
- case var s when s == ControlState.Normal:
- return Normal != null? Normal : Other;
- case var s when s == ControlState.Focused:
- return Focused != null? Focused : Other;
- case var s when s == ControlState.Pressed:
- return Pressed != null? Pressed : Other;
- case var s when s == ControlState.Disabled:
- return Disabled != null? Disabled : Other;
- case var s when s == ControlState.Selected:
- return Selected != null? Selected : Other;
- case var s when s == ControlState.DisabledFocused:
- return DisabledFocused != null? DisabledFocused : (Disabled != null ? Disabled : Other);
- case var s when s == ControlState.DisabledSelected:
- return DisabledSelected != null ? DisabledSelected : (Disabled != null ? Disabled : Other);
- case var s when s == ControlState.SelectedFocused:
- return SelectedFocused != null ? SelectedFocused : (Selected != null ? Selected : Other);
- default: