GrapeCity MultiRow Windows Forms Documentation
Reason Property


Represents the Cell's Cell.EditedFormattedValue reason for the change.
Syntax
Public ReadOnly Property Reason As String
Dim instance As CellEditedFormattedValueChangedEventArgs
Dim value As String
 
value = instance.Reason
public string Reason {get;}

Property Value

A System.String value that represents the Cell's Cell.EditedFormattedValue reason for the change.
Remarks

Different cell types may have different reasons for changing the Cell.EditedFormattedValue. For example the TextBoxCell's reason is "TextChanged", but the DateTimePickerCell's reason is "ValueChanged".

The Cell.EditedFormattedValue may be changed for more than one reason with some cells. For example, the ComboBoxCell's reason can be "TextChanged" and "SelectedIndexChanged". Sometimes, one action may cause the GcMultiRow.CellEditedFormattedValueChanged event to fire more than one time.

The following table lists the cells with the edited, formatted value change.

Cell Type Reason
TextBoxCell "TextChanged"
ComboBoxCell "TextChanged" or "SelectedIndexChanged"
CheckBoxCell "EditingCellValueChanged"
DateTimePickerCell "ValueChanged"
DomainUpDownCell "TextChanged"
MaskedTextBoxCell "TextChanged"
NumericUpDownCell "TextChanged"
PopupCell "TextChanged"
RadioGroupCell "EditingCellValueChanged"
RichTextBoxCell "TextChanged"
TrackBorCell "EditingCellValueChanged"
Custom Cells "Unknown"

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

CellEditedFormattedValueChangedEventArgs Class
CellEditedFormattedValueChangedEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.