PathSelectionListBoolToSelectionState Method |
Returns a Checkstate for a given Boolean.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax public static CheckState BoolToSelectionState(
bool p_Value
)
Public Shared Function BoolToSelectionState (
p_Value As Boolean
) As CheckState
public:
static CheckState BoolToSelectionState(
bool p_Value
)
static member BoolToSelectionState :
p_Value : bool -> CheckState
Parameters
- p_Value
- Type: SystemBoolean
Boolean value.
Return Value
Type:
CheckStateCheckstate.Checked if p_value is true. If not, Checkstate.Unchecked is returned.
See Also