Returns a Checkstate for a given Boolean.
| C# | Visual Basic | Visual C++ |
public static CheckState BoolToSelectionState( bool p_Value )
Public Shared Function BoolToSelectionState ( _ p_Value As Boolean _ ) As CheckState
public: static CheckState BoolToSelectionState( bool p_Value )
- p_Value (Boolean)
- Boolean value.
Checkstate.Checked if p_value is true. If not, Checkstate.Unchecked is returned.