TcxCustomSpinEditProperties.AssignedValues Property
Contains the property flags that indicate which properties specific to a spin editor have been changed.
Declaration
property AssignedValues: TcxSpinEditPropertiesValues read; write;
Property Value
Type |
---|
TcxSpinEditPropertiesValues |
Remarks
Use the AssignedValues property to track the changes made to a spin editor’s DisplayFormat, EditFormat, MaxLength, MaxValue, MinValue, ReadOnly and ValueType properties and undo them. Once the property being tracked is set to a value other than the default one, the changes are reflected in the AssignedValues property (its corresponding property flag is set to True). To undo the changes made and reverse the property back to its default value, set the corresponding property flag to False or call the AssignedValues.RestoreDefaults method to reverse all these properties back to their default values and reset all the property flags. Use the AssignedValues.BeginUpdate and AssignedValues.EndUpdate methods to control when the editor repaints and avoid any flickering when the property flags are modified.