Version

CommitEditValue Method (LabelPresenter)

Overridden. Called after OnEditModeEnding however before OnEditModeEnded. This is called after input validation succeeds to let the host know to commit the value. This implementation does nothing as label presenters do not enter edit mode.
Syntax
'Declaration
 
Protected Friend Overrides Function CommitEditValue( _
   ByVal editedValue As Object, _
   ByRef stayInEditMode As Boolean _
) As Boolean
protected internal override bool CommitEditValue( 
   object editedValue,
   out bool stayInEditMode
)

Parameters

editedValue
The edited value that is to be committed.
stayInEditMode
Whether the editor should cancel the operation of exitting edit mode.

Return Value

Returns true if commit succeeded, false otherwise.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also