Table of Contents

Method ClearSelection

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ClearSelection(bool)

Clears current selection, if any.

bool ClearSelection(bool validation)

Parameters

validation bool

If set to false, deselecting the property will always work, even if its editor had invalid value in it.

Returns

bool

Returns true if successful or if there was no selection. May fail if validation was enabled and active editor had invalid value.