I\'m trying to format a Ultragridcell
using the following code and it works fine.
//Code
DefaultEditorOwnerSettings editorSettin
It seems that you think that MaskInput property supports all the formatting functionality provided by Composite Formatting, but I don't think that it is true.
The formatting available for MaskInput as far as I know are limited to only these provided by the UltraGrid Designer
.
Using the UltraGrid Designer
(right click on the UltraGrid control, select UltraGrid Designer) click on the Data Schema
and define a data schema in which one of the columns will be a DateTime column. Then go to the Bands and Column Settings
node, select columns and then the column defined as DateTime. In the properties window you can find the MaskInput property and its allowed values. You could try to experiment with the predefined masks and check if there is one that fits your requirements.
As I have said this is what I suppose to be true. I don't know if there is another advanced mode to set these properties at design time or at Runtime. If, someone from Infragistics, wants to add something to this answer would be welcome