GrapeCity MultiRow Windows Forms Documentation
FormattedValue Property (DateTimePickerEditingControl)


Gets or sets the formatted value of the editing control.
Syntax
Public Overridable Property FormattedValue As Object
Dim instance As DateTimePickerEditingControl
Dim value As Object
 
instance.FormattedValue = value
 
value = instance.FormattedValue
public virtual object FormattedValue {get; set;}

Property Value

A System.Object that represents the editing value of the editing control.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionThe assigned value is not a System.DateTime type.
Remarks
The System.Windows.Forms.DateTimePicker.Value property contains the actual data contained in the control. The property is automatically initialized when the editing control is installed in GcMultiRow. If the value of the cell is a null reference (Nothing in Visual Basic) or String.Empty or DBNull.Value, the value is initialized to DateTime.Now.
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

DateTimePickerEditingControl Class
DateTimePickerEditingControl Members

 

 


Copyright © GrapeCity, inc. All rights reserved.