GrapeCity MultiRow Windows Forms Documentation
DoActionReason Property (ValueProcess)


Gets or sets the reasons which can cause a CellValidateAction to execute.
Syntax
<SRDescriptionAttribute("Indicates the reasons that cause a CellValidateAction to execute.")>
<FlagEnumFilterAttribute()>
<DefaultValueAttribute()>
Public Shadows Property DoActionReason As ValidateReasons
Dim instance As ValueProcess
Dim value As ValidateReasons
 
instance.DoActionReason = value
 
value = instance.DoActionReason
[SRDescription("Indicates the reasons that cause a CellValidateAction to execute.")]
[FlagEnumFilter()]
[DefaultValue()]
public new ValidateReasons DoActionReason {get; set;}

Property Value

A bitwise combination of the ValidateReasons. The default is ValidateReasons.CellValidating.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe assigned value is not a valid ValidateReasons value.
System.InvalidOperationExceptionThe assigned value is not ValidateReasons.CellValidating or is not ValidateReasons.EndEdit or is not ValidateReasons.CellValidating |ValidateReasons.EndEdit.
Remarks

Indicates that the CellValidateAction is executed when the cell exits the edit mode, without the edited value being applied to the cell.

DoActionReason Values Description
1 - CellValidating Indicates that the CellValidateAction is executed during validation of the cell.
2 - RowValidating Indicates that the CellValidateAction is executed during validation of the rows.
4 - EndEdit Indicates that the CellValidateAction is executed when the cell exits the edit mode and the edited value is being applied to the cell.
8 - CancelEdit Indicates that the CellValidateAction is executed when the cell exits the edit mode, without the edited value being applied to the cell.
16 - CancelRow Indicates that the CellValidateAction is executed when the user cancels the edited value for the entire row by pressing the [Esc] key.
32 - EditedFormattedValueChanged Indicates that the CellValidateAction is executed when the user changes the value of the editing control, or the editing cell.
Requirements

Target Platforms: Windows 7, 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

Reference

ValueProcess Class
ValueProcess Members

 

 


Copyright © GrapeCity, inc. All rights reserved.